Fix test in external_symbolizer_path.cpp, by adding a REQUIRES: static-lib.
authorAmy Huang <akhuang@google.com>
Fri, 12 Feb 2021 21:58:50 +0000 (13:58 -0800)
committerAmy Huang <akhuang@google.com>
Fri, 12 Feb 2021 22:04:43 +0000 (14:04 -0800)
Follow-up to https://reviews.llvm.org/D94563.

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

index 19d5df5..8754e5a 100644 (file)
@@ -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