]> git.ipfire.org Git - thirdparty/gettext.git/commitdiff
Avoid lang-guile test failure on many platforms.
authorBruno Haible <bruno@clisp.org>
Sat, 27 Apr 2019 21:04:05 +0000 (23:04 +0200)
committerBruno Haible <bruno@clisp.org>
Sun, 28 Apr 2019 08:24:39 +0000 (10:24 +0200)
Reported by Nelson H. F. Beebe.

* gettext-tools/tests/lang-guile: Skip the test if the guile version is < 2.0.

gettext-tools/tests/lang-guile

index 9a2a9b8f7b507ccd79b1691433bfb77491af73a2..886e01985fcceabacba7f9844c3b597a460e86b8 100755 (executable)
@@ -78,11 +78,11 @@ test -d fr/LC_MESSAGES || mkdir fr/LC_MESSAGES
 : ${MSGFMT=msgfmt}
 ${MSGFMT} -o fr/LC_MESSAGES/prog.mo fr.po
 
-# Test for presence of guile version 1.7 or newer.
+# Test for presence of guile version 2.0 or newer.
 (guile --version) >/dev/null 2>/dev/null \
   || { echo "Skipping test: guile not found"; Exit 77; }
 case `guile --version | sed -e 1q | sed -e 's/^[^0-9]*//'` in
-  0.* | 1.[0-6] | 1.[0-6].* )
+  0.* | 1.* )
     echo "Skipping test: guile version too old"; Exit 77;;
 esac