diff options
author | Bruno Haible <bruno@clisp.org> | 2006-06-09 20:22:17 +0000 |
---|---|---|
committer | Bruno Haible <bruno@clisp.org> | 2009-06-23 12:13:22 +0200 |
commit | b83b91e1eef5d017dde3b37f26c1e75ed9652f53 (patch) | |
tree | ebacb7df968afdc252e5e23c5e98db95cc78104b /gettext-tools/tests/lang-guile | |
parent | ccd9227fe12e0bc51451ffdcbf18b19fe11eb927 (diff) | |
download | external_gettext-b83b91e1eef5d017dde3b37f26c1e75ed9652f53.zip external_gettext-b83b91e1eef5d017dde3b37f26c1e75ed9652f53.tar.gz external_gettext-b83b91e1eef5d017dde3b37f26c1e75ed9652f53.tar.bz2 |
Explain why tests are skipped.
Diffstat (limited to 'gettext-tools/tests/lang-guile')
-rwxr-xr-x | gettext-tools/tests/lang-guile | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/gettext-tools/tests/lang-guile b/gettext-tools/tests/lang-guile index 79c9495..deef895 100755 --- a/gettext-tools/tests/lang-guile +++ b/gettext-tools/tests/lang-guile @@ -86,10 +86,10 @@ ${MSGFMT} -o fr/LC_MESSAGES/prog.mo fr.po # Test for presence of guile version 1.7 or newer. (guile --version) >/dev/null 2>/dev/null \ - || { rm -fr $tmpfiles; exit 77; } + || { echo "Skipping test: guile not found"; rm -fr $tmpfiles; exit 77; } case `guile --version | sed -e 1q | sed -e 's/^[^0-9]*//'` in 0.* | 1.[0-6] | 1.[0-6].* ) - rm -fr $tmpfiles; exit 77;; + echo "Skipping test: guile version too old"; rm -fr $tmpfiles; exit 77;; esac # Test which of the fr_FR locales are installed. @@ -112,6 +112,11 @@ if test $LOCALE_FR_UTF8 != none; then esac fi if test $LOCALE_FR = none && test $LOCALE_FR_UTF8 = none; then + if test -f /usr/bin/localedef; then + echo "Skipping test: no french locale is installed" + else + echo "Skipping test: no french locale is supported" + fi rm -fr $tmpfiles; exit 77 fi |