summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNAKAMURA Takumi <geek4civic@gmail.com>2011-03-05 11:15:55 +0000
committerNAKAMURA Takumi <geek4civic@gmail.com>2011-03-05 11:15:55 +0000
commit98835748e35a0dc43a57ca48213958dd13860407 (patch)
tree2796c8f85ebe508b9902b56e5bf5148b33abd55b
parentfb7133249cda5c86df5aafbd1dd4b69aa2736e47 (diff)
downloadbcm5719-llvm-98835748e35a0dc43a57ca48213958dd13860407.tar.gz
bcm5719-llvm-98835748e35a0dc43a57ca48213958dd13860407.zip
test/CodeGen/2008-07-17-no-emit-on-error.c: Use LLVM's opt instead of "test(1)" for Mingw MSYS.
Mingw MSYS does not have test.exe (only shell built-in test), and is not capable to invoke test(1) from utils/not. llvm-svn: 127078
-rw-r--r--clang/test/CodeGen/2008-07-17-no-emit-on-error.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/clang/test/CodeGen/2008-07-17-no-emit-on-error.c b/clang/test/CodeGen/2008-07-17-no-emit-on-error.c
index 855ede7ab02..2cae57b3d89 100644
--- a/clang/test/CodeGen/2008-07-17-no-emit-on-error.c
+++ b/clang/test/CodeGen/2008-07-17-no-emit-on-error.c
@@ -1,9 +1,9 @@
// RUN: rm -f %t1.bc
// RUN: %clang_cc1 -DPASS %s -emit-llvm-bc -o %t1.bc
-// RUN: test -f %t1.bc
+// RUN: opt %t1.bc -disable-output
// RUN: rm -f %t1.bc
// RUN: not %clang_cc1 %s -emit-llvm-bc -o %t1.bc
-// RUN: not test -f %t1.bc
+// RUN: not opt %t1.bc -disable-output
void f() {
}
OpenPOWER on IntegriCloud