[libc] fix strtointmax tests
authorMichael Jones <michaelrj@google.com>
Wed, 25 Jan 2023 00:08:41 +0000 (16:08 -0800)
committerMichael Jones <michaelrj@google.com>
Wed, 25 Jan 2023 21:58:47 +0000 (13:58 -0800)
commit656b6d0b2371f4e67c075f43ed1f23bb25b5771f
treee0b9f96954c7edb849a26f8009fd36610463a9ca
parent54ee1ff254db9466e48a67b9e45519698d384c46
[libc] fix strtointmax tests

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
libc/test/src/CMakeLists.txt
libc/test/src/inttypes/CMakeLists.txt