bench/suite_bench: use snake case for input files
rust identifiers may not contain - use _ for files also to avoid confusion of having two names
This commit is contained in:
parent
9bdb4c59fc
commit
bee3d5d747
4 changed files with 6 additions and 5 deletions
|
@ -9,7 +9,7 @@ DJOT_JS_SRC=$(shell find ${DJOT_JS}/src -name '.ts')
|
|||
mod.rs: ${TEST_DJ} html
|
||||
echo "use crate::suite_test;" > $@
|
||||
for name in ${TEST}; do \
|
||||
name_snake=$$(basename -a $$name | sed 's/-/_/g'); \
|
||||
name_snake=$$(basename -a $$name); \
|
||||
skip_reason=$$(grep -E "^$${name_snake}:" skip | cut -d: -f2); \
|
||||
[ -n "$$skip_reason" ] && echo "#[ignore = \"$${skip_reason}\"]"; \
|
||||
echo "#[test]"; \
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue