File tree 2 files changed +4
-5
lines changed
2 files changed +4
-5
lines changed Original file line number Diff line number Diff line change @@ -153,11 +153,11 @@ update-spec:
153
153
curl ' https://raw.githubusercontent.com/jgm/CommonMark/master/spec.txt' \
154
154
> $(SPEC)
155
155
156
- test : $( SPEC ) cmake_build
156
+ test : cmake_build
157
157
ctest --test-dir $(BUILDDIR ) --output-on-failure || (cat $( BUILDDIR) /Testing/Temporary/LastTest.log && exit 1)
158
158
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]))' > $@
161
161
162
162
leakcheck : $(ALLTESTS )
163
163
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
2
2
DATADIR=data
3
3
BUILDDIR=build
4
4
INSTALLDIR=windows
5
- SPEC=test/spec.txt
6
5
PROG=$(BUILDDIR)\src\cmark.exe
7
6
GENERATOR=NMake Makefiles
8
7
@@ -21,7 +20,7 @@ install: all
21
20
clean:
22
21
-rmdir /s /q $(BUILDDIR) $(MINGW_INSTALLDIR) 2> nul
23
22
24
- test: $(SPEC) all
23
+ test: all
25
24
ctest --test-dir $(BUILDDIR) --output-on-failure
26
25
27
26
distclean: clean
You can’t perform that action at this time.
0 commit comments