]> git.ipfire.org Git - thirdparty/gettext.git/commitdiff
xgettext tests: Rename xgettext-c-16 to xgettext-c-comment-3.
authorBruno Haible <bruno@clisp.org>
Thu, 8 Nov 2018 22:50:23 +0000 (23:50 +0100)
committerBruno Haible <bruno@clisp.org>
Thu, 8 Nov 2018 22:51:17 +0000 (23:51 +0100)
* gettext-tools/tests/xgettext-c-comment-3: Renamed from
gettext-tools/tests/xgettext-c-16.
* Makefile.am (TESTS): Update.

gettext-tools/tests/Makefile.am
gettext-tools/tests/xgettext-c-comment-3 [moved from gettext-tools/tests/xgettext-c-16 with 63% similarity]

index 8c40480dff47175c105fe97039b833e87edc40ae..4c8538c4379b18a2e4d9e5bea7b63268a0a9b9ce 100644 (file)
@@ -80,9 +80,9 @@ TESTS = gettext-1 gettext-2 \
        xgettext-awk-1 xgettext-awk-2 \
        xgettext-c-2 xgettext-c-3 xgettext-c-4 \
        xgettext-c-6 xgettext-c-9 \
-       xgettext-c-16 xgettext-c-18 \
+       xgettext-c-18 \
        xgettext-c-24 xgettext-c-25 \
-       xgettext-c-comment-1 xgettext-c-comment-2 \
+       xgettext-c-comment-1 xgettext-c-comment-2 xgettext-c-comment-3 \
        xgettext-c-escape-1 xgettext-c-escape-2 xgettext-c-escape-3 \
        xgettext-c-format-1 xgettext-c-format-2 xgettext-c-format-3 \
        xgettext-c-format-4 xgettext-c-format-5 \
similarity index 63%
rename from gettext-tools/tests/xgettext-c-16
rename to gettext-tools/tests/xgettext-c-comment-3
index 9633eadac25ae3c12c51fa1bf2b377723d809535..0c92a7b66c9bfbc7fb7978f48f2adeee0d99e5c1 100755 (executable)
@@ -3,7 +3,7 @@
 
 # Test C support: --add-comments option.
 
-cat <<\EOF > xg-c-16.c
+cat <<\EOF > xg-c-comment-3.c
 /* a */
 /* b */ char *string = /* c */
 /* d */
@@ -12,10 +12,10 @@ EOF
 
 : ${XGETTEXT=xgettext}
 ${XGETTEXT} --add-comments --omit-header --no-location --keyword=_ \
-  -d xg-c-16.tmp xg-c-16.c || Exit 1
-LC_ALL=C tr -d '\r' < xg-c-16.tmp.po > xg-c-16.po || Exit 1
+  -d xg-c-comment-3.tmp xg-c-comment-3.c || Exit 1
+LC_ALL=C tr -d '\r' < xg-c-comment-3.tmp.po > xg-c-comment-3.po || Exit 1
 
-cat <<EOF > xg-c-16.ok
+cat <<EOF > xg-c-comment-3.ok
 #. a
 #. b
 #. c
@@ -27,7 +27,7 @@ msgstr ""
 EOF
 
 : ${DIFF=diff}
-${DIFF} xg-c-16.ok xg-c-16.po
+${DIFF} xg-c-comment-3.ok xg-c-comment-3.po
 result=$?
 
 exit $result