File tree Expand file tree Collapse file tree 2 files changed +4
-5
lines changed
Expand file tree Collapse file tree 2 files changed +4
-5
lines changed Original file line number Diff line number Diff line change @@ -153,11 +153,11 @@ update-spec:
153153 curl ' https://raw.githubusercontent.com/jgm/CommonMark/master/spec.txt' \
154154 > $(SPEC)
155155
156- test : $( SPEC ) cmake_build
156+ test : cmake_build
157157 ctest --test-dir $(BUILDDIR ) --output-on-failure || (cat $( BUILDDIR) /Testing/Temporary/LastTest.log && exit 1)
158158
159- $(ALLTESTS ) : $( SPEC )
160- python3 test/spec_tests.py --spec $< --dump-tests | python3 -c ' import json; import sys; tests = json.loads(sys.stdin.read()); print("\n".join([test["markdown"] for test in tests]))' > $@
159+ $(ALLTESTS ) :
160+ python3 test/spec_tests.py --spec $( SPEC ) --dump-tests | python3 -c ' import json; import sys; tests = json.loads(sys.stdin.read()); print("\n".join([test["markdown"] for test in tests]))' > $@
161161
162162leakcheck : $(ALLTESTS )
163163 for format in html man xml latex commonmark; do \
Original file line number Diff line number Diff line change @@ -2,7 +2,6 @@ SRCDIR=src
22DATADIR=data
33BUILDDIR=build
44INSTALLDIR=windows
5- SPEC=test/spec.txt
65PROG=$(BUILDDIR)\src\cmark.exe
76GENERATOR=NMake Makefiles
87
@@ -21,7 +20,7 @@ install: all
2120clean:
2221 -rmdir /s /q $(BUILDDIR) $(MINGW_INSTALLDIR) 2> nul
2322
24- test: $(SPEC) all
23+ test: all
2524 ctest --test-dir $(BUILDDIR) --output-on-failure
2625
2726distclean: clean
You can’t perform that action at this time.
0 commit comments