Changeset b1e63ac5 for src/tests/test.py
- Timestamp:
- Jul 4, 2017, 9:40:16 AM (8 years ago)
- Branches:
- ADT, aaron-thesis, arm-eh, ast-experimental, cleanup-dtors, deferred_resn, demangler, enum, forall-pointer-decay, jacob/cs343-translation, jenkins-sandbox, master, new-ast, new-ast-unique-expr, new-env, no_list, persistent-indexer, pthread-emulation, qualifiedEnum, resolv-new, with_gc
- Children:
- 208e5be
- Parents:
- 9c951e3 (diff), f7cb0bc (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)links above to see all the changes relative to each parent. - File:
-
- 1 edited
-
src/tests/test.py (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
src/tests/test.py
r9c951e3 rb1e63ac5 197 197 # fetch return code and error from the diff command 198 198 retcode, error = diff(".expect/%s.txt" % test.path, ".out/%s.log" % test.name, dry_run) 199 200 else: 201 with open (out_file, "r") as myfile: 202 error = myfile.read() 203 204 199 205 # clean the executable 200 206 sh("rm -f %s > /dev/null 2>&1" % test.name, dry_run) … … 253 259 # for each test to run 254 260 try : 255 results = pool.map_async(partial(run_test_worker, generate=generate, dry_run=dry_run, debug=debug), tests ).get(3600)261 results = pool.map_async(partial(run_test_worker, generate=generate, dry_run=dry_run, debug=debug), tests, chunksize = 1 ).get(7200) 256 262 except KeyboardInterrupt: 257 263 pool.terminate()
Note:
See TracChangeset
for help on using the changeset viewer.