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:08:32 +0200
commit54252394c25ddf0062e288d4a6ab7a885f8ae009 (patch)
tree24f31c3d03a06f9f6ae0635dbaa0d80dda178eb5 /string/Makefile
parent783d4c0b81889c39a9ddf13b60d0fde4040fb1c0 (diff)
downloadglibc-54252394c25ddf0062e288d4a6ab7a885f8ae009.tar.xz
glibc-54252394c25ddf0062e288d4a6ab7a885f8ae009.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>
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))