freebsd-src/lib/libc/tests
Mark Johnston 8164d511d6 libc/tests: Fix installation without MK_TOOLCHAIN
There is some exotic conditional logic here to avoid building a
particular test if a certain UBSAN library isn't present in the
toolchain sysroot.  This causes build failures for me when doing an
"installworld WITHOUT_TOOLCHAIN=", which I do frequently during tests.

I believe the problem is that SYSROOT is unset during installworld, so
the build sees the host's copy of libclang_rt.ubsan_standalone.a and
then tries to install a binary that wasn't built during buildworld.  Try
to make the check a bit less fragile.

Reviewed by:	dim
MFC after:	2 weeks
Differential Revision:	https://reviews.freebsd.org/D45035
2024-05-28 08:24:43 -04:00
..
c063 Remove $FreeBSD$: one-line sh pattern 2023-08-16 11:55:03 -06:00
db Remove $FreeBSD$: one-line sh pattern 2023-08-16 11:55:03 -06:00
gen libc: Purge unneeded cdefs.h 2023-11-01 16:44:30 -06:00
hash Remove $FreeBSD$: one-line sh pattern 2023-08-16 11:55:03 -06:00
iconv libc: Purge unneeded cdefs.h 2023-11-01 16:44:30 -06:00
inet Remove $FreeBSD$: one-line sh pattern 2023-08-16 11:55:03 -06:00
locale libc: Purge unneeded cdefs.h 2023-11-01 16:44:30 -06:00
net Remove $FreeBSD$: one-line sh pattern 2023-08-16 11:55:03 -06:00
nss libc: Purge unneeded cdefs.h 2023-11-01 16:44:30 -06:00
regex regex: mixed sets are misidentified as singletons 2023-12-22 12:19:59 +07:00
resolv Remove $FreeBSD$: one-line sh pattern 2023-08-16 11:55:03 -06:00
rpc Remove $FreeBSD$: one-line sh pattern 2023-08-16 11:55:03 -06:00
setjmp Remove $FreeBSD$: one-line sh pattern 2023-08-16 11:55:03 -06:00
ssp libc/tests: Fix installation without MK_TOOLCHAIN 2024-05-28 08:24:43 -04:00
stdio fflush: Add test for buffer handling in __sflush 2023-11-07 08:21:12 -05:00
stdlib pkgbase: install all libc test files into the tests package 2024-03-20 17:13:56 +01:00
string lib/libc/tests/string: add memrchr unit tests 2023-12-25 14:59:58 +01:00
sys libc/sys: add errno test 2024-02-25 22:35:17 +02:00
termios Remove $FreeBSD$: one-line sh pattern 2023-08-16 11:55:03 -06:00
time Remove $FreeBSD$: one-line sh pattern 2023-08-16 11:55:03 -06:00
tls pkgbase: install all libc test files into the tests package 2024-03-20 17:13:56 +01:00
tls_dso pkgbase: install all libc test files into the tests package 2024-03-20 17:13:56 +01:00
ttyio Remove $FreeBSD$: one-line sh pattern 2023-08-16 11:55:03 -06:00
Makefile Remove $FreeBSD$: one-line sh pattern 2023-08-16 11:55:03 -06:00
Makefile.depend Remove $FreeBSD$: one-line sh pattern 2023-08-16 11:55:03 -06:00
Makefile.netbsd-tests Remove $FreeBSD$: one-line sh pattern 2023-08-16 11:55:03 -06:00