[libc-commits] [libc] [libc] Fix old unittests for wchar tests (PR #99060)

via libc-commits libc-commits at lists.llvm.org
Tue Jul 16 09:49:34 PDT 2024


llvmbot wrote:


<!--LLVM PR SUMMARY COMMENT-->

@llvm/pr-subscribers-libc

Author: Joseph Huber (jhuber6)

<details>
<summary>Changes</summary>

Summary:
These need to use `add_libc_test`.


---
Full diff: https://github.com/llvm/llvm-project/pull/99060.diff


1 Files Affected:

- (modified) libc/test/src/wchar/CMakeLists.txt (+2-2) 


``````````diff
diff --git a/libc/test/src/wchar/CMakeLists.txt b/libc/test/src/wchar/CMakeLists.txt
index cabf42ba9b0b2..3cc404b9c86fc 100644
--- a/libc/test/src/wchar/CMakeLists.txt
+++ b/libc/test/src/wchar/CMakeLists.txt
@@ -1,6 +1,6 @@
 add_custom_target(libc_wchar_unittests)
 
-add_libc_unittest(
+add_libc_test(
   btowc_test
   SUITE
     libc_wchar_unittests
@@ -11,7 +11,7 @@ add_libc_unittest(
     libc.src.wchar.btowc
 )
 
-add_libc_unittest(
+add_libc_test(
   wctob_test
   SUITE
     libc_wchar_unittests

``````````

</details>


https://github.com/llvm/llvm-project/pull/99060


More information about the libc-commits mailing list