continuing. need fix of makefile
This commit is contained in:
17
Makefile
17
Makefile
@ -33,22 +33,21 @@ runner: tmp/lex.yy.c tmp/runner.o tmp/symbol_table.o
|
||||
debug: CFLAGS += -DDEBUG=1
|
||||
debug: clean compiler
|
||||
|
||||
test: test-s1 test-s3 test-s2
|
||||
test: test-s1 test-s2 test-s3
|
||||
|
||||
test-s1:
|
||||
chmod +x ./check.sh
|
||||
$(foreach test, $(TESTS-S1), ./$(EXE) -tok $(test);)
|
||||
./check.sh
|
||||
|
||||
|
||||
test-s3:
|
||||
chmod +x ./check.sh
|
||||
$(foreach test, $(TESTS-S3), ./$(EXE) -st $(test);)
|
||||
for test in $(TESTS-S1); do ./$(EXE) -tok $$test || echo "Test $$test failed but continuing"; done
|
||||
./check.sh
|
||||
|
||||
test-s2:
|
||||
chmod +x ./check.sh
|
||||
$(foreach test, $(TESTS-S2), ./$(EXE) -st $(test);)
|
||||
for test in $(TESTS-S2); do ./$(EXE) -st $$test || echo "Test $$test failed but continuing"; done
|
||||
./check.sh
|
||||
|
||||
test-s3:
|
||||
chmod +x ./check.sh
|
||||
for test in $(TESTS-S3); do ./$(EXE) -st $$test || echo "Test $$test failed but continuing"; done
|
||||
./check.sh
|
||||
|
||||
clean:
|
||||
|
Reference in New Issue
Block a user