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:
Shu-yu Guo 2016-03-22 16:19:52 -07:00
parent 0e6d958a14
commit b004031f7c

View File

@ -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