Commit 20d9e094 authored by Moritz Kroll's avatar Moritz Kroll
Browse files

print FAILED if reference compiler fails, we don't use the gcc testsuite anymore

[r20509]
parent ba52c5d1
......@@ -46,7 +46,7 @@ __END__
basedir=`pwd`
DIRS=". langshootout ack gcc-testsuite gcc-testsuite/ieee"
DIRS=". langshootout ack"
test -n "$1" && DIRS="$1"
for dir in $DIRS; do
......@@ -80,9 +80,9 @@ for file in $curdir/$CFILES; do
fi
echo "*** GCC Compile" >> $res
CMD="${GCC} ${GCC_CFLAGS} ${FILE_FLAGS} $file ${LINKFLAGS} -o build_gcc/$name.exe"
CMD="${GCC} ${GCC_CFLAGS} ${FILE_FLAGS} $file ${LINKFLAGS} -o build_gcc/$name.exe"
echo "$CMD" >> $res
$CMD >> $res 2>&1 || GCC_RES="failed"
/bin/sh -c "$CMD" >> $res 2>&1 || { GCC_RES="failed"; echo -n " ... FAILED"; }
if [ ${GCC_RES} = "ok" ]; then
GCC_RUN_RES="ok"
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment