X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/adbc0b061fbbd97f0f803730b8b640de19eb3d92..d54ee83ca241b15158d729e23d462a3d210d81bd:/teshsuite/smpi/MBI/MBIutils.py diff --git a/teshsuite/smpi/MBI/MBIutils.py b/teshsuite/smpi/MBI/MBIutils.py index d7d4f3491c..416219538b 100644 --- a/teshsuite/smpi/MBI/MBIutils.py +++ b/teshsuite/smpi/MBI/MBIutils.py @@ -235,7 +235,7 @@ def run_cmd(buildcmd, execcmd, cachefile, filename, binary, timeout, batchinfo, output = f"Compiling {binary}.c (batchinfo:{batchinfo})\n\n" output += f"$ {buildcmd}\n" - compil = subprocess.run(buildcmd, shell=True, stdout=subprocess.PIPE, stderr=subprocess.STDOUT) + compil = subprocess.run(buildcmd, shell=True, check=True, stdout=subprocess.PIPE, stderr=subprocess.STDOUT) if compil.stdout is not None: output += str(compil.stdout, errors='replace') if compil.returncode != 0: