mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-26 11:45:37 +00:00
Bug 1258000 - Make jit_test.py print a nice error message if test list is empty after filtering. (r=sfink)
This commit is contained in:
parent
0e6d958a14
commit
b004031f7c
@ -231,6 +231,11 @@ def main(argv):
|
||||
end = int(round(options.this_chunk * tests_per_chunk))
|
||||
test_list = test_list[start:end]
|
||||
|
||||
if not test_list:
|
||||
print("No tests found matching command line arguments after filtering.",
|
||||
file=sys.stderr)
|
||||
sys.exit(0)
|
||||
|
||||
# The full test list is ready. Now create copies for each JIT configuration.
|
||||
if options.tbpl:
|
||||
# Running all bits would take forever. Instead, we test a few
|
||||
|
Loading…
Reference in New Issue
Block a user