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-csharp | |
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-csharp')
-rwxr-xr-x | gettext-tools/tests/lang-csharp | 18 |
1 files changed, 17 insertions, 1 deletions
diff --git a/gettext-tools/tests/lang-csharp b/gettext-tools/tests/lang-csharp index 27a4c86..b4e3276 100755 --- a/gettext-tools/tests/lang-csharp +++ b/gettext-tools/tests/lang-csharp @@ -12,7 +12,18 @@ tmpfiles="" trap 'rm -fr $tmpfiles' 1 2 3 15 # Test whether we can build and test C# programs. -test "${TESTCSHARP}" = yes || exit 77 +test "${CSHARP_CHOICE}" != no || { + echo "Skipping test: configured with --disable-csharp" + exit 77 +} +test "${BUILDCSHARP}" = yes || { + echo "Skipping test: C# compiler not found" + exit 77 +} +test "${TESTCSHARP}" = yes || { + echo "Skipping test: C# engine not found" + exit 77 +} tmpfiles="$tmpfiles program.cs" cat <<\EOF > program.cs @@ -118,6 +129,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 |