public inbox for gcc@gcc.gnu.org
 help / color / mirror / Atom feed
* Help: Testsuite filenames are not parallel-make safe
@ 2004-10-15 10:09 Kaveh R. Ghazi
  2004-10-15 20:22 ` Mike Stump
  2004-10-15 20:22 ` Janis Johnson
  0 siblings, 2 replies; 3+ messages in thread
From: Kaveh R. Ghazi @ 2004-10-15 10:09 UTC (permalink / raw)
  To: gcc

I recently got some spurious errors from a "make -j3 check" in
gcc-3.3.x:

	FAIL: gcc.dg/debug/trivial.c -gstabs+ execution test
	FAIL: g++.dg/debug/trivial.C -gdwarf-2 -O3 execution test

By looking at the logfile and running the tests by hand I cannot
reproduce the errors separately.

I believe the transient failure occurs because both the gcc and g++
tests in this case were output to files named "./trivial.exe".  They
got created and tried to run at the same time and clobbered each
other.

I note that some tests are run with executable names like
"g++-mike-p7325-C.exe", whereas the debug tests don't do that.  This
filename encoding is slightly better because it puts one level of
directory into the output filename.  It's still not good enough for me
because both files would be "debug-trivial.exe".

If I could encode all of the directory path into the output filename
starting with what's underneath the testsuite/ dir, that would be
enough to separate these two files into "gcc-dg-debug-trivial.exe" and
"g++-dg-debug-trivial.exe" which would be safe.

Does anyone know where in the tcl maze this filename is set?
(I can't find it.)

Second, why is the filename encoding style different for these
g++.mike vs debug?  (I guess we're setting it differently and thus in
more than one place.)

		Thanks,
		--Kaveh
--
Kaveh R. Ghazi			ghazi@caip.rutgers.edu

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

end of thread, other threads:[~2004-10-15 19:07 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-10-15 10:09 Help: Testsuite filenames are not parallel-make safe Kaveh R. Ghazi
2004-10-15 20:22 ` Mike Stump
2004-10-15 20:22 ` Janis Johnson

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).