[compiler-rt] r259006 - [sancov] run sancov test on x86_64 linux only
Mike Aizatsky via llvm-commits
llvm-commits at lists.llvm.org
Wed Jan 27 16:35:17 PST 2016
Author: aizatsky
Date: Wed Jan 27 18:35:17 2016
New Revision: 259006
URL: http://llvm.org/viewvc/llvm-project?rev=259006&view=rev
Log:
[sancov] run sancov test on x86_64 linux only
Modified:
compiler-rt/trunk/test/asan/TestCases/Linux/coverage_html_report.cc
compiler-rt/trunk/test/lit.common.cfg
Modified: compiler-rt/trunk/test/asan/TestCases/Linux/coverage_html_report.cc
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/test/asan/TestCases/Linux/coverage_html_report.cc?rev=259006&r1=259005&r2=259006&view=diff
==============================================================================
--- compiler-rt/trunk/test/asan/TestCases/Linux/coverage_html_report.cc (original)
+++ compiler-rt/trunk/test/asan/TestCases/Linux/coverage_html_report.cc Wed Jan 27 18:35:17 2016
@@ -1,4 +1,5 @@
// REQUIRES: has_sancovcc
+// REQUIRES: x86_64-linux
// RUN: %clangxx_asan -fsanitize-coverage=func %s -o %t
// RUN: rm -rf %T/coverage_html_report
// RUN: mkdir -p %T/coverage_html_report
Modified: compiler-rt/trunk/test/lit.common.cfg
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/test/lit.common.cfg?rev=259006&r1=259005&r2=259006&view=diff
==============================================================================
--- compiler-rt/trunk/test/lit.common.cfg (original)
+++ compiler-rt/trunk/test/lit.common.cfg Wed Jan 27 18:35:17 2016
@@ -72,6 +72,9 @@ config.environment['PATH'] = path
if platform.system() == 'Windows' and '-win' in config.target_triple:
config.environment['LIB'] = os.environ['LIB']
+if re.match(r'^x86_64.*-linux', config.target_triple):
+ config.available_features.add("x86_64-linux")
+
# Use ugly construction to explicitly prohibit "clang", "clang++" etc.
# in RUN lines.
config.substitutions.append(
More information about the llvm-commits
mailing list