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]
Other format: [Raw text]

Re: Testsuite patch for Solaris 10

Janis Johnson wrote:

It's not clear to me that embedding pieces of TCL code syntax in individual tests - rather than dg-whatever-keyword which have defined simple syntax independent of the particular test harness - is an improvement. It seems desirable for the test format to be seen as a specification independent of implementation language - which might, for example, be used with QMTest's DejaGnu emulation, not just with the particular current harness.

Amen.  Janis, while I think your idea is an excellent one, how about
keeping all of the TCL bits in predicates in some separate .exp file?

I too would like to avoid Tcl in the actual tests themselves. That's partly to be able to swap out DejaGNU, and partly because a lot of people writing tests do not know all the ins and outs of Tcl.

enough.  Joseph, can you hold off for a few days so I can try to find
a way to support conditional expressions within the test framework
other than via TCL?

Joseph, if you've not already checked in, would you please hold off as Janis asks? As she is the testsuite maintainer, her opinion should count more than mine, and if there is a cleaner way to do things, that would be great. If you've already checked in, I guess it's up to Janis whether she wants you to back out your changes.


Mark Mitchell
CodeSourcery, LLC
(916) 791-8304

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