git subrepo pull --force deps/lightrec
[pcsx_rearmed.git] / deps / lightning / check / check.arm.sh
1 #!/bin/sh
2 test=`basename $0 | sed -e 's|\.arm$||'`
3 ./lightning -mthumb=0 $srcdir/$test.tst | tr -d \\r > $test.out
4 if test $? != 0; then
5   exit $?
6 fi
7
8 cmp -s $srcdir/$test.ok $test.out
9 result=$?
10 if test $result != 0; then
11     diff $srcdir/$test.ok $test.out
12     rm $test.out
13     exit 1
14 fi
15 rm $test.out