public inbox for gcc@gcc.gnu.org
 help / color / mirror / Atom feed
* dejagnu for SCO Open Server 5
@ 2001-01-19 10:41 David Gressett
  2001-01-19 11:02 ` Jean-Pierre Radley
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: David Gressett @ 2001-01-19 10:41 UTC (permalink / raw)
  To: gcc

Has anybody built a working dejagnu for SCO Open Server 5.04 or 5.05?
I have built gcc-2.95.3.test2, but I cannot test it. I can't get
degagnu-20000518 to build as-is. It dies building libiberty, even though
gcc has already done that. I can go down into the dejagnu subdirectory and
configure and install from there, as I already have the skunkware tcl and
expect and can thus avoid the inability to build them from the dejagnu
distribution. Something is still missing. make check-gcc produces these
messages

WARNING: Couldn't find the global config file
WARNING: Couldn't find the tool init file

By digging through the source code, I find that a missing file is "site.exp",
but I have no idea how to construct it. I know next to nothing about tcl or
expect. (Time to learn. Sigh. Those 30-hour days on backorder are probably
never going to come in.)


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

* Re: dejagnu for SCO Open Server 5
  2001-01-19 10:41 dejagnu for SCO Open Server 5 David Gressett
@ 2001-01-19 11:02 ` Jean-Pierre Radley
  2001-01-20 12:09 ` Robert Lipe
  2001-01-26  7:52 ` Possible patch for: " Gerald Pfeifer
  2 siblings, 0 replies; 4+ messages in thread
From: Jean-Pierre Radley @ 2001-01-19 11:02 UTC (permalink / raw)
  To: GCC Developers

David Gressett propounded (on Fri, Jan 19, 2001 at 01:00:01PM -0600):
| Has anybody built a working dejagnu for SCO Open Server 5.04 or 5.05?

What's a dejagnu?  If you mean gcc, yes, up until last week.
Something was broken then and should be fixed imminently in the source tree.


-- 
JP

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

* Re: dejagnu for SCO Open Server 5
  2001-01-19 10:41 dejagnu for SCO Open Server 5 David Gressett
  2001-01-19 11:02 ` Jean-Pierre Radley
@ 2001-01-20 12:09 ` Robert Lipe
  2001-01-26  7:52 ` Possible patch for: " Gerald Pfeifer
  2 siblings, 0 replies; 4+ messages in thread
From: Robert Lipe @ 2001-01-20 12:09 UTC (permalink / raw)
  To: David Gressett; +Cc: gcc

David Gressett wrote:
> Has anybody built a working dejagnu for SCO Open Server 5.04 or 5.05?

Yes.  I've jused dejagnu for the GCC testsuite on OpenServer for years.

> I have built gcc-2.95.3.test2, but I cannot test it. I can't get
> degagnu-20000518 to build as-is.

I don't know how old my dejagnu is, but it's older than that.  I don't
recall the build being eventful.  My runtest has a date of October 1998.

$ runtest --version
WARNING: Couldn't find the global config file.
Expect version is       5.26
Tcl version is          8.0
Framework version is    1.3.0


> It dies building libiberty, even though gcc has already done that.

The terms of death would be helpful to know.

> I can go down into the dejagnu subdirectory and configure and install
> from there, as I already have the skunkware tcl and expect and can
> thus avoid the inability to build them from the dejagnu distribution.

I do think I recall that not working well in the past.  It seemed that
no two versions of tcl were compatible enough so it was worth it to
me to make the tradeoff of build time vs. grief to use the integrated
versions.


> Something is still missing. make check-gcc produces these
> messages
> 
> WARNING: Couldn't find the global config file
> WARNING: Couldn't find the tool init file

Those are warnings, not errors.   Mine displays the first.

> By digging through the source code, I find that a missing file is "site.exp",
> but I have no idea how to construct it. I know next to nothing about tcl or
> expect. (Time to learn. Sigh. Those 30-hour days on backorder are probably
> never going to come in.)

On mine, site.exp is mechanically generated in $objdir/gcc/.  It
contains things like the correct -I and -L incantations to do the
testsuite run from the locally installed directory.


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

* Possible patch for: dejagnu for SCO Open Server 5
  2001-01-19 10:41 dejagnu for SCO Open Server 5 David Gressett
  2001-01-19 11:02 ` Jean-Pierre Radley
  2001-01-20 12:09 ` Robert Lipe
@ 2001-01-26  7:52 ` Gerald Pfeifer
  2 siblings, 0 replies; 4+ messages in thread
From: Gerald Pfeifer @ 2001-01-26  7:52 UTC (permalink / raw)
  To: David Gressett; +Cc: gcc, gcc-patches

On Fri, 19 Jan 2001, David Gressett wrote:
> Something is still missing. make check-gcc produces these messages
>
> WARNING: Couldn't find the global config file
> WARNING: Couldn't find the tool init file

The testsuite documentation is a bit lacking, unfortunately. I'm going
to install the following patch which might make the situation is bit
more clear -- I hope.

Does this help?

Gerald

Index: test.html
===================================================================
RCS file: /cvs/gcc/wwwdocs/htdocs/install/test.html,v
retrieving revision 1.26
diff -u -3 -p -r1.26 test.html
--- test.html	2001/01/18 16:32:17	1.26
+++ test.html	2001/01/26 15:47:38
@@ -24,24 +24,24 @@ dejagnu 1.3 is not sufficient.  We have
 <a href=" ftp://gcc.gnu.org/pub/gcc/infrastructure "> ftp://gcc.gnu.org/pub/gcc/infrastructure </a>
 until a new version of dejagnu has been released.</p>

-<p>A few targets require specific preparations:</p>
+<p>Now you may need specific preparations:</p>

 <ul>

 <li>
 In order to run the libio tests on targets which do not fully
 support Unix/POSIX commands (e.g. Cgwin), the references to the dbz
-directory may be deleted from libio/configure.in.
+directory have to be deleted from libio/configure.in.
 </li>

 <li>
-<p>When there is difficulty resolving paths to the files init.tcl and
-runtest.exp, the following environment variables should be set
-appropriately, for example:</p>
+<p>The following environment variables must be set appropriately, as in
+the following example (which assumes that dejagnu has been installed under
+/usr/local):</p>

 <blockquote><code>
-TCL_LIBRARY = /usr/share/tcl8.0<br>
-DEJAGNULIBS = /usr/share/dejagnu
+TCL_LIBRARY = /usr/local/share/tcl8.0<br>
+DEJAGNULIBS = /usr/local/share/dejagnu
 </code></blockquote>

 <p>On systems such as Cygwin, these paths are required to be actual

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

end of thread, other threads:[~2001-01-26  7:52 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-01-19 10:41 dejagnu for SCO Open Server 5 David Gressett
2001-01-19 11:02 ` Jean-Pierre Radley
2001-01-20 12:09 ` Robert Lipe
2001-01-26  7:52 ` Possible patch for: " Gerald Pfeifer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).