diff --git a/scripts/build.py b/scripts/build.py index 0c42c5ac..9e142c5f 100755 --- a/scripts/build.py +++ b/scripts/build.py @@ -220,7 +220,7 @@ def extract_zip(bundle, target): # Prevents https://github.com/pypa/pipenv/issues/5052 subprocess.run(["pipenv", "--rm"], env=env) -p = subprocess.Popen(["pipenv", "run", winpath + "py.test", "--junitxml", str(results)] + pytest_sources, env=env) +p = subprocess.Popen(["pipenv", "run", winpath + "py.test", "-x", "--junitxml", str(results)] + pytest_sources, env=env) # wait for process to complete p_stdout, p_stderr = p.communicate() assert 0 <= p.returncode < 128, f"pipenv run failed: {p_stdout} {p_stderr}"