2022-11-12 12:46:13 -05:00
|
|
|
.POSIX:
|
|
|
|
|
|
|
|
.PHONY: suite
|
|
|
|
suite:
|
2023-01-16 12:53:48 -05:00
|
|
|
git submodule update --init modules/djot.js
|
|
|
|
for f in $$(find modules/djot.js/test -name '*.test' | xargs basename -a); do \
|
|
|
|
ln -fs ../../modules/djot.js/test/$$f tests/suite/$$f; \
|
2022-11-12 12:46:13 -05:00
|
|
|
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)
|