From d6b29ca9cc38cd30339b2b5b6f19bf4cbc20e44d Mon Sep 17 00:00:00 2001 From: Palmer Dabbelt Date: Mon, 20 Jul 2015 12:21:19 -0700 Subject: [PATCH] Run regression with bash's "-ex" mode This causes every command to be echo'd to stderr, and any failing command will fail the whole script. Without this the regression script will always pass. --- regression.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/regression.sh b/regression.sh index 0844fcda..0afbf37e 100755 --- a/regression.sh +++ b/regression.sh @@ -4,6 +4,8 @@ # Script to setup submodules, build rocket-chip, and run asm tests, and optionally run torture +set -ex + echo "Starting Rocket-chip regression test" if [ $# -lt 1 ] then