diff options
Diffstat (limited to 'src/systemc/tests/verify.py')
-rwxr-xr-x | src/systemc/tests/verify.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/systemc/tests/verify.py b/src/systemc/tests/verify.py index f56c50a79..c2605a2cd 100755 --- a/src/systemc/tests/verify.py +++ b/src/systemc/tests/verify.py @@ -512,6 +512,10 @@ with open(json_path) as f: test_data.iteritems() if eval(filt, dict(props)) } + if len(filtered_tests) == 0: + print('All tests were filtered out.') + exit() + if main_args.list: for target, props in sorted(filtered_tests.iteritems()): print('%s.%s' % (target, main_args.flavor)) |