[libc-commits] [libc] [libc] added quick_exit function (PR #93620)

Michael Jones via libc-commits libc-commits at lists.llvm.org
Wed May 29 13:38:43 PDT 2024


================
@@ -373,6 +373,20 @@ if(LLVM_LIBC_FULL_BUILD)
       libc.src.signal.raise
   )
 
+  add_libc_test(
+    quick_exit_test
+    # The EXPECT_EXITS test is only availible for unit tests.
+    UNIT_TEST_ONLY
+    SUITE
+      libc-stdlib-tests
+    SRCS
+      quick_exit_test.cpp
+    DEPENDS
+      libc.include.stdlib
+      libc.src.stdlib.quick_exit
+      libc.src.stdlib.exit
----------------
michaelrj-google wrote:

once you remove the `exit` tests from the `cpp` file, you can also remove this dependency.

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


More information about the libc-commits mailing list