suite: prepend djot_js tests
avoid name conflicts when adding own tests
This commit is contained in:
parent
6611404992
commit
91ae737be3
2 changed files with 4 additions and 4 deletions
2
Makefile
2
Makefile
|
@ -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::
|
||||||
|
|
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue