Skip to content

Commit 9e4bcf3

Browse files
committed
test BuiltStyledStreamWriter too
1 parent 9243d60 commit 9e4bcf3

File tree

1 file changed

+14
-7
lines changed

1 file changed

+14
-7
lines changed

test/runjsontests.py

Lines changed: 14 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -147,16 +147,23 @@ def main():
147147
else:
148148
input_path = None
149149
status = runAllTests(jsontest_executable_path, input_path,
150-
use_valgrind=options.valgrind,
151-
with_json_checker=options.with_json_checker,
152-
writerClass='StyledWriter')
150+
use_valgrind=options.valgrind,
151+
with_json_checker=options.with_json_checker,
152+
writerClass='StyledWriter')
153153
if status:
154154
sys.exit(status)
155155
status = runAllTests(jsontest_executable_path, input_path,
156-
use_valgrind=options.valgrind,
157-
with_json_checker=options.with_json_checker,
158-
writerClass='StyledStreamWriter')
159-
sys.exit(status)
156+
use_valgrind=options.valgrind,
157+
with_json_checker=options.with_json_checker,
158+
writerClass='StyledStreamWriter')
159+
if status:
160+
sys.exit(status)
161+
status = runAllTests(jsontest_executable_path, input_path,
162+
use_valgrind=options.valgrind,
163+
with_json_checker=options.with_json_checker,
164+
writerClass='BuiltStyledStreamWriter')
165+
if status:
166+
sys.exit(status)
160167

161168
if __name__ == '__main__':
162169
main()

0 commit comments

Comments
 (0)