Along the way, made a change to run tool unittests when the target "check-libc" is run by introducing a libc testsuite for tool unittests. Reviewed By: michaelrj Differential Revision: https://reviews.llvm.org/D93142
12 lines
286 B
CMake
12 lines
286 B
CMake
add_libc_tool_unittest(
|
|
wrappergen_test
|
|
SRCS
|
|
wrappergen_test.cpp
|
|
ARGS
|
|
--path=${LIBC_SOURCE_DIR}
|
|
--tool=${CMAKE_BINARY_DIR}/bin/libc-wrappergen
|
|
--api=${LIBC_SOURCE_DIR}/test/utils/tools/WrapperGen/testapi.td
|
|
)
|
|
|
|
add_dependencies(wrappergen_test libc-wrappergen)
|