This is the mail archive of the 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]

A patch for gcc.misc-tests/mg.exp.

I was trying to figure out why gcc.misc-tests/mg.exp failed under
RedHat 7.0 beta. It turned out it had tcl 8.3.1. You have to use
braces for regular expression:

For some reason, it doesn't work with tcl 8.0.5. I don't know enough
about tcl to fix it right. I hope this will give someone a clue to
do it right.


H.J. Lu (
2000-09-06  H.J. Lu  (

	* gcc.misc-tests/mg.exp (compiler_output): Make it a regular

Index: gcc/testsuite/gcc.misc-tests/mg.exp
RCS file: /work/cvs/gnu/egcs/gcc/testsuite/gcc.misc-tests/mg.exp,v
retrieving revision
diff -u -p -r1.1.1.1 mg.exp
--- gcc/testsuite/gcc.misc-tests/mg.exp	2000/08/07 01:35:22
+++ gcc/testsuite/gcc.misc-tests/mg.exp	2000/09/06 23:16:00
@@ -23,5 +23,5 @@ load_lib mike-gcc.exp
 set actions none-of-the-above
-set compiler_output "mg.o ?: .*mg.c \[ \\\n\]*nonexist.h"
+set compiler_output {mg.o ?: .*mg.c [ \\\n]*nonexist.h}
 postbase mg.c "" "" "-MM -MG"

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