summary refs log tree commit diff
path: root/lisc/test/go.sh
diff options
context:
space:
mode:
authorQuentin Carbonneaux <quentin.carbonneaux@yale.edu>2016-03-03 13:46:42 -0500
committerQuentin Carbonneaux <quentin.carbonneaux@yale.edu>2016-03-03 13:47:18 -0500
commite700d690043e37a7c8243e01da931514c35855c6 (patch)
treecbf9adb180a4c7efa81b0c279453e5416c592d39 /lisc/test/go.sh
parentb0ce949583fd2545dbe7c68f65483e658148b680 (diff)
downloadroux-e700d690043e37a7c8243e01da931514c35855c6.tar.gz
build tests with -g and show returned error code
Diffstat (limited to 'lisc/test/go.sh')
-rwxr-xr-xlisc/test/go.sh4
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