[libprofile] Add some missing `env` prefixes on commands.
authorSean Silva <chisophugis@gmail.com>
Sat, 26 Mar 2016 03:37:45 +0000 (03:37 +0000)
committerSean Silva <chisophugis@gmail.com>
Sat, 26 Mar 2016 03:37:45 +0000 (03:37 +0000)
llvm-svn: 264490

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

index 4386d53..e73f182 100644 (file)
@@ -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[]) {
index 49ce411..633fe9f 100644 (file)
@@ -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;
index de81af9..08b8865 100644 (file)
@@ -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