diff options
author | Arnold D. Robbins <arnold@skeeve.com> | 2010-12-07 22:38:40 +0200 |
---|---|---|
committer | Arnold D. Robbins <arnold@skeeve.com> | 2010-12-07 22:38:40 +0200 |
commit | 2ea264adbbefc2337b766f06d1ceb38cd798915b (patch) | |
tree | 3a898fb49982ca6edc6a315362c1aa7f5ff4fc8a /test/Gentests | |
parent | 86643fa35036db1f40ce61da6358da455abe3c3b (diff) | |
download | egawk-2ea264adbbefc2337b766f06d1ceb38cd798915b.tar.gz egawk-2ea264adbbefc2337b766f06d1ceb38cd798915b.tar.bz2 egawk-2ea264adbbefc2337b766f06d1ceb38cd798915b.zip |
Clean up sprintf return type. Add tests for pgawk.
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] |