diff options
Diffstat (limited to 'test/Makefile.in')
-rw-r--r-- | test/Makefile.in | 24 |
1 files changed, 17 insertions, 7 deletions
diff --git a/test/Makefile.in b/test/Makefile.in index e4bc045a..c1b691e7 100644 --- a/test/Makefile.in +++ b/test/Makefile.in @@ -1565,7 +1565,7 @@ check: msg \ unix-msg-start unix-tests unix-msg-end \ extend-msg-start gawk-extensions extend-msg-end \ machine-msg-start machine-tests machine-msg-end \ - charset-msg-start charset-tests charset-msg-end \ + charset-tests-all \ shlib-msg-start shlib-tests shlib-msg-end \ mpfr-msg-start mpfr-tests mpfr-msg-end @$(MAKE) pass-fail || { $(MAKE) diffout; exit 1; } @@ -1576,6 +1576,16 @@ unix-tests: $(UNIX_TESTS) gawk-extensions: $(GAWK_EXT_TESTS) +charset-tests-all: + @if locale -a | grep -i 'en_US.UTF.*8' > /dev/null && \ + locale -a | grep -i 'ru_RU.UTF.*8' > /dev/null && \ + locale -a | grep -i 'ja_JP.UTF.*8' > /dev/null ; \ + then \ + $(MAKE) charset-msg-start charset-tests charset-msg-end; \ + else \ + echo %%%%%%%%%% Inadequate locale support: skipping charset tests. ; \ + fi + charset-tests: $(LOCALE_CHARSET_TESTS) extra: $(EXTRA_TESTS) inet @@ -1638,12 +1648,12 @@ machine-msg-end: charset-msg-start: @echo "======== Starting tests that can vary based on character set or locale support ========" - @echo "************************************************" - @echo "** Some or all of these tests may fail if you **" - @echo "** have inadequate or missing locale support **" - @echo "** At least en_US.UTF-8, ru_RU.UTF-8 and **" - @echo "** ja_JP.UTF-8 are needed. **" - @echo "************************************************" + @echo "**************************************************************************" + @echo "* Some or all of these tests may fail if you have inadequate or missing *" + @echo "* locale support At least en_US.UTF-8, ru_RU.UTF-8 and ja_JP.UTF-8 are *" + @echo "* needed. However, if you see this message, the Makefile thinks you have *" + @echo "* what you need ... *" + @echo "**************************************************************************" charset-msg-end: @echo "======== Done with tests that can vary based on character set or locale support ========" |