This patch defines errno unit and integration test asserts as noop on GPU targets. Checking for errnos is tests has caused build breakages in previous patches.
20 lines
425 B
CMake
20 lines
425 B
CMake
set(arch_specific_deps)
|
|
if(LIBC_TARGET_ARCHITECTURE_IS_AARCH64)
|
|
set(arch_specific_deps libc.src.sys.auxv.getauxval)
|
|
endif()
|
|
add_object_library(
|
|
test
|
|
SRCS
|
|
test.cpp
|
|
COMPILE_OPTIONS
|
|
${TEST_COMPILE_FLAGS}
|
|
HDRS
|
|
test.h
|
|
DEPENDS
|
|
libc.hdr.stdint_proxy
|
|
libc.src.__support.OSUtil.osutil
|
|
libc.src.__support.CPP.atomic
|
|
libc.src.__support.macros.properties.architectures
|
|
${arch_specific_deps}
|
|
)
|