"make check" doesn't run libio tests when srcdir == builddir

Kaveh R. Ghazi ghazi@caip.rutgers.edu
Fri Apr 16 07:48:00 GMT 1999


	For the last week or two, when I run "make check", the libio
tests don't run.  This only happens if srcdir == builddir.

I tested on Irix6 (but it occurs everywhere) both srcdir == builddir
and a relative srcdir of ../egcs.  In the relative case, everything
worked fine.  In the case where srcdir == builddir, the check in the
libio directory calls "make SETLOTSOFVARIABLES subdir_do" which does
nothing.

	I looked a bit closer at the "subdir_do" target in libio/Makefile.
It loops over DODIRS which is set to "tests dbz stdio testsuite".  If
any of these subdirs has a Makefile in it, it runs make in that dir.
In my case, none of these subdirs have a Makefile in them when
srcdir == builddir.  For some reason I can't determine, they weren't
created.

	This may be related to another failure I reported in

http://egcs.cygnus.com/ml/egcs-bugs/1999-04/msg00405.html
http://egcs.cygnus.com/ml/egcs-bugs/1999-04/msg00451.html

		--Kaveh

PS:  Help!  I'm in multilib hell. :-)
--
Kaveh R. Ghazi			Engagement Manager / Project Services
ghazi@caip.rutgers.edu		Qwest Internet Solutions


More information about the Gcc-bugs mailing list