diff options
Diffstat (limited to 'test/Gentests')
-rwxr-xr-x | test/Gentests | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/test/Gentests b/test/Gentests index b4d62f41..fc779f00 100755 --- a/test/Gentests +++ b/test/Gentests @@ -17,8 +17,8 @@ BEGIN { # process the file Makefile.am: -/^[A-Z_]*_TESTS *=/,/[^\\]$/ { - gsub(/(^[A-Z_]*_TESTS *=|\\$)/,"") +/^[[:upper:]_]*_TESTS *=/,/[^\\]$/ { + gsub(/(^[[:upper:]_]*_TESTS *=|\\$)/,"") for (i = 1; i <= NF; i++) tests[++ntests] = $i next @@ -45,7 +45,7 @@ BEGIN { next } -/^[a-zA-Z_][a-zA-Z0-9_]*:/ { +/^[[:alpha:]_][[:alnum:]_]*:/ { # remember all targets from Makefile.am sub(/:.*/,"") targets[$0] |