use bench instead of benches dir for benchmarks
in order to be able to place benchmarks in separate crates, if placed in benches, they will be automatically considered part of the main crate separate crates are needed to - share generated input crate, - avoid adding unused dependencies to tests
This commit is contained in:
parent
be63583257
commit
a3351d28b7
1 changed files with 2 additions and 2 deletions
4
Makefile
4
Makefile
|
@ -47,7 +47,7 @@ suite_bench:
|
||||||
bench:
|
bench:
|
||||||
git submodule update --init modules/djot.js
|
git submodule update --init modules/djot.js
|
||||||
for f in $$(find modules/djot.js/bench -name '*.dj' | xargs basename -a); do \
|
for f in $$(find modules/djot.js/bench -name '*.dj' | xargs basename -a); do \
|
||||||
ln -fs ../modules/djot.js/bench/$$f benches/$$f; \
|
ln -fs ../modules/djot.js/bench/$$f bench/$$f; \
|
||||||
done
|
done
|
||||||
|
|
||||||
cov: suite suite_bench
|
cov: suite suite_bench
|
||||||
|
@ -96,6 +96,6 @@ clean:
|
||||||
(cd tests/suite && make clean)
|
(cd tests/suite && make clean)
|
||||||
rm -f tests/bench/*.dj
|
rm -f tests/bench/*.dj
|
||||||
(cd tests/bench && make clean)
|
(cd tests/bench && make clean)
|
||||||
rm -f benches/*.dj
|
rm -f bench/*.dj
|
||||||
rm -rf tests/afl/out
|
rm -rf tests/afl/out
|
||||||
(cd examples/jotdown_wasm && make clean)
|
(cd examples/jotdown_wasm && make clean)
|
||||||
|
|
Loading…
Reference in a new issue