From: Daiki Ueno Date: Sun, 7 Jul 2013 01:03:51 +0000 (+0900) Subject: tests/lang-javascript: Fix gjs module checks. X-Git-Tag: v0.18.3~3 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=385387a0f39d800ebc75351a67fa08426b486aba;p=thirdparty%2Fgettext.git tests/lang-javascript: Fix gjs module checks. --- diff --git a/gettext-tools/tests/ChangeLog b/gettext-tools/tests/ChangeLog index 35ce7746a..f5dba31fb 100644 --- a/gettext-tools/tests/ChangeLog +++ b/gettext-tools/tests/ChangeLog @@ -1,3 +1,7 @@ +2013-07-07 Daiki Ueno + + * lang-javascript: Fix gjs module checks. + 2013-06-27 Daiki Ueno * xgettext-python-1: Test non-literal string concatenation with diff --git a/gettext-tools/tests/lang-javascript b/gettext-tools/tests/lang-javascript index 3f49b9e21..47abb84fe 100755 --- a/gettext-tools/tests/lang-javascript +++ b/gettext-tools/tests/lang-javascript @@ -74,14 +74,11 @@ test -d l-javascript/fr/LC_MESSAGES || mkdir l-javascript/fr/LC_MESSAGES ${MSGFMT} -o l-javascript/fr/LC_MESSAGES/prog.mo l-javascript-fr.po # Test for presence of gjs. -(gjs -h) >/dev/null 2>/dev/null -test $? -le 1 \ +(gjs -h) >/dev/null 2>/dev/null \ || { echo "Skipping test: gjs not found"; rm -fr $tmpfiles; exit 77; } -(gjs -c imports.gettext) >/dev/null 2>/dev/null -test $? -le 1 \ +(gjs -c imports.gettext) >/dev/null 2>/dev/null \ || { echo "Skipping test: gjs gettext module not found"; rm -fr $tmpfiles; exit 77; } -(gjs -c imports.format) >/dev/null 2>/dev/null -test $? -le 1 \ +(gjs -c imports.format) >/dev/null 2>/dev/null \ || { echo "Skipping test: gjs format module not found"; rm -fr $tmpfiles; exit 77; } # Test which of the fr_FR locales are installed.