tests suite: update tests from new djot impl repo

replace jgm/djot submodule with jgm/djot.js that contains newer tests
This commit is contained in:
Noah Hellman 2023-01-16 18:53:48 +01:00
parent f80991d07a
commit 8c1d38fe12
4 changed files with 7 additions and 7 deletions

6
.gitmodules vendored
View file

@ -1,3 +1,3 @@
[submodule "jgm/djot"] [submodule "jgm/djot.js"]
path = modules/djot path = modules/djot.js
url = git@github.com:jgm/djot.git url = git@github.com:jgm/djot.js.git

View file

@ -2,9 +2,9 @@
.PHONY: suite .PHONY: suite
suite: suite:
git submodule update --init modules/djot git submodule update --init modules/djot.js
for f in $$(find modules/djot/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/test/$$f tests/suite/$$f; \ ln -fs ../../modules/djot.js/test/$$f tests/suite/$$f; \
done done
(cd tests/suite && make) (cd tests/suite && make)
cargo test --features suite cargo test --features suite

@ -1 +0,0 @@
Subproject commit 4b3bf26dde0fa46a5d22b536154e3634619ef3a4

1
modules/djot.js Submodule

@ -0,0 +1 @@
Subproject commit 5c0b988a4fd6ef01cb5a3ad79dfaf98a0b3cee00