summaryrefslogtreecommitdiffstats
path: root/gettext-tools/tests/xgettext-9
diff options
context:
space:
mode:
authorBruno Haible <bruno@clisp.org>2003-11-03 21:14:45 +0000
committerBruno Haible <bruno@clisp.org>2009-06-23 12:11:12 +0200
commit503ef686e72a96d89730337cc03f52d04964d676 (patch)
treefece105f7366aa95b24002806245adee828897fb /gettext-tools/tests/xgettext-9
parent94a31eec4917660531c834837f8b225f247c34bd (diff)
downloadexternal_gettext-503ef686e72a96d89730337cc03f52d04964d676.zip
external_gettext-503ef686e72a96d89730337cc03f52d04964d676.tar.gz
external_gettext-503ef686e72a96d89730337cc03f52d04964d676.tar.bz2
Move xgettext-9 to xgettext-c-7.
Diffstat (limited to 'gettext-tools/tests/xgettext-9')
-rwxr-xr-xgettext-tools/tests/xgettext-991
1 files changed, 0 insertions, 91 deletions
diff --git a/gettext-tools/tests/xgettext-9 b/gettext-tools/tests/xgettext-9
deleted file mode 100755
index 2f7082b..0000000
--- a/gettext-tools/tests/xgettext-9
+++ /dev/null
@@ -1,91 +0,0 @@
-#! /bin/sh
-
-# Test C support: comments.
-
-tmpfiles=""
-trap 'rm -fr $tmpfiles' 1 2 3 15
-
-tmpfiles="$tmpfiles xg-test9.c"
-cat <<EOF > xg-test9.c
-int
-main()
-{
- /* This is a comment which immediately before a keyword. */
- gettext ("1");
-
- // This
- // one
- // too
- // although many blank lines come before the token itself.
-
-
-
-
- gettext("2");
-
- /* this one also counts */ gettext ("3");
-
- gettext("4");
-
- /* this one is also copied */ nada
- gettext ("5");
-
- /* I hope you do not see the following */
- break;
- gettext("6");
-
- /* An unnice
- multi-line comment */ evil;
- gettext("7");
-}
-EOF
-
-tmpfiles="$tmpfiles xg-test9.po"
-: ${XGETTEXT=xgettext}
-${XGETTEXT} --omit-header --no-location -c --c++ -d xg-test9 xg-test9.c
-test $? = 0 || { rm -fr $tmpfiles; exit 1; }
-
-tmpfiles="$tmpfiles xg-test9.ok"
-cat <<EOF > xg-test9.ok
-#. This is a comment which immediately before a keyword.
-msgid "1"
-msgstr ""
-
-#. This
-#. one
-#. too
-#. although many blank lines come before the token itself.
-msgid "2"
-msgstr ""
-
-#. this one also counts
-msgid "3"
-msgstr ""
-
-msgid "4"
-msgstr ""
-
-#. this one is also copied
-msgid "5"
-msgstr ""
-
-msgid "6"
-msgstr ""
-
-#. An unnice
-#. multi-line comment
-msgid "7"
-msgstr ""
-EOF
-
-: ${DIFF=diff}
-${DIFF} xg-test9.ok xg-test9.po
-result=$?
-
-rm -fr $tmpfiles
-
-exit $result
-
-Local Variables:
- nuke-trailing-whitespace-p:nil
-End: