aboutsummaryrefslogtreecommitdiff
path: root/stdlib/Makefile
diff options
context:
space:
mode:
authorAdhemerval Zanella <adhemerval.zanella@linaro.org>2023-10-03 09:22:51 -0300
committerAdhemerval Zanella <adhemerval.zanella@linaro.org>2023-10-31 14:18:07 -0300
commitbc888a3976700a3607f6ec4a36dbf3030161cb3e (patch)
tree986423916ac28c61017511b5a89b8ebe3b28d90c /stdlib/Makefile
parent03bf8357e8291857a435afcc3048e0b697b6cc04 (diff)
downloadglibc-bc888a3976700a3607f6ec4a36dbf3030161cb3e.zip
glibc-bc888a3976700a3607f6ec4a36dbf3030161cb3e.tar.gz
glibc-bc888a3976700a3607f6ec4a36dbf3030161cb3e.tar.bz2
stdlib: Add more qsort{_r} coverage
This patch adds a qsort and qsort_r to trigger the worst case scenario for the quicksort (which glibc current lacks coverage). The test is done with random input, dfferent internal types (uint8_t, uint16_t, uint32_t, uint64_t, large size), and with different set of element numbers. Checked on x86_64-linux-gnu and i686-linux-gnu. Reviewed-by: Noah Goldstein <goldstein.w.n@gmail.com>
Diffstat (limited to 'stdlib/Makefile')
-rw-r--r--stdlib/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/stdlib/Makefile b/stdlib/Makefile
index 095518e..6af6061 100644
--- a/stdlib/Makefile
+++ b/stdlib/Makefile
@@ -214,6 +214,7 @@ tests := \
tst-on_exit \
tst-qsort \
tst-qsort2 \
+ tst-qsort3 \
tst-quick_exit \
tst-rand48 \
tst-rand48-2 \