Support -g and -m in test.py at the same time.

This commit is contained in:
Unknown W. Brackets 2014-06-27 01:00:27 -07:00
parent 5ab3750186
commit 40e34ea2a3

View File

@ -413,6 +413,8 @@ def main():
tests = tests_good
else:
tests = tests_next + tests_good
elif '-m' in args and '-g' in args:
tests = [i for i in tests_good if i.startswith(tests[0])]
elif '-m' in args:
tests = [i for i in tests_next + tests_good if i.startswith(tests[0])]