summaryrefslogtreecommitdiff
path: root/modules/unistr
diff options
context:
space:
mode:
authorBruno Haible <bruno@clisp.org>2023-04-02 12:52:44 +0200
committerBruno Haible <bruno@clisp.org>2023-04-02 12:52:44 +0200
commit768593d575328a4b7c0fae0958f3d3af0a2ac3f9 (patch)
tree208c963bb27fb20d7487acc89693b67354813fd7 /modules/unistr
parentbbf0d3fdf25e8f85c7751ac0ee90a0f50a0f054d (diff)
downloadgnulib-768593d575328a4b7c0fae0958f3d3af0a2ac3f9.tar.gz
unistr/u*strstr tests: Add more tests.
* tests/unistr/test-u-strstr.h (test_u_strstr): Add the two latest tests from tests/test-strstr.c. * tests/unistr/test-u8-strstr.c (U_SET): New macro. * tests/unistr/test-u16-strstr.c (U_SET): New macro. * tests/unistr/test-u32-strstr.c (U_SET): New macro. * modules/unistr/u8-strstr-tests (Depends-on): Add unistr/u8-set. * modules/unistr/u16-strstr-tests (Depends-on): Add unistr/u16-set. * modules/unistr/u32-strstr-tests (Depends-on): Add unistr/u32-set.
Diffstat (limited to 'modules/unistr')
-rw-r--r--modules/unistr/u16-strstr-tests1
-rw-r--r--modules/unistr/u32-strstr-tests1
-rw-r--r--modules/unistr/u8-strstr-tests1
3 files changed, 3 insertions, 0 deletions
diff --git a/modules/unistr/u16-strstr-tests b/modules/unistr/u16-strstr-tests
index 5c3cfbff8d..3e77e8af4a 100644
--- a/modules/unistr/u16-strstr-tests
+++ b/modules/unistr/u16-strstr-tests
@@ -4,6 +4,7 @@ tests/unistr/test-u-strstr.h
tests/macros.h
Depends-on:
+unistr/u16-set
configure.ac:
AC_CHECK_DECLS_ONCE([alarm])
diff --git a/modules/unistr/u32-strstr-tests b/modules/unistr/u32-strstr-tests
index 8ec3124225..bccd5e602f 100644
--- a/modules/unistr/u32-strstr-tests
+++ b/modules/unistr/u32-strstr-tests
@@ -4,6 +4,7 @@ tests/unistr/test-u-strstr.h
tests/macros.h
Depends-on:
+unistr/u32-set
configure.ac:
AC_CHECK_DECLS_ONCE([alarm])
diff --git a/modules/unistr/u8-strstr-tests b/modules/unistr/u8-strstr-tests
index fdc7b76e12..23336d2184 100644
--- a/modules/unistr/u8-strstr-tests
+++ b/modules/unistr/u8-strstr-tests
@@ -4,6 +4,7 @@ tests/unistr/test-u-strstr.h
tests/macros.h
Depends-on:
+unistr/u8-set
configure.ac:
AC_CHECK_DECLS_ONCE([alarm])