From: Sean Silva Date: Sat, 26 Mar 2016 03:37:45 +0000 (+0000) Subject: [libprofile] Add some missing `env` prefixes on commands. X-Git-Tag: llvmorg-3.9.0-rc1~10836 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=58cba2b27de6e2ad1a9314fb73ff5f9adb4bbc95;p=platform%2Fupstream%2Fllvm.git [libprofile] Add some missing `env` prefixes on commands. llvm-svn: 264490 --- diff --git a/compiler-rt/test/profile/instrprof-error.c b/compiler-rt/test/profile/instrprof-error.c index 4386d53..e73f182 100644 --- a/compiler-rt/test/profile/instrprof-error.c +++ b/compiler-rt/test/profile/instrprof-error.c @@ -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[]) { diff --git a/compiler-rt/test/profile/instrprof-version-mismatch.c b/compiler-rt/test/profile/instrprof-version-mismatch.c index 49ce4117..633fe9f 100644 --- a/compiler-rt/test/profile/instrprof-version-mismatch.c +++ b/compiler-rt/test/profile/instrprof-version-mismatch.c @@ -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; diff --git a/compiler-rt/test/profile/instrprof-visibility.cpp b/compiler-rt/test/profile/instrprof-visibility.cpp index de81af9..08b8865 100644 --- a/compiler-rt/test/profile/instrprof-visibility.cpp +++ b/compiler-rt/test/profile/instrprof-visibility.cpp @@ -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