[cfe-commits] r68521 - /cfe/trunk/test/Preprocessor/optimize.c

Daniel Dunbar daniel at zuster.org
Tue Apr 7 10:09:53 PDT 2009


Author: ddunbar
Date: Tue Apr  7 12:09:43 2009
New Revision: 68521

URL: http://llvm.org/viewvc/llvm-project?rev=68521&view=rev
Log:
Use %s in test, not hard coded name.

Modified:
    cfe/trunk/test/Preprocessor/optimize.c

Modified: cfe/trunk/test/Preprocessor/optimize.c
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/Preprocessor/optimize.c?rev=68521&r1=68520&r2=68521&view=diff

==============================================================================
--- cfe/trunk/test/Preprocessor/optimize.c (original)
+++ cfe/trunk/test/Preprocessor/optimize.c Tue Apr  7 12:09:43 2009
@@ -1,4 +1,4 @@
-// RUN: clang-cc -Eonly optimize.c -DOPT_O2 -O2 -verify &&
+// RUN: clang-cc -Eonly %s -DOPT_O2 -O2 -verify &&
 #ifdef OPT_O2
   #ifndef __OPTIMIZE__
     #error "__OPTIMIZE__ not defined"
@@ -8,7 +8,7 @@
   #endif
 #endif
 
-// RUN: clang-cc -Eonly optimize.c -DOPT_O0 -O0 -verify &&
+// RUN: clang-cc -Eonly %s -DOPT_O0 -O0 -verify &&
 #ifdef OPT_O0
   #ifdef __OPTIMIZE__
     #error "__OPTIMIZE__ defined"
@@ -18,7 +18,7 @@
   #endif
 #endif
 
-// RUN: clang-cc -Eonly optimize.c -DOPT_OS -Os -verify
+// RUN: clang-cc -Eonly %s -DOPT_OS -Os -verify
 #ifdef OPT_OS
   #ifndef __OPTIMIZE__
     #error "__OPTIMIZE__ not defined"





More information about the cfe-commits mailing list