diff --git a/scripts/run_tests.sh b/scripts/run_tests.sh
index 69fe94a..bcfc494 100755
--- a/scripts/run_tests.sh
+++ b/scripts/run_tests.sh
@@ -22,7 +22,7 @@ for testfile in "${INFILES[@]}"; do
         else
             echo "$repname: FAIL!"
             echo "$output"
-            OUTCODE="$retcode"
+            OUTCODE=1
         fi
         rm -f out.echo
     fi