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