diff options
author | Quentin Carbonneaux <quentin.carbonneaux@yale.edu> | 2016-03-03 13:46:42 -0500 |
---|---|---|
committer | Quentin Carbonneaux <quentin.carbonneaux@yale.edu> | 2016-03-03 13:47:18 -0500 |
commit | e700d690043e37a7c8243e01da931514c35855c6 (patch) | |
tree | cbf9adb180a4c7efa81b0c279453e5416c592d39 /lisc/test/go.sh | |
parent | b0ce949583fd2545dbe7c68f65483e658148b680 (diff) | |
download | roux-e700d690043e37a7c8243e01da931514c35855c6.tar.gz |
build tests with -g and show returned error code
Diffstat (limited to 'lisc/test/go.sh')
-rwxr-xr-x | lisc/test/go.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lisc/test/go.sh b/lisc/test/go.sh index 98e5c2d..9879ff4 100755 --- a/lisc/test/go.sh +++ b/lisc/test/go.sh @@ -57,7 +57,7 @@ once() { LNK="$ASM" fi - if ! cc -o $BIN $LNK + if ! cc -g -o $BIN $LNK then echo "[cc fail]" return 1 @@ -71,7 +71,7 @@ once() { else $BIN a b c RET=$? - REASON="ret code" + REASON="returned $RET" fi if test $RET -ne 0 |