[libc-commits] [libc] cebe4de - [libc] Fix test failing on GPU using deprecated 'add_unittest'
Joseph Huber via libc-commits
libc-commits at lists.llvm.org
Fri Jan 19 08:38:48 PST 2024
Author: Joseph Huber
Date: 2024-01-19T10:38:41-06:00
New Revision: cebe4de66fb7effa9f8a521c2b9ed2c2b890e5b9
URL: https://github.com/llvm/llvm-project/commit/cebe4de66fb7effa9f8a521c2b9ed2c2b890e5b9
DIFF: https://github.com/llvm/llvm-project/commit/cebe4de66fb7effa9f8a521c2b9ed2c2b890e5b9.diff
LOG: [libc] Fix test failing on GPU using deprecated 'add_unittest'
Summary:
We use `add_libc_test' now because it works for both hermetic and unit
tests. If the test needs to be unit test only you use `UNIT_TEST_ONLY`
as an argument.
Added:
Modified:
libc/test/include/CMakeLists.txt
Removed:
################################################################################
diff --git a/libc/test/include/CMakeLists.txt b/libc/test/include/CMakeLists.txt
index 95a3aba9d95d900..183e7ecde719e55 100644
--- a/libc/test/include/CMakeLists.txt
+++ b/libc/test/include/CMakeLists.txt
@@ -1,6 +1,6 @@
add_custom_target(libc_include_tests)
-add_libc_unittest(
+add_libc_test(
sys_queue_test
SUITE
libc_include_tests
More information about the libc-commits
mailing list