aboutsummaryrefslogtreecommitdiff
path: root/string/Makefile
diff options
context:
space:
mode:
authorFlorian Weimer <fweimer@redhat.com>2024-06-27 16:26:56 +0200
committerFlorian Weimer <fweimer@redhat.com>2024-08-01 09:41:24 +0200
commit127ef30c46586cfe9fa3e19ad074280b139c84c4 (patch)
tree1ba9307707ca761b37d9ca952727f06ae1ce10cb /string/Makefile
parent3b25c7fa878c01f9e656701b5d59438ea2e49ba4 (diff)
downloadglibc-127ef30c46586cfe9fa3e19ad074280b139c84c4.tar.xz
glibc-127ef30c46586cfe9fa3e19ad074280b139c84c4.zip
Enhanced test coverage for strncmp, wcsncmp
Add string/test-strncmp-nonarray and wcsmbs/test-wcsncmp-nonarray. This is the test that uncovered bug 31934. Test run time is more than one minute on a fairly current system, so turn these into xtests that do not run automatically. Reviewed-by: Noah Goldstein <goldstein.w.n@gmail.com> (cherry picked from commit 54252394c25ddf0062e288d4a6ab7a885f8ae009)
Diffstat (limited to 'string/Makefile')
-rw-r--r--string/Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/string/Makefile b/string/Makefile
index 2e20fc00fd..1dff405c27 100644
--- a/string/Makefile
+++ b/string/Makefile
@@ -236,7 +236,10 @@ tests-unsupported += $(tests-translation)
endif
# This test allocates a lot of memory and can run for a long time.
-xtests = tst-strcoll-overflow
+xtests += tst-strcoll-overflow
+
+# This test runs for a long time.
+xtests += test-strncmp-nonarray
# This test needs libdl.
ifeq (yes,$(build-shared))