mirror of
git://c9x.me/qbe.git
synced 2026-04-05 18:09:47 +00:00
build tests with -g and show returned error code
This commit is contained in:
parent
b0ce949583
commit
e700d69004
@ -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
|
||||
|
||||
Loading…
Reference in New Issue
Block a user