From: Dmitry V. Levin Date: Tue, 18 Apr 2017 23:31:19 +0000 (+0000) Subject: tests: extend gen_tests.sh to support arbitrary test_* rules X-Git-Tag: v4.17~70 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=94d3a0c488e69d3a8f856af34aee1ed29bbe08cc;p=strace tests: extend gen_tests.sh to support arbitrary test_* rules * tests/gen_tests.sh: Add support of arbitrary test_* rules. --- diff --git a/tests/gen_tests.sh b/tests/gen_tests.sh index aa702ac6..7f8c87a8 100755 --- a/tests/gen_tests.sh +++ b/tests/gen_tests.sh @@ -72,6 +72,15 @@ while read -r name args; do { EOF ;; + test_*) + cat <<-EOF + #!/bin/sh -efu + # Generated by $0 from $input; do not edit. + . "\${srcdir=.}/init.sh" + $args + EOF + ;; + *) cat <<-EOF #!/bin/sh -efu