[cfe-commits] r127078 - /cfe/trunk/test/CodeGen/2008-07-17-no-emit-on-error.c

NAKAMURA Takumi geek4civic at gmail.com
Sat Mar 5 03:15:55 PST 2011


Author: chapuni
Date: Sat Mar  5 05:15:55 2011
New Revision: 127078

URL: http://llvm.org/viewvc/llvm-project?rev=127078&view=rev
Log:
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.

Modified:
    cfe/trunk/test/CodeGen/2008-07-17-no-emit-on-error.c

Modified: cfe/trunk/test/CodeGen/2008-07-17-no-emit-on-error.c
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/CodeGen/2008-07-17-no-emit-on-error.c?rev=127078&r1=127077&r2=127078&view=diff
==============================================================================
--- cfe/trunk/test/CodeGen/2008-07-17-no-emit-on-error.c (original)
+++ cfe/trunk/test/CodeGen/2008-07-17-no-emit-on-error.c Sat Mar  5 05:15:55 2011
@@ -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() {
 }





More information about the cfe-commits mailing list