Cleanup test configurations

This commit is contained in:
Jordan Bayles 2019-11-14 10:52:13 -08:00 committed by Christopher Dunn
parent 9e23f66f61
commit b349221938
2 changed files with 4 additions and 3 deletions

View File

@ -103,7 +103,7 @@ test(
'-B', '-B',
join_paths(meson.current_source_dir(), 'test/runjsontests.py'), join_paths(meson.current_source_dir(), 'test/runjsontests.py'),
jsontestrunner, jsontestrunner,
join_paths(meson.current_source_dir(), 'test/data')] join_paths(meson.current_source_dir(), 'test/data')],
) )
test( test(
'jsonchecker_jsontestrunner', 'jsonchecker_jsontestrunner',
@ -113,5 +113,6 @@ test(
join_paths(meson.current_source_dir(), 'test/runjsontests.py'), join_paths(meson.current_source_dir(), 'test/runjsontests.py'),
'--with-json-checker', '--with-json-checker',
jsontestrunner, jsontestrunner,
join_paths(meson.current_source_dir(), 'test/data')] join_paths(meson.current_source_dir(), 'test/data')],
workdir : join_paths(meson.current_source_dir(), 'test/data'),
) )

View File

@ -84,7 +84,7 @@ def runAllTests(jsontest_executable_path, input_dir = None,
10, # fails because we allow extra values after close 10, # fails because we allow extra values after close
13, # fails because we allow leading zeroes in numbers 13, # fails because we allow leading zeroes in numbers
18, # fails because we allow deeply nested values 18, # fails because we allow deeply nested values
25, # fails because we allow tab characters in strings. 25, # fails because we allow tab characters in strings
27, # fails because we allow string line breaks 27, # fails because we allow string line breaks
]] ]]
test_jsonchecker = [ test for test in all_tests test_jsonchecker = [ test for test in all_tests