diff options
author | David Robillard <d@drobilla.net> | 2021-08-08 14:24:59 -0400 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2022-01-28 21:57:07 -0500 |
commit | 5aa146e1ce58d295b5f45446bbbbdbb30c8e557d (patch) | |
tree | c8b49564b251bf2c3ff63bbfdc932986bea8d0b6 /test | |
parent | baa2e4e768f542953144cfa6ebe5713ecad389fc (diff) | |
download | serd-5aa146e1ce58d295b5f45446bbbbdbb30c8e557d.tar.gz serd-5aa146e1ce58d295b5f45446bbbbdbb30c8e557d.tar.bz2 serd-5aa146e1ce58d295b5f45446bbbbdbb30c8e557d.zip |
Replace serdi -b and -e options with a block size option
This is more powerful, and reduces the number of command line options that
almost nobody needs to care about.
Diffstat (limited to 'test')
-rw-r--r-- | test/meson.build | 10 | ||||
-rwxr-xr-x | test/run_test_suite.py | 2 |
2 files changed, 5 insertions, 7 deletions
diff --git a/test/meson.build b/test/meson.build index 67907c25..898062f0 100644 --- a/test/meson.build +++ b/test/meson.build @@ -86,6 +86,10 @@ if get_option('utils') ['-G', '?s ?p ?o . ?q ?r ?s .', '-s', ''], ['-G', 'bad_pattern', '-s', ''], ['-I'], + ['-b'], + ['-b', '-1'], + ['-b', '9223372036854775807'], + ['-b', '1024junk'], ['-c'], ['-i', 'unknown'], ['-i', 'turtle'], @@ -201,12 +205,6 @@ if get_option('utils') # IO errors test('read_dir', serdi, - args: ['-e', meson.source_root()], - env: test_env, - should_fail: true, - suite: 'io_errors') - - test('bulk_read_dir', serdi, args: [meson.source_root()], env: test_env, should_fail: true, diff --git a/test/run_test_suite.py b/test/run_test_suite.py index d6772014..0d865c1f 100755 --- a/test/run_test_suite.py +++ b/test/run_test_suite.py @@ -224,7 +224,7 @@ def test_suite( self.n_failures = 0 def run_tests(test_class, tests, expected_return, results): - thru_flags = [["-e"], ["-f"], ["-b"], ["-r", "http://example.org/"]] + thru_flags = [["-f"], ["-b", "1"], ["-r", "http://example.org/"]] thru_options_iter = _option_combinations(thru_flags) if output_syntax is not None: osyntax = output_syntax |