]> git.ipfire.org Git - thirdparty/gettext.git/commitdiff
Check if gjs has gettext and format modules.
authorDaiki Ueno <ueno@gnu.org>
Thu, 6 Jun 2013 08:47:47 +0000 (17:47 +0900)
committerDaiki Ueno <ueno@gnu.org>
Thu, 6 Jun 2013 08:48:19 +0000 (17:48 +0900)
gettext-tools/tests/ChangeLog
gettext-tools/tests/lang-javascript

index 7edd85af1c2fab55a7fbc8c6ecbd92b6e7c7cef9..2e45223dc014445e5668f89d1e4a73f1c83b92e7 100644 (file)
@@ -1,3 +1,8 @@
+2013-06-06  Daiki Ueno  <ueno@gnu.org>
+
+       * lang-javascript: Check if gjs gettext and format modules are
+       available.
+
 2013-06-04  Daiki Ueno  <ueno@gnu.org>
 
        Support for Vala.
index e6746d82b87bfe46efd7c6d429f1b97d90e18766..3f49b9e21715afe34cd9bba742cb4a8a2c8c03ca 100755 (executable)
@@ -77,6 +77,12 @@ ${MSGFMT} -o l-javascript/fr/LC_MESSAGES/prog.mo l-javascript-fr.po
 (gjs -h) >/dev/null 2>/dev/null
 test $? -le 1 \
   || { echo "Skipping test: gjs not found"; rm -fr $tmpfiles; exit 77; }
+(gjs -c imports.gettext) >/dev/null 2>/dev/null
+test $? -le 1 \
+  || { 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 \
+  || { echo "Skipping test: gjs format module not found"; rm -fr $tmpfiles; exit 77; }
 
 # Test which of the fr_FR locales are installed.
 : ${LOCALE_FR=fr_FR}