소스 검색

Run test on file, not on stdin.

master
Ian Piumarta 1 년 전
부모
커밋
7d3350b71b
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. +2
    -2
      Makefile

+ 2
- 2
Makefile 파일 보기

@ -22,11 +22,11 @@ all : $(MAIN)
leg -o $@ $<
test : $(MAIN)
./$(MAIN) < test.txt | tee test.out
./$(MAIN) test.txt 2>&1 | tee test.out
@diff test.ref test.out && echo '\012--- PASSED ---'
testref : $(MAIN)
./$(MAIN) < test.txt | tee test.ref
./$(MAIN) test.txt 2>&1 | tee test.ref
bench : $(MAIN)-opt
time ./$(MAIN)-opt -O bench.txt

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