diff options
author | NAKAMURA Takumi <geek4civic@gmail.com> | 2011-03-05 11:15:55 +0000 |
---|---|---|
committer | NAKAMURA Takumi <geek4civic@gmail.com> | 2011-03-05 11:15:55 +0000 |
commit | 8e4245dff30436d1f4131e203a4630d374871e9f (patch) | |
tree | 2190045666f074a4df4863543380fe29b81548e6 | |
parent | 884b9dd182378c9d3ae4385ccf9030b989b3d028 (diff) |
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.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@127078 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | test/CodeGen/2008-07-17-no-emit-on-error.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/CodeGen/2008-07-17-no-emit-on-error.c b/test/CodeGen/2008-07-17-no-emit-on-error.c index 855ede7ab0..2cae57b3d8 100644 --- a/test/CodeGen/2008-07-17-no-emit-on-error.c +++ b/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() { } |