[compiler-rt] 49f282b - [sanitizer][test] Remove no-op REQUIRES:

Fangrui Song via llvm-commits llvm-commits at lists.llvm.org
Mon Jun 12 14:15:09 PDT 2023


Author: Fangrui Song
Date: 2023-06-12T14:15:03-07:00
New Revision: 49f282b5496600d9a9bc3ea311cf718e892ddf2c

URL: https://github.com/llvm/llvm-project/commit/49f282b5496600d9a9bc3ea311cf718e892ddf2c
DIFF: https://github.com/llvm/llvm-project/commit/49f282b5496600d9a9bc3ea311cf718e892ddf2c.diff

LOG: [sanitizer][test] Remove no-op REQUIRES:

Some patches around D109843 added `REQUIRES: freebsd` but they have no effects
due to sanitizer_common/TestCases/Linux/lit.local.cfg.py . I informed the author
but don't plan to move the tests.

Added: 
    

Modified: 
    compiler-rt/test/sanitizer_common/TestCases/Linux/getgrouplist.cpp
    compiler-rt/test/sanitizer_common/TestCases/Linux/netent.cpp
    compiler-rt/test/sanitizer_common/TestCases/Linux/protoent.cpp
    compiler-rt/test/sanitizer_common/TestCases/Linux/ttyent.cpp

Removed: 
    


################################################################################
diff  --git a/compiler-rt/test/sanitizer_common/TestCases/Linux/getgrouplist.cpp b/compiler-rt/test/sanitizer_common/TestCases/Linux/getgrouplist.cpp
index 314fcda4cc8fd..7e1b8f1963f27 100644
--- a/compiler-rt/test/sanitizer_common/TestCases/Linux/getgrouplist.cpp
+++ b/compiler-rt/test/sanitizer_common/TestCases/Linux/getgrouplist.cpp
@@ -1,6 +1,4 @@
 // RUN: %clangxx -O0 -g %s -o %t && %run %t
-//
-// REQUIRES: linux || freebsd || netbsd
 
 #include <stdlib.h>
 #include <unistd.h>

diff  --git a/compiler-rt/test/sanitizer_common/TestCases/Linux/netent.cpp b/compiler-rt/test/sanitizer_common/TestCases/Linux/netent.cpp
index 659a14c570fd0..8104ae0723391 100644
--- a/compiler-rt/test/sanitizer_common/TestCases/Linux/netent.cpp
+++ b/compiler-rt/test/sanitizer_common/TestCases/Linux/netent.cpp
@@ -3,8 +3,6 @@
 // bionic/netdb.cpp is not implemented.
 // UNSUPPORTED: android
 
-// REQUIRES: linux || freebsd
-
 #include <inttypes.h>
 #include <netdb.h>
 #include <stdint.h>

diff  --git a/compiler-rt/test/sanitizer_common/TestCases/Linux/protoent.cpp b/compiler-rt/test/sanitizer_common/TestCases/Linux/protoent.cpp
index 890b8bb7db059..91c7cdae58687 100644
--- a/compiler-rt/test/sanitizer_common/TestCases/Linux/protoent.cpp
+++ b/compiler-rt/test/sanitizer_common/TestCases/Linux/protoent.cpp
@@ -4,8 +4,6 @@
 // bionic/netdb.cpp is not implemented.
 // UNSUPPORTED: android
 
-// REQUIRES: linux || freebsd
-
 #include <netdb.h>
 #include <stdio.h>
 #include <stdlib.h>

diff  --git a/compiler-rt/test/sanitizer_common/TestCases/Linux/ttyent.cpp b/compiler-rt/test/sanitizer_common/TestCases/Linux/ttyent.cpp
index 502e5d7127134..29095432943d0 100644
--- a/compiler-rt/test/sanitizer_common/TestCases/Linux/ttyent.cpp
+++ b/compiler-rt/test/sanitizer_common/TestCases/Linux/ttyent.cpp
@@ -1,6 +1,4 @@
 // RUN: %clangxx -O0 -g %s -o %t
-//
-// REQUIRES: freebsd || netbsd
 
 #include <assert.h>
 #include <stdlib.h>


        


More information about the llvm-commits mailing list