diff options
author | Arnold D. Robbins <arnold@skeeve.com> | 2019-02-25 09:15:02 +0200 |
---|---|---|
committer | Arnold D. Robbins <arnold@skeeve.com> | 2019-02-25 09:15:02 +0200 |
commit | 44611db36ba329fab248179e0350d44fcff5e3c2 (patch) | |
tree | fc1e2676b5c0d2865257aaf65cd66b1f5f473cb5 /test/Gentests | |
parent | ef25d1166e7a183dd4d07f73904775234359de81 (diff) | |
download | egawk-44611db36ba329fab248179e0350d44fcff5e3c2.tar.gz egawk-44611db36ba329fab248179e0350d44fcff5e3c2.tar.bz2 egawk-44611db36ba329fab248179e0350d44fcff5e3c2.zip |
Improvements for z/OS, building and test suite.
Diffstat (limited to 'test/Gentests')
-rwxr-xr-x | test/Gentests | 16 |
1 files changed, 15 insertions, 1 deletions
diff --git a/test/Gentests b/test/Gentests index d7feaef5..cf4ba908 100755 --- a/test/Gentests +++ b/test/Gentests @@ -122,6 +122,16 @@ BEGIN { } } +# Tests that fail on z/OS +/EXPECTED_FAIL_ZOS *=/,/[^\\]$/ { + gsub(/(^EXPECTED_FAIL_ZOS *=|\\$)/,"") + for (i = 1; i <= NF; i++) + { + zos_fail[$i] + } + next +} + /^[[:alpha:]_][[:alnum:]_]*:/ { # remember all targets from Makefile.am sub(/:.*/,"") @@ -215,7 +225,11 @@ function generate(x, s, i, locale_string) delete files[x".in"] } - printf "\t@echo $@\n" + if (x in zos_fail) { + printf "\t@echo $@ $(ZOS_FAIL)\n" + delete zos_fail[x] + } else + printf "\t@echo $@\n" # default is the leading tab and @ locale_string = "\t@" |