mirror of
https://github.com/simple64/simple64.git
synced 2026-11-16 19:53:15 +01:00
16 lines
270 B
Bash
Executable File
16 lines
270 B
Bash
Executable File
#!/bin/sh
|
|
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
|