Selaa lähdekoodia

added new tests

master
Nathan R 3 vuotta sitten
vanhempi
commit
736d389e50
2 muutettua tiedostoa jossa 8 lisäystä ja 0 poistoa
  1. +1
    -0
      Makefile
  2. +7
    -0
      dotest

+ 1
- 0
Makefile Näytä tiedosto

@ -13,6 +13,7 @@ test : all .FORCE
debug : all .FORCE
./$(MAIN) < debug.c > debug.out
gcc -o debug debug.c
#diff debug.out debug.c
$(MAIN) : $(MAIN).c object.c buffer.h

+ 7
- 0
dotest Näytä tiedosto

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

Ladataan…
Peruuta
Tallenna