git: 9da002988940 - stable/13 - qsort_b_test: Only build on clang.
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 11 Nov 2022 18:37:01 UTC
The branch stable/13 has been updated by jhb:
URL: https://cgit.FreeBSD.org/src/commit/?id=9da0029889407275881ecf89e649a755051d8963
commit 9da0029889407275881ecf89e649a755051d8963
Author: John Baldwin <jhb@FreeBSD.org>
AuthorDate: 2022-10-03 23:14:39 +0000
Commit: John Baldwin <jhb@FreeBSD.org>
CommitDate: 2022-11-11 18:18:54 +0000
qsort_b_test: Only build on clang.
GCC doesn't support -fblocks.
Reviewed by: kib
Differential Revision: https://reviews.freebsd.org/D36809
(cherry picked from commit ab9293239c7def9b93e3892f60ec3e7212b29bab)
---
lib/libc/tests/stdlib/Makefile | 2 ++
1 file changed, 2 insertions(+)
diff --git a/lib/libc/tests/stdlib/Makefile b/lib/libc/tests/stdlib/Makefile
index b13b6e9a4fae..e54951693c3b 100644
--- a/lib/libc/tests/stdlib/Makefile
+++ b/lib/libc/tests/stdlib/Makefile
@@ -6,7 +6,9 @@ ATF_TESTS_C+= dynthr_test
ATF_TESTS_C+= heapsort_test
ATF_TESTS_C+= mergesort_test
ATF_TESTS_C+= qsort_test
+.if ${COMPILER_TYPE} == "clang"
ATF_TESTS_C+= qsort_b_test
+.endif
ATF_TESTS_C+= qsort_r_test
ATF_TESTS_C+= qsort_s_test
ATF_TESTS_C+= set_constraint_handler_s_test