The strtointmax tests weren't running because they depend on the same
shared logic as strtol tests and the target for that was being defined
after the inttypes targets, causing them to be skipped. This patch moves
the inttypes test directory later in the order so that the shared tests
are defined before inttypes tests try to use them.
Reviewed By: sivachandra, lntue
Differential Revision: https://reviews.llvm.org/D142515
add_subdirectory(ctype)
add_subdirectory(errno)
add_subdirectory(fenv)
-add_subdirectory(inttypes)
add_subdirectory(math)
add_subdirectory(string)
add_subdirectory(stdlib)
+add_subdirectory(inttypes)
add_subdirectory(stdio)
if(${LIBC_TARGET_OS} STREQUAL "linux")
strtoimax_test.cpp
DEPENDS
libc.src.inttypes.strtoimax
- libc.test.stdlib.strtol_test_support
+ libc.test.src.stdlib.strtol_test_support
)
add_libc_unittest(
strtoumax_test.cpp
DEPENDS
libc.src.inttypes.strtoumax
- libc.test.stdlib.strtol_test_support
+ libc.test.src.stdlib.strtol_test_support
)
add_libc_unittest(