spec tests: filter out non-applicable test files
This commit is contained in:
parent
60dcf09c1a
commit
6c630798f8
1 changed files with 5 additions and 1 deletions
|
@ -5,6 +5,10 @@
|
|||
TEST=$(shell find . -name '*.test' | sort)
|
||||
TEST_RS=${TEST:.test=.rs}
|
||||
|
||||
BLACKLIST += filters # lua filters not implemented
|
||||
BLACKLIST += symb # uses ast
|
||||
BLACKLIST += sourcepos # not parsable
|
||||
|
||||
.PHONY: suite
|
||||
suite: mod.rs
|
||||
|
||||
|
@ -12,7 +16,7 @@ mod.rs: ${TEST_RS}
|
|||
printf "" > $@
|
||||
for f in ${TEST}; do \
|
||||
name=$$(basename -s .test $$f); \
|
||||
echo "mod $$name;" >> $@; \
|
||||
echo ${BLACKLIST} | tr ' ' '\n' | grep -q $$name || echo "mod $$name;" >> $@; \
|
||||
done
|
||||
|
||||
.test.rs:
|
||||
|
|
Loading…
Reference in a new issue