Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(119853)

Unified Diff: Lib/test/libregrtest/runtest_mp.py

Issue 23670: Modifications to support iOS as a development platform
Patch Set: Created 3 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Please Sign in to add in-line comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « Lib/test/libregrtest/main.py ('k') | Lib/test/__main__.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
--- a/Lib/test/libregrtest/runtest_mp.py Tue Mar 01 10:26:10 2016 +0200
+++ b/Lib/test/libregrtest/runtest_mp.py Wed Mar 02 00:01:35 2016 +0000
@@ -70,17 +70,17 @@ def run_tests_slave(slaveargs):
except KeyboardInterrupt:
result = INTERRUPTED, ''
except BaseException as e:
traceback.print_exc()
result = CHILD_ERROR, str(e)
print() # Force a newline (just in case)
print(json.dumps(result), flush=True)
- sys.exit(0)
+ return 0
# We do not use a generator so multiple threads can call next().
class MultiprocessIterator:
"""A thread-safe iterator over tests for multiprocess mode."""
def __init__(self, tests):
« no previous file with comments | « Lib/test/libregrtest/main.py ('k') | Lib/test/__main__.py » ('j') | no next file with comments »

RSS Feeds Recent Issues | This issue
This is Rietveld 894c83f36cb7+