r193938 - Fix test to actually check the FixIt-applied code

Alp Toker alp at nuanti.com
Sat Nov 2 18:50:39 PDT 2013


Author: alp
Date: Sat Nov  2 20:50:38 2013
New Revision: 193938

URL: http://llvm.org/viewvc/llvm-project?rev=193938&view=rev
Log:
Fix test to actually check the FixIt-applied code

r102230 added an 'echo' making this a no-op.

Also fixes FAIL on native Windows with no shell/GnuWin32.

Modified:
    cfe/trunk/test/FixIt/fixit-errors-1.c

Modified: cfe/trunk/test/FixIt/fixit-errors-1.c
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/FixIt/fixit-errors-1.c?rev=193938&r1=193937&r2=193938&view=diff
==============================================================================
--- cfe/trunk/test/FixIt/fixit-errors-1.c (original)
+++ cfe/trunk/test/FixIt/fixit-errors-1.c Sat Nov  2 20:50:38 2013
@@ -1,6 +1,6 @@
 // RUN: cp %s %t
 // RUN: %clang_cc1 -pedantic -fixit %t
-// RUN: echo %clang_cc1 -pedantic -Werror -x c %t
+// RUN: %clang_cc1 -pedantic -Werror -x c %t
 
 /* This is a test of the various code modification hints that are
    provided as part of warning or extension diagnostics. All of the





More information about the cfe-commits mailing list