test-backend: Don't run tests in parallel with given test files.

It's usually slower to run in parallel with a single file.
This commit is contained in:
Tim Abbott 2017-07-07 13:36:03 -07:00
parent 05c190a97c
commit cd4f35abdf
1 changed files with 3 additions and 0 deletions

View File

@ -226,6 +226,9 @@ if __name__ == "__main__":
failed_tests = get_failed_tests() failed_tests = get_failed_tests()
if failed_tests: if failed_tests:
args = failed_tests args = failed_tests
if len(args) > 0:
# If we passed a specific set of tests, run in serial mode.
options.processes = 1
# to transform forward slashes '/' present in the argument into dots '.' # to transform forward slashes '/' present in the argument into dots '.'
for suite in args: for suite in args: