aboutsummaryrefslogtreecommitdiff
path: root/deps/lightning/check/run-test
blob: e8369d6cb445134f569a9c40d4a33ba89e6390c3 (plain)
1
2
3
4
5
6
7
8
9
10
#! /bin/sh

ok=`echo $1 | sed -e 's@\.\(x87\|arm\|swf\)@@'`
$1 | tr -d \\r > $1.log
if cmp -s $srcdir/$ok.ok $1.log; then
  rm $1.log
else
  diff $srcdir/$ok.ok $1.log
  exit 1
fi