[compiler-rt] r264490 - [libprofile] Add some missing `env` prefixes on commands.

Sean Silva via llvm-commits llvm-commits at lists.llvm.org
Fri Mar 25 20:37:46 PDT 2016


Author: silvas
Date: Fri Mar 25 22:37:45 2016
New Revision: 264490

URL: http://llvm.org/viewvc/llvm-project?rev=264490&view=rev
Log:
[libprofile] Add some missing `env` prefixes on commands.

Modified:
    compiler-rt/trunk/test/profile/instrprof-error.c
    compiler-rt/trunk/test/profile/instrprof-version-mismatch.c
    compiler-rt/trunk/test/profile/instrprof-visibility.cpp

Modified: compiler-rt/trunk/test/profile/instrprof-error.c
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/test/profile/instrprof-error.c?rev=264490&r1=264489&r2=264490&view=diff
==============================================================================
--- compiler-rt/trunk/test/profile/instrprof-error.c (original)
+++ compiler-rt/trunk/test/profile/instrprof-error.c Fri Mar 25 22:37:45 2016
@@ -1,7 +1,7 @@
 // RUN: %clang_profgen -o %t -O3 %s
 // RUN: touch %t.profraw
 // RUN: chmod -w %t.profraw
-// RUN: LLVM_PROFILE_FILE=%t.profraw LLVM_PROFILE_VERBOSE_ERRORS=1 %run %t 1 2>&1 | FileCheck %s
+// RUN: env LLVM_PROFILE_FILE=%t.profraw LLVM_PROFILE_VERBOSE_ERRORS=1 %run %t 1 2>&1 | FileCheck %s
 // RUN: chmod +w %t.profraw
 
 int main(int argc, const char *argv[]) {

Modified: compiler-rt/trunk/test/profile/instrprof-version-mismatch.c
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/test/profile/instrprof-version-mismatch.c?rev=264490&r1=264489&r2=264490&view=diff
==============================================================================
--- compiler-rt/trunk/test/profile/instrprof-version-mismatch.c (original)
+++ compiler-rt/trunk/test/profile/instrprof-version-mismatch.c Fri Mar 25 22:37:45 2016
@@ -1,5 +1,5 @@
 // RUN: %clang_profgen -o %t -O3 %s
-// RUN: LLVM_PROFILE_VERBOSE_ERRORS=1 %run %t 1 2>&1 | FileCheck %s
+// RUN: env LLVM_PROFILE_VERBOSE_ERRORS=1 %run %t 1 2>&1 | FileCheck %s
 
 // override the version variable with a bogus version:
 unsigned long long __llvm_profile_raw_version = 10000;

Modified: compiler-rt/trunk/test/profile/instrprof-visibility.cpp
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/test/profile/instrprof-visibility.cpp?rev=264490&r1=264489&r2=264490&view=diff
==============================================================================
--- compiler-rt/trunk/test/profile/instrprof-visibility.cpp (original)
+++ compiler-rt/trunk/test/profile/instrprof-visibility.cpp Fri Mar 25 22:37:45 2016
@@ -1,5 +1,5 @@
 // RUN: %clangxx_profgen -fcoverage-mapping %S/Inputs/instrprof-visibility-helper.cpp -o %t %s
-// RUN: LLVM_PROFILE_FILE=%t.profraw %run %t
+// RUN: env LLVM_PROFILE_FILE=%t.profraw %run %t
 // RUN: llvm-profdata merge %t.profraw -o %t.profdata
 // RUN: llvm-profdata show --all-functions %t.profraw | FileCheck %s --check-prefix=PROFILE
 // RUN: llvm-cov show %t -instr-profile=%t.profdata | FileCheck %s --check-prefix=COV




More information about the llvm-commits mailing list