소스 검색

added new tests

master
Nathan R 3 년 전
부모
커밋
736d389e50
2개의 변경된 파일8개의 추가작업 그리고 0개의 파일을 삭제
  1. +1
    -0
      Makefile
  2. +7
    -0
      dotest

+ 1
- 0
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

+ 7
- 0
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"

불러오는 중...
취소
저장