From 5aa146e1ce58d295b5f45446bbbbdbb30c8e557d Mon Sep 17 00:00:00 2001 From: David Robillard Date: Sun, 8 Aug 2021 14:24:59 -0400 Subject: 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. --- test/meson.build | 10 ++++------ test/run_test_suite.py | 2 +- 2 files changed, 5 insertions(+), 7 deletions(-) (limited to 'test') 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 -- cgit v1.2.1