mirror of
https://git.savannah.gnu.org/git/guile.git
synced 2025-06-22 19:44:10 +02:00
Properly check tests output.
* check/check.arm.sh, check/check.sh, check/check.swf.sh, check/check.x87.sh: Properly check test programs output, not just rely on the test program self testing the results and not crashing.
This commit is contained in:
parent
e99c157842
commit
ab7d15ddd2
5 changed files with 63 additions and 4 deletions
|
@ -1,3 +1,10 @@
|
||||||
|
2013-07-28 Paulo Andrade <pcpa@gnu.org>
|
||||||
|
|
||||||
|
* check/check.arm.sh, check/check.sh, check/check.swf.sh,
|
||||||
|
check/check.x87.sh: Properly check test programs output,
|
||||||
|
not just rely on the test program self testing the results
|
||||||
|
and not crashing.
|
||||||
|
|
||||||
2013-07-28 Paulo Andrade <pcpa@gnu.org>
|
2013-07-28 Paulo Andrade <pcpa@gnu.org>
|
||||||
|
|
||||||
* lib/jit_aarch64.c: Remove unused macros left from cut&paste
|
* lib/jit_aarch64.c: Remove unused macros left from cut&paste
|
||||||
|
|
|
@ -1,2 +1,15 @@
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
./lightning -mthumb=0 $srcdir/`basename $0 | sed -e 's|\.arm$||'`.tst
|
test=`basename $0 | sed -e 's|\.arm$||'`
|
||||||
|
./lightning -mthumb=0 $srcdir/$test.tst | tr -d \\r > $test.out
|
||||||
|
if test $? != 0; then
|
||||||
|
exit $?
|
||||||
|
fi
|
||||||
|
|
||||||
|
cmp -s $srcdir/$test.ok $test.out
|
||||||
|
result=$?
|
||||||
|
if test $result != 0; then
|
||||||
|
diff $srcdir/$test.ok $test.out
|
||||||
|
rm $test.out
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
|
rm $test.out
|
||||||
|
|
|
@ -1,2 +1,15 @@
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
./lightning $srcdir/`basename $0`.tst
|
test=`basename $0`
|
||||||
|
./lightning $srcdir/$test.tst | tr -d \\r > $test.out
|
||||||
|
if test $? != 0; then
|
||||||
|
exit $?
|
||||||
|
fi
|
||||||
|
|
||||||
|
cmp -s $srcdir/$test.ok $test.out
|
||||||
|
result=$?
|
||||||
|
if test $result != 0; then
|
||||||
|
diff $srcdir/$test.ok $test.out
|
||||||
|
rm $test.out
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
|
rm $test.out
|
||||||
|
|
|
@ -1,2 +1,15 @@
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
./lightning -mvfp=0 $srcdir/`basename $0 | sed -e 's|\.swf$||'`.tst
|
test=`basename $0 | sed -e 's|\.swf$||'`
|
||||||
|
./lightning -mvfp=0 $srcdir/$test.tst | tr -d \\r > $test.out
|
||||||
|
if test $? != 0; then
|
||||||
|
exit $?
|
||||||
|
fi
|
||||||
|
|
||||||
|
cmp -s $srcdir/$test.ok $test.out
|
||||||
|
result=$?
|
||||||
|
if test $result != 0; then
|
||||||
|
diff $srcdir/$test.ok $test.out
|
||||||
|
rm $test.out
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
|
rm $test.out
|
||||||
|
|
|
@ -1,2 +1,15 @@
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
./lightning -mx87=1 $srcdir/`basename $0 | sed -e 's|\.x87$||'`.tst
|
test=`basename $0 | sed -e 's|\.x87$||'`
|
||||||
|
./lightning -mx87=1 $srcdir/$test.tst | tr -d \\r > $test.out
|
||||||
|
if test $? != 0; then
|
||||||
|
exit $?
|
||||||
|
fi
|
||||||
|
|
||||||
|
cmp -s $srcdir/$test.ok $test.out
|
||||||
|
result=$?
|
||||||
|
if test $result != 0; then
|
||||||
|
diff $srcdir/$test.ok $test.out
|
||||||
|
rm $test.out
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
|
rm $test.out
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue