suite: prepend djot_js tests

avoid name conflicts when adding own tests
This commit is contained in:
Noah Hellman 2023-04-08 18:17:31 +02:00
parent 6611404992
commit 91ae737be3
2 changed files with 4 additions and 4 deletions

View file

@ -29,7 +29,7 @@ check:
suite: suite:
git submodule update --init modules/djot.js git submodule update --init modules/djot.js
for f in $$(find modules/djot.js/test -name '*.test' | xargs basename -a); do \ for f in $$(find modules/djot.js/test -name '*.test' | xargs basename -a); do \
ln -fs ../../modules/djot.js/test/$$f tests/suite/$$f; \ ln -fs ../../modules/djot.js/test/$$f tests/suite/djot_js_$$f; \
done done
(cd tests/suite && make) (cd tests/suite && make)
cargo test --features suite suite:: cargo test --features suite suite::

View file

@ -5,9 +5,9 @@
TEST=$(shell find . -name '*.test' | sort) TEST=$(shell find . -name '*.test' | sort)
TEST_RS=${TEST:.test=.rs} TEST_RS=${TEST:.test=.rs}
BLACKLIST += filters # lua filters not implemented BLACKLIST += djot_js_filters # lua filters not implemented
BLACKLIST += symb # uses ast BLACKLIST += djot_js_symb # uses ast
BLACKLIST += sourcepos # not parsable BLACKLIST += djot_js_sourcepos # not parsable
.PHONY: suite .PHONY: suite
suite: mod.rs suite: mod.rs