diff options
Diffstat (limited to 'tests/scripts/gen-xpass')
| -rwxr-xr-x | tests/scripts/gen-xpass | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/tests/scripts/gen-xpass b/tests/scripts/gen-xpass new file mode 100755 index 0000000..8ec383f --- /dev/null +++ b/tests/scripts/gen-xpass @@ -0,0 +1,12 @@ +#!/bin/sh + +mkdir -p $(for d in "${@}"; do echo "$d"; done | uniq | sed "s|^|reports/|") + +for s in "${@}" +do + echo ".PHONY: $s" >> tests.mk + echo "$s:" >> tests.mk + echo " ./scripts/run-xpass $s" >> tests.mk +done + +echo "TESTS += " "${@}" >> tests.mk |
