This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

RFA: testsuite change


I need to test the preprocessor's behavior on assembly language
input.  The easiest way to do that is to use { dg-do preprocess } with
.S files in gcc.dg.  But for that to work, gcc.dg/dg.exp needs to scan
.S files.

Ok to install?  The ugly backslashes are Tcl's fault.

zw

	* gcc.dg/dg.exp: Scan .S files as well as .c files.

===================================================================
Index: testsuite/gcc.dg/dg.exp
--- testsuite/gcc.dg/dg.exp	1998/12/16 22:23:23	1.2
+++ testsuite/gcc.dg/dg.exp	2000/05/10 23:19:27
@@ -63,7 +63,8 @@ if ![info exists DEFAULT_CFLAGS] then {
 dg-init
 
 # Main loop.
-dg-runtest [lsort [glob -nocomplain $srcdir/$subdir/*.c]] "" $DEFAULT_CFLAGS
+dg-runtest [lsort [glob -nocomplain $srcdir/$subdir/*.\[cS\]]] \
+	"" $DEFAULT_CFLAGS
 
 # All done.
 dg-finish

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]