X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/fb1bec45d6f1bf8ec6e487b68d8c505d87a4e251..182d0ff4c720b284a4f1a05c736012fa5f9b7203:/tools/simgrid-monkey diff --git a/tools/simgrid-monkey b/tools/simgrid-monkey index d5cd721a21..c48a77137f 100755 --- a/tools/simgrid-monkey +++ b/tools/simgrid-monkey @@ -19,7 +19,8 @@ # * So the amount of simulations is: 1 + (host_c+link_c) * timestamps * 2 # # * Test program, written to resist these extreme conditions: -# * teshsuite/s4u/monkey-masterworkers: tests synchronous comms and execs +# * teshsuite/s4u/monkey-masterworkers: tests synchronous comms and execs (C++ and python) +# * teshsuite/s4u/monkey-semaphore: tests async semaphores (C++ only) import multiprocessing as mp import sys @@ -93,7 +94,7 @@ def do_run(cmd, extra_params, test_todo): msg = f"ERROR (retcode: {run.returncode}). Output:\n" msg += out print(msg) - os.exit(1) + sys.exit(1) for line in out.split("\n"): if re.match("==.* in use at exit: ", line) and not re.match("==.* in use at exit: 0 bytes in 0 blocks", line): m = re.match("==.* in use at exit: (.*)", line)