diff options
Diffstat (limited to 'tests/expand-test-matrix.sh')
-rwxr-xr-x | tests/expand-test-matrix.sh | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/tests/expand-test-matrix.sh b/tests/expand-test-matrix.sh index 6c39ee94..4965fa6a 100755 --- a/tests/expand-test-matrix.sh +++ b/tests/expand-test-matrix.sh @@ -125,4 +125,18 @@ if [ "$1" = "--automake" ]; then echo " ${f} \\" done echo " \$(NULL)" +elif [ "$1" = "--meson" ]; then + echo "# This file is autogenerated by ./tests/update-test-matrix, don't edit" + for f in $tests $dist_tests; do + f="${f#tests/}" + case "$f" in + (*@*) + s="${f%%@*}.sh" + ;; + (*) + s="$f" + ;; + esac + echo "wrapped_tests += {'name' : '$f', 'script' : '$s'}" + done fi |