Browse Source

updated dotest

master
Nathan R 3 years ago
parent
commit
ecb8b27650
1 changed files with 4 additions and 4 deletions
  1. +4
    -4
      dotest

+ 4
- 4
dotest View File

@ -26,16 +26,16 @@ for i in tests-gnu/*.c; do
cmp $i $j || die $i $j
done
for i in tests-c/*.c; do
for i in tests-err/*.c; do
echo $i
j="${i%.c}.out"
$run < $i > $j
cmp $i $j || die $i $j
cmp -s $i $j || echo failed
done
for i in tests-err/*.c; do
for i in tests-c/*.c; do
echo $i
j="${i%.c}.out"
$run < $i > $j
cmp -s $i $j || echo failed
cmp $i $j || die $i $j
done

Loading…
Cancel
Save