[libc-commits] [PATCH] D134994: [libc] disable syscall test without fullbuild

Michael Jones via Phabricator via libc-commits libc-commits at lists.llvm.org
Fri Sep 30 15:57:20 PDT 2022


This revision was not accepted when it landed; it landed in state "Needs Review".
This revision was landed with ongoing or failed builds.
This revision was automatically updated to reflect the committed changes.
Closed by commit rGdbca7b4b2e63: [libc] disable syscall test without fullbuild (authored by michaelrj).

Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D134994/new/

https://reviews.llvm.org/D134994

Files:
  libc/test/src/unistd/CMakeLists.txt


Index: libc/test/src/unistd/CMakeLists.txt
===================================================================
--- libc/test/src/unistd/CMakeLists.txt
+++ libc/test/src/unistd/CMakeLists.txt
@@ -362,17 +362,19 @@
     libc.src.unistd.geteuid
 )
 
-add_libc_unittest(
-  syscall_test
-  SUITE
-    libc_unistd_unittests
-  SRCS
-    syscall_test.cpp
-  DEPENDS
-    libc.src.unistd.__llvm_libc_syscall
-    libc.include.errno
-    libc.include.unistd
-    libc.include.fcntl
-    libc.include.sys_syscall
-    libc.test.errno_setter_matcher
-)
+if(LLVM_LIBC_FULL_BUILD)
+  add_libc_unittest(
+    syscall_test
+    SUITE
+      libc_unistd_unittests
+    SRCS
+      syscall_test.cpp
+    DEPENDS
+      libc.src.unistd.__llvm_libc_syscall
+      libc.include.errno
+      libc.include.unistd
+      libc.include.fcntl
+      libc.include.sys_syscall
+      libc.test.errno_setter_matcher
+  )
+endif()


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D134994.464423.patch
Type: text/x-patch
Size: 902 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/libc-commits/attachments/20220930/de86b17a/attachment.bin>


More information about the libc-commits mailing list