add spec tests
This commit is contained in:
parent
40a612df95
commit
8c0abca85f
7 changed files with 143 additions and 0 deletions
16
Makefile
Normal file
16
Makefile
Normal file
|
@ -0,0 +1,16 @@
|
|||
.POSIX:
|
||||
|
||||
.PHONY: suite
|
||||
suite:
|
||||
git submodule update --init modules/djot
|
||||
for f in $$(find modules/djot/test -name '*.test' | xargs basename -a); do \
|
||||
ln -fs ../../modules/djot/test/$$f tests/suite/$$f; \
|
||||
done
|
||||
(cd tests/suite && make)
|
||||
cargo test --features suite
|
||||
|
||||
clean:
|
||||
cargo clean
|
||||
git submodule deinit -f --all
|
||||
rm -f tests/suite/*.test
|
||||
(cd tests/suite && make clean)
|
Loading…
Add table
Add a link
Reference in a new issue