diff --git a/Makefile b/Makefile index 162adfe..492c1a1 100644 --- a/Makefile +++ b/Makefile @@ -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 diff --git a/dotest b/dotest index b7aaa45..d5bd321 100755 --- a/dotest +++ b/dotest @@ -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"