This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
RFA: testsuite change
- To: gcc-patches at gcc dot gnu dot org
- Subject: RFA: testsuite change
- From: Zack Weinberg <zack at wolery dot cumb dot org>
- Date: Wed, 10 May 2000 16:20:22 -0700
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