diff options
author | Karel Kočí <cynerd@email.cz> | 2018-01-01 20:46:28 +0100 |
---|---|---|
committer | Karel Kočí <cynerd@email.cz> | 2018-01-01 20:47:36 +0100 |
commit | bcb508498caa64a7c92a1c11bc85acdefa6209cc (patch) | |
tree | 786f6dc5d110c7984b3fddcbcd7c0683239fe9ac /tests/test.sh | |
parent | 128ce1ee2115b54d43db1334e12410b1cc216f10 (diff) | |
download | qtmips-bcb508498caa64a7c92a1c11bc85acdefa6209cc.tar.gz qtmips-bcb508498caa64a7c92a1c11bc85acdefa6209cc.tar.bz2 qtmips-bcb508498caa64a7c92a1c11bc85acdefa6209cc.zip |
Add cpu_trap test
Diffstat (limited to 'tests/test.sh')
-rw-r--r-- | tests/test.sh | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/test.sh b/tests/test.sh index 7f83246..36b6b77 100644 --- a/tests/test.sh +++ b/tests/test.sh @@ -109,7 +109,8 @@ qtmips_make() { qtmips_run() { local BIN="$BUILD_DIR/$1" shift - LD_LIBRARY_PATH="$BUILD_DIR/qtmips_machine" "$BIN" "$@" + LD_LIBRARY_PATH="$BUILD_DIR/qtmips_machine" "$BIN" "$@" || \ + echo_fail "QtMips execution exited with non-zero code ($?): $@" } ## Mips elf binary compilation ################################################## |