commit e700d690043e37a7c8243e01da931514c35855c6
parent b0ce949583fd2545dbe7c68f65483e658148b680
Author: Quentin Carbonneaux <quentin.carbonneaux@yale.edu>
Date: Thu, 3 Mar 2016 13:46:42 -0500
build tests with -g and show returned error code
Diffstat:
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git 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