14 Commits

Author SHA1 Message Date
Bruno Haible
d3ea8dce31 Fix test failures on Haiku.
* gettext-tools/tests/init.cfg (func_filter_POT_Creation_Date): New function.
* gettext-tools/tests/xgettext-*: Use it.
2019-12-24 17:37:07 +01:00
Bruno Haible
5b5a0b64e7 xgettext: Recognize text blocks in Java parser.
* autogen.sh (GNULIB_MODULES_TOOLS_FOR_SRC): Add
unictype/syntax-java-whitespace.
* gettext-tools/src/x-java.c: Include unictype.h.
(strip_indent): New function.
(phase5_get): Parse text blocks (Java 13 syntax).
* gettext-tools/tests/xgettext-java-2: Add tests of text blocks.
* gettext-tools/doc/gettext.texi (Java): Mention the text block syntax.
* NEWS: Mention the change.
2019-09-29 12:58:09 +02:00
Daiki Ueno
59d9b55bb2 tests: Use Exit instead of exit if init.sh is used
* gettext-tools/tests/*: Use Exit instead of exit, as suggested by
init.sh.
2016-06-08 15:28:49 +09:00
Daiki Ueno
ec84e32c72 tests: Undo the previous unintended file mode changes 2014-03-10 21:10:01 +09:00
Daiki Ueno
d66197a3ca tests: Remove unnecessary tempfile cleanup code
Cleanup code like "rm -fr $tmpfiles" are no longer needed, since
'init.sh' takes care of that.
2014-03-10 18:24:15 +09:00
Daiki Ueno
6c0abd26de gettext-tools: convert tests to use init.sh from Gnulib 2013-07-10 18:34:09 +09:00
Bruno Haible
cec3abadd6 Avoid testsuite failures on MacOS X 10.5. 2009-06-23 12:15:38 +02:00
Bruno Haible
3ab41f2649 Avoid test failures due to broken 'grep' program on OpenBSD 4.0. 2009-06-23 12:15:36 +02:00
Bruno Haible
2ae1594f76 Introduce a new header entry field 'Language'. 2009-06-23 12:15:35 +02:00
Bruno Haible
426db48d46 Avoid test suite failures on Cygwin-hosted mingw. 2009-06-23 12:15:19 +02:00
Bruno Haible
95bcc2a842 Handle lone high surrogates correctly. 2009-06-23 12:14:38 +02:00
Bruno Haible
ab8b926bd5 Expect \a and \v. 2009-06-23 12:12:36 +02:00
Bruno Haible
7eed9a5a18 Update after rename. 2009-06-23 12:11:13 +02:00
Bruno Haible
cde548e802 Move xgettext-11 to xgettext-java-2. 2009-06-23 12:11:10 +02:00