public
/
Ack-5.5.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Pristine Ack-5.5
[Ack-5.5.git]
/
lang
/
basic
/
test
/
runcmp
1
echo -n $1 " "
2
if abc - -o $1.x $fp $1
3
then
4
if $1.x >$1.r
5
then :; else
6
echo -n "------- execution error(s)"
7
fi
8
if diff $1.g $1.r >$1.d 2>/dev/null
9
then
10
echo -*- Ok
11
else
12
if test -r $1.g
13
then
14
echo ------- differences in executing $1
15
cat $1.d
16
else
17
mv $1.r $1.g
18
fi
19
fi
20
rm $1.[rd]
21
else
22
echo "------- compilation error(s)"
23
fi