[libc-commits] [PATCH] D104816: [libc] Add a new suite called "libc-long-running-tests".

Siva Chandra via Phabricator via libc-commits libc-commits at lists.llvm.org
Wed Jun 23 13:47:50 PDT 2021


sivachandra created this revision.
sivachandra added a reviewer: lntue.
Herald added subscribers: libc-commits, ecnelises, tschuett, mgorny.
Herald added a project: libc-project.
sivachandra requested review of this revision.

This suite is helpful is adding long running tests which take a long
time to finish that they can be run on the public builders. They
will probably be run on special builders in future.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D104816

Files:
  libc/cmake/modules/LLVMLibCTestRules.cmake
  libc/test/CMakeLists.txt


Index: libc/test/CMakeLists.txt
===================================================================
--- libc/test/CMakeLists.txt
+++ libc/test/CMakeLists.txt
@@ -9,6 +9,7 @@
 add_dependencies(check-libc check-llvmlibc)
 
 add_custom_target(exhaustive-check-libc)
+add_custom_target(libc-long-running-tests)
 
 add_subdirectory(src)
 add_subdirectory(utils)
Index: libc/cmake/modules/LLVMLibCTestRules.cmake
===================================================================
--- libc/cmake/modules/LLVMLibCTestRules.cmake
+++ libc/cmake/modules/LLVMLibCTestRules.cmake
@@ -173,6 +173,11 @@
   add_dependencies(exhaustive-check-libc ${suite_name})
 endfunction(add_libc_exhaustive_testsuite)
 
+function(add_libc_long_running_testsuite suite_name)
+  add_custom_target(${suite_name})
+  add_dependencies(libc-long-running-tests ${suite_name})
+endfunction(add_libc_long_running_testsuite)
+
 # Rule to add a fuzzer test.
 # Usage
 #    add_libc_fuzzer(


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D104816.354070.patch
Type: text/x-patch
Size: 952 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/libc-commits/attachments/20210623/f9fbdb1a/attachment.bin>


More information about the libc-commits mailing list