[compiler-rt] 10e1d50 - [test][ASAN] Fix incorrect REQUIRES directive for scandir.c

Justin Cady via llvm-commits llvm-commits at lists.llvm.org
Mon Jun 12 08:17:35 PDT 2023


Author: Justin Cady
Date: 2023-06-12T11:16:31-04:00
New Revision: 10e1d5080977c616121c6b9d0acd59a1c3daa9ac

URL: https://github.com/llvm/llvm-project/commit/10e1d5080977c616121c6b9d0acd59a1c3daa9ac
DIFF: https://github.com/llvm/llvm-project/commit/10e1d5080977c616121c6b9d0acd59a1c3daa9ac.diff

LOG: [test][ASAN] Fix incorrect REQUIRES directive for scandir.c

The missing colon caused the test to run on unintended platforms.

Reviewed By: emaste

Differential Revision: https://reviews.llvm.org/D152711

Added: 
    

Modified: 
    compiler-rt/test/sanitizer_common/TestCases/scandir.c

Removed: 
    


################################################################################
diff  --git a/compiler-rt/test/sanitizer_common/TestCases/scandir.c b/compiler-rt/test/sanitizer_common/TestCases/scandir.c
index db634dcb21c67..20b5e1191700f 100644
--- a/compiler-rt/test/sanitizer_common/TestCases/scandir.c
+++ b/compiler-rt/test/sanitizer_common/TestCases/scandir.c
@@ -1,4 +1,4 @@
-// REQUIRES (linux && !android) || freebsd
+// REQUIRES: (linux && !android) || freebsd
 
 // RUN: rm -rf %t-dir
 // RUN: mkdir -p %t-dir


        


More information about the llvm-commits mailing list