-rwxr-xr-x | check/check.arm.swf.sh | 15 |
diff --git a/check/check.arm.swf.sh b/check/check.arm.swf.sh new file mode 100755 index 0000000..378b6d7 --- /dev/null +++ b/check/check.arm.swf.sh @@ -0,0 +1,15 @@ +#!/bin/sh +test=`basename 0ドル | sed -e 's|\.arm\.swf$||'` +./lightning -mthumb=0 -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 |