Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
* Re: [PATCH] quoting curly braces in call-rt-st
@ 2001-07-07 11:57 Michael Elizabeth Chastain
  0 siblings, 0 replies; 12+ messages in thread
From: Michael Elizabeth Chastain @ 2001-07-07 11:57 UTC (permalink / raw)
  To: ac131313, msnyder; +Cc: chastain, gdb-patches

Here is how I build my Dejagnu, as of this weekend's test run.

First I have baseline versions of TCL and Expect:

  ftp://tcl.activestate.com/pub/tcl/tcl8_0/tcl8.0.5.tar.gz
  http://expect.nist.gov/src/expect-5.30.tar.gz

These are not the latest versions of TCL and Expect, but they
work for me.

I configured TCL with "--enable-gcc" and "--disable-shared".
I configured Expect with "--disable-shared", "--with-tcl",
  "--with-tclconfig", and "--with-tclinclude".

These are installed on all the machines I use so I don't have to rebuild
them every week.

When I check out gdb, I also check out naked-dejagnu:

  CVSROOT=:pserver:anoncvs@anoncvs.cygnus.com:/cvs/src
  export CVSROOT
  expect -c 'spawn cvs login' -c 'expect password: ' -c 'send -- "anoncvs\r"' -c 'expect eof'
  cvs -z 9 co gdb binutils naked-dejagnu
  mv src source-src
  rm -rf CVS

I don't configure or make dejagnu.  When I run the gdb testsuite, it
looks for dejagnu/runtest in the source tree and finds it there.

(binutils is there because I'm also building gcc from cvs source).

My inclination is to leave the curly braces alone and just use the
known good test machinery for now.

In the future I would like to switch from the "naked-dejagnu" module
to some stable version of dejagnu.  And I'd like to firm up my scripts
and make them available to other people.  And I'd like to run the
gdb test script and have 0 ERRORs, 0 WARNINGs, and less than 10 FAILs.

MichaelC


^ permalink raw reply	[flat|nested] 12+ messages in thread
[parent not found: <3B411440.1691E1E5@cygnus.com>]
* Re: [PATCH] quoting curly braces in call-rt-st
@ 2001-07-05  8:34 Michael Elizabeth Chastain
  2001-07-05 10:11 ` Andrew Cagney
  0 siblings, 1 reply; 12+ messages in thread
From: Michael Elizabeth Chastain @ 2001-07-05  8:34 UTC (permalink / raw)
  To: ac131313, chastain, msnyder; +Cc: gdb-patches

I think the patterns are breaking now because a different person is
running them in a different environment -- specifically, with a different
version of 'expect'.  I always use /usr/progressive/bin/expect
on every platform.  I'm not sure what MichaelS is using; it depends
on his path.

This means our test harness machinery is vulnerable and fragile.
That's not good.  :(

I did some grepping:

  % cd /horton/chastain/fsf/log
  % grep -r 'FAIL.*call-rt-st.exp' *

My only FAIL's or XFAIL's are due to that new "procfs" message.

> For what its worth I was having fun running expect on Red Hat 7.x. 
> Zapping the expect built from CVS so that the pre-installed expect was 
> used mysteriously eliminated the problem.

That's weird because I get *more* fails when I use /usr/bin/expect!

Do you have /usr/progressive/bin in your path in front of /usr/bin?

BTW, I changed my test script recently so that it creates a new directory,
explicitly copies in the version of "expect" that I want to use,
and sticks that directory at the head of $PATH.

> PS: As an aside, I know Ian Rox. is thinking of hardwiring expects 
> pattern matcher because the tcl8.0->tcl8.3 transition results in broken 
> patterns.

I saw that message going by.  I think that would help.  Tom Tromey also
says that our gdb_test stack is nasty code.

MichaelC


^ permalink raw reply	[flat|nested] 12+ messages in thread
* Re: [PATCH] quoting curly braces in call-rt-st
@ 2001-07-02 18:13 Michael Elizabeth Chastain
  2001-07-05  8:09 ` Andrew Cagney
  0 siblings, 1 reply; 12+ messages in thread
From: Michael Elizabeth Chastain @ 2001-07-02 18:13 UTC (permalink / raw)
  To: gdb-patches, msnyder

I proofread this.  One problem: it needs "2001" in the list of
copyright years on the first line.  Other than that, it looked correct
and complete.  I checked for any residual "\{" or "\}"; there were none.

I tested this on native i686-pc-linux-gnu (Red Hat Linux 7) and
native sparc-sun-solaris2.8.  On Red Hat Linux 7, I used both
/usr/bin/expect and Gnupro expect.  It worked in all setups.

Recommended for approval, with the copyright year added to it.

MichaelC


^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2001-07-25 15:46 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-07-07 11:57 [PATCH] quoting curly braces in call-rt-st Michael Elizabeth Chastain
     [not found] <3B411440.1691E1E5@cygnus.com>
2001-07-09 13:37 ` Fernando Nasser
2001-07-09 13:42   ` H . J . Lu
2001-07-09 15:22     ` Fernando Nasser
2001-07-25 15:35       ` Michael Snyder
2001-07-25 15:41         ` Fernando Nasser
2001-07-25 15:46           ` Michael Snyder
  -- strict thread matches above, loose matches on Subject: below --
2001-07-05  8:34 Michael Elizabeth Chastain
2001-07-05 10:11 ` Andrew Cagney
2001-07-02 18:13 Michael Elizabeth Chastain
2001-07-05  8:09 ` Andrew Cagney
2001-07-05 11:32   ` Michael Snyder

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox