|
@@ -116,7 +116,7 @@ function check_return {
|
|
|
total_tests=$((total_tests+1))
|
|
total_tests=$((total_tests+1))
|
|
|
printf "%-${ALIGN}s " $file:
|
|
printf "%-${ALIGN}s " $file:
|
|
|
|
|
|
|
|
- if $CIVCC $CFLAGS $file -o tmp.s > /dev/null 2>&1
|
|
|
|
|
|
|
+ if $CIVCC $CFLAGS $file -o tmp.s > tmp.out 2>&1
|
|
|
then
|
|
then
|
|
|
if [ $expect_failure -eq 1 ]; then
|
|
if [ $expect_failure -eq 1 ]; then
|
|
|
echo_failed
|
|
echo_failed
|
|
@@ -129,11 +129,15 @@ function check_return {
|
|
|
echo_success
|
|
echo_success
|
|
|
else
|
|
else
|
|
|
echo_failed
|
|
echo_failed
|
|
|
|
|
+ echo -------------------------------
|
|
|
|
|
+ cat tmp.out
|
|
|
|
|
+ echo -------------------------------
|
|
|
|
|
+ echo
|
|
|
failed_tests=$((failed_tests+1))
|
|
failed_tests=$((failed_tests+1))
|
|
|
fi
|
|
fi
|
|
|
fi
|
|
fi
|
|
|
|
|
|
|
|
- rm -f tmp.s
|
|
|
|
|
|
|
+ rm -f tmp.s tmp.out
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
function run_dir {
|
|
function run_dir {
|