diff options
author | David Robillard <d@drobilla.net> | 2021-07-27 19:01:45 -0400 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2022-01-14 19:37:51 -0500 |
commit | 1159aea45d9bc4ade2e82856be403d58e050f32d (patch) | |
tree | 870117b2a0a4b386727107bd85c736a020058309 /test/meson.build | |
parent | 89612ec05f596d135640413e093251fb9691ca14 (diff) | |
download | serd-1159aea45d9bc4ade2e82856be403d58e050f32d.tar.gz serd-1159aea45d9bc4ade2e82856be403d58e050f32d.tar.bz2 serd-1159aea45d9bc4ade2e82856be403d58e050f32d.zip |
Add statement filtering
Diffstat (limited to 'test/meson.build')
-rw-r--r-- | test/meson.build | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/test/meson.build b/test/meson.build index e8392559..67907c25 100644 --- a/test/meson.build +++ b/test/meson.build @@ -77,6 +77,14 @@ if get_option('utils') bad_args = [ ['/no/such/file'], ['ftp://unsupported.org'], + ['-F', '', '-G', ''], + ['-F'], + ['-F', '?s ?p ?o . ?q ?r ?s .', '-s', ''], + ['-F', '?s ?p ?o .\n?q ?r ?s .\n', '-s', ''], + ['-F', 'bad_pattern', '-s', ''], + ['-G'], + ['-G', '?s ?p ?o . ?q ?r ?s .', '-s', ''], + ['-G', 'bad_pattern', '-s', ''], ['-I'], ['-c'], ['-i', 'unknown'], @@ -135,6 +143,16 @@ if get_option('utils') env: test_env, suite: ['serdi', 'options']) + test('filter', files('test_filter.py'), + args: script_args, + env: test_env, + suite: ['serdi', 'options']) + + test('grep', files('test_grep.py'), + args: script_args, + env: test_env, + suite: ['serdi', 'options']) + # Inputs test('stdin', files('test_stdin.py'), |