Enable the kcov tests on supported architectures
i386 and 32-bit powerpc lack support for the needed atomic operations in userspace. Sponsored by: The FreeBSD Foundation
This commit is contained in:
parent
41e6d2091c
commit
1b7d882f00
@ -10,7 +10,10 @@ TESTSRC= ${SRCTOP}/contrib/netbsd-tests/kernel
|
||||
TESTSDIR= ${TESTSBASE}/sys/kern
|
||||
|
||||
ATF_TESTS_C+= basic_signal
|
||||
#ATF_TESTS_C+= kcov
|
||||
.if ${MACHINE_ARCH} != "i386" && ${MACHINE_ARCH} != "powerpc"
|
||||
# No support for atomic_load_64 on i386 or (32-bit) powerpc
|
||||
ATF_TESTS_C+= kcov
|
||||
.endif
|
||||
ATF_TESTS_C+= kern_copyin
|
||||
ATF_TESTS_C+= kern_descrip_test
|
||||
ATF_TESTS_C+= fdgrowtable_test
|
||||
|
@ -340,7 +340,7 @@ ATF_TC_BODY(kcov_thread_cmp, tc)
|
||||
}
|
||||
|
||||
struct multi_thread_data {
|
||||
char *buf;
|
||||
uint64_t *buf;
|
||||
int fd;
|
||||
u_int mode;
|
||||
int thread;
|
||||
|
Loading…
Reference in New Issue
Block a user