Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Chaos-monkey: use the new Engine::on_simulation_start signal
[simgrid.git] / tools / simgrid-monkey
index d5cd721..d2f6273 100755 (executable)
@@ -93,7 +93,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)