浏览代码

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

正在加载...
取消
保存