From 73ae9089245af2a2348b67aaba1f03a38bd9bb08 Mon Sep 17 00:00:00 2001 From: Radu Marias Date: Sat, 22 Jun 2024 14:51:30 +0300 Subject: [PATCH] set -e --- tests.bat | 8 ++++---- tests.sh | 2 ++ 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/tests.bat b/tests.bat index bb32a55..19fd68a 100644 --- a/tests.bat +++ b/tests.bat @@ -1,5 +1,5 @@ -@echo off +set "e=|| exit /b" -pytest -python examples/lock_and_zeroize.py -python examples/zeroize_before_fork.py \ No newline at end of file +pytest %e% +python examples/lock_and_zeroize.py %e% +python examples/zeroize_before_fork.py %e% \ No newline at end of file diff --git a/tests.sh b/tests.sh index 229f400..fbd171e 100755 --- a/tests.sh +++ b/tests.sh @@ -1,5 +1,7 @@ #!/bin/sh +set -e + pytest python examples/lock_and_zeroize.py python examples/zeroize_before_fork.py \ No newline at end of file