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

Joseph Huber via libc-commits libc-commits at lists.llvm.org
Thu Aug 1 10:03:38 PDT 2024


https://github.com/jhuber6 created https://github.com/llvm/llvm-project/pull/101519

Summary:
These need to use `add_libc_test`.


>From 7cc254631964f67d7c55f35e0e043e70b931e6bb Mon Sep 17 00:00:00 2001
From: Joseph Huber <huberjn at outlook.com>
Date: Tue, 16 Jul 2024 11:47:40 -0500
Subject: [PATCH] [libc] Fix old unittests for wchar tests

Summary:
These need to use `add_libc_test`.
---
 libc/test/src/wchar/CMakeLists.txt | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

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



More information about the libc-commits mailing list