47 |
47 |
48 build: |
48 build: |
49 $(MKDIR) $@ |
49 $(MKDIR) $@ |
50 |
50 |
51 test: all |
51 test: all |
52 ./build/$(BIN) test/ctestfile.c -o build/ctest.html \ |
52 ./build/$(BIN) test/ctest.c -o build/ctest.html \ |
53 -H test/header.html -F test/footer.html |
53 -H test/header.html -F test/footer.html |
54 ./build/$(BIN) -j test/javatestfile.java -o build/javatest.html \ |
54 ./build/$(BIN) -j test/javatest.java -o build/javatest.html \ |
55 -H test/jheader.html -F test/footer.html |
55 -H test/jheader.html -F test/footer.html |
56 ./build/$(BIN) test/bigtestfile.c -o build/bigtest.html \ |
56 ./build/$(BIN) test/bigtest.c -o build/bigtest.html \ |
57 -H test/header.html -F test/footer.html |
57 -H test/header.html -F test/footer.html |
58 ./build/$(BIN) -p test/plain.csp -o build/plain.html \ |
58 ./build/$(BIN) -p test/plain.txt -o build/plain.html \ |
59 -H test/header.html -F test/footer.html |
59 -H test/header.html -F test/footer.html |
60 diff build/ctest.html test/gs/ctest.html && \ |
60 diff build/ctest.html test/gs/ctest.html && \ |
61 diff build/javatest.html test/gs/javatest.html && \ |
61 diff build/javatest.html test/gs/javatest.html && \ |
62 diff build/bigtest.html test/gs/bigtest.html && \ |
62 diff build/bigtest.html test/gs/bigtest.html && \ |
63 diff build/plain.html test/gs/plain.html |
63 diff build/plain.html test/gs/plain.html |
|
64 @echo "Tests successful." |
64 |
65 |
65 clean: |
66 clean: |
66 $(RM) $(RMFLAGS) build |
67 $(RM) $(RMFLAGS) build |