]> git.ipfire.org Git - thirdparty/gettext.git/commitdiff
tests/lang-javascript: Fix gjs module checks.
authorDaiki Ueno <ueno@gnu.org>
Sun, 7 Jul 2013 01:03:51 +0000 (10:03 +0900)
committerDaiki Ueno <ueno@gnu.org>
Sun, 7 Jul 2013 04:58:57 +0000 (13:58 +0900)
gettext-tools/tests/ChangeLog
gettext-tools/tests/lang-javascript

index 35ce7746a44849b21ae274b8b7caa2d15f325fe2..f5dba31fb7f6b2fc493d4b15593e3e9123ec2eaf 100644 (file)
@@ -1,3 +1,7 @@
+2013-07-07  Daiki Ueno  <ueno@gnu.org>
+
+       * lang-javascript: Fix gjs module checks.
+
 2013-06-27  Daiki Ueno  <ueno@gnu.org>
 
        * xgettext-python-1: Test non-literal string concatenation with
index 3f49b9e21715afe34cd9bba742cb4a8a2c8c03ca..47abb84fe51385d2f8eea8fe674388eac4c5942f 100755 (executable)
@@ -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.