[compiler-rt] 60a5533 - Fix test in external_symbolizer_path.cpp, by adding a REQUIRES: static-lib.

Amy Huang via llvm-commits llvm-commits at lists.llvm.org
Fri Feb 12 14:05:01 PST 2021


Author: Amy Huang
Date: 2021-02-12T14:04:43-08:00
New Revision: 60a55337e012b0c1739cad0f1b93fb35a7a0053f

URL: https://github.com/llvm/llvm-project/commit/60a55337e012b0c1739cad0f1b93fb35a7a0053f
DIFF: https://github.com/llvm/llvm-project/commit/60a55337e012b0c1739cad0f1b93fb35a7a0053f.diff

LOG: Fix test in external_symbolizer_path.cpp, by adding a REQUIRES: static-lib.

Follow-up to https://reviews.llvm.org/D94563.

Added: 
    

Modified: 
    compiler-rt/test/sanitizer_common/TestCases/external_symbolizer_path.cpp

Removed: 
    


################################################################################
diff  --git a/compiler-rt/test/sanitizer_common/TestCases/external_symbolizer_path.cpp b/compiler-rt/test/sanitizer_common/TestCases/external_symbolizer_path.cpp
index 19d5df5020d9..8754e5a72146 100644
--- a/compiler-rt/test/sanitizer_common/TestCases/external_symbolizer_path.cpp
+++ b/compiler-rt/test/sanitizer_common/TestCases/external_symbolizer_path.cpp
@@ -1,3 +1,10 @@
+// If the binary looks up libraries using an rpath, we can't test this
+// without copying the whole lib dir or polluting the build dir.
+// REQUIRES: static-libs
+
+// The above also applies if the binary is built with libc++.
+// UNSUPPORTED: libcxx-used
+
 // RUN: rm -rf %t.bin
 // RUN: mkdir %t.bin
 // RUN: cp $(which llvm-symbolizer) %t.bin


        


More information about the llvm-commits mailing list