From e700d690043e37a7c8243e01da931514c35855c6 Mon Sep 17 00:00:00 2001 From: Quentin Carbonneaux Date: Thu, 3 Mar 2016 13:46:42 -0500 Subject: build tests with -g and show returned error code --- lisc/test/go.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lisc/test') 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 -- cgit 1.4.1