[compiler-rt] r299452 - Avoid sub shell.
Rafael Espindola via llvm-commits
llvm-commits at lists.llvm.org
Tue Apr 4 10:49:45 PDT 2017
Author: rafael
Date: Tue Apr 4 12:49:45 2017
New Revision: 299452
URL: http://llvm.org/viewvc/llvm-project?rev=299452&view=rev
Log:
Avoid sub shell.
Another step in getting these tests to run with the integrated one.
Modified:
compiler-rt/trunk/test/asan/TestCases/Linux/coverage-missing.cc
Modified: compiler-rt/trunk/test/asan/TestCases/Linux/coverage-missing.cc
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/test/asan/TestCases/Linux/coverage-missing.cc?rev=299452&r1=299451&r2=299452&view=diff
==============================================================================
--- compiler-rt/trunk/test/asan/TestCases/Linux/coverage-missing.cc (original)
+++ compiler-rt/trunk/test/asan/TestCases/Linux/coverage-missing.cc Tue Apr 4 12:49:45 2017
@@ -22,7 +22,8 @@
// The "missing from foo" set may contain a few bogus PCs from the sanitizer
// runtime, but it must include the entire "bar" code path as a subset. Sorted
// lists can be tested for set inclusion with diff + grep.
-// RUN: ( diff bar.txt foo-missing-with-main.txt || true ) | not grep "^<"
+// RUN: diff bar.txt foo-missing-with-main.txt > %t.log || true
+// RUN: not grep "^<" %t.log
// Second case: coverage from DSO.
// cd %T
@@ -41,7 +42,8 @@
// RUN: rm *.sancov
// RUN: count 3 < bar.txt
// RUN: %sancov missing %dynamiclib < foo.txt > foo-missing.txt
-// RUN: ( diff bar.txt foo-missing.txt || true ) | not grep "^<"
+// RUN: diff bar.txt foo-missing.txt > %t.log || true
+// RUN: not grep "^<" %t.log
// REQUIRES: x86-target-arch
// XFAIL: android
More information about the llvm-commits
mailing list