[compiler-rt] 27b1a82 - [test][sanitizer] Fix REQUIRES in few tests

Vitaly Buka via llvm-commits llvm-commits at lists.llvm.org
Wed Aug 10 16:17:23 PDT 2022


Author: Vitaly Buka
Date: 2022-08-10T16:17:12-07:00
New Revision: 27b1a8273dc9dc0f87fd7acc1b875e38ecd6b3bf

URL: https://github.com/llvm/llvm-project/commit/27b1a8273dc9dc0f87fd7acc1b875e38ecd6b3bf
DIFF: https://github.com/llvm/llvm-project/commit/27b1a8273dc9dc0f87fd7acc1b875e38ecd6b3bf.diff

LOG: [test][sanitizer] Fix REQUIRES in few tests

Added: 
    

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

Removed: 
    


################################################################################
diff  --git a/compiler-rt/test/sanitizer_common/TestCases/Linux/netent.cpp b/compiler-rt/test/sanitizer_common/TestCases/Linux/netent.cpp
index b18fc79330ec..0c3a464a541e 100644
--- a/compiler-rt/test/sanitizer_common/TestCases/Linux/netent.cpp
+++ b/compiler-rt/test/sanitizer_common/TestCases/Linux/netent.cpp
@@ -1,6 +1,6 @@
 // RUN: %clangxx -O0 -g %s -o %t
 //
-// REQUIRES: linux, freebsd
+// REQUIRES: linux || freebsd
 
 #include <inttypes.h>
 #include <netdb.h>

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


        


More information about the llvm-commits mailing list