testuite issues on darwin again

Andreas Tobler toa@pop.agri.ch
Wed Mar 27 11:12:00 GMT 2002


Tom Tromey wrote:

> 
> Could you send me your patch?  I'd like to see what, if anything, I
> can incorporate back into the test suite.

Well, it's not a patch, I did it this way:

set gccdir [lookfor_file $tool_root_dir gcc/libgcc.a]

I think a test on these files should be possible. Unfortunately I'm not 
very familiar yet with this tcl stuff.

--pseudocode--

if test libgcc_s.so true then
	set gccdir [lookfor_file $tool_root_dir gcc/libgcc_s.so]
else if test libgcc.a true then
	set gccdir [lookfor_file $tool_root_dir gcc/libgcc.a]
else 

	'you miss the libgcc file'
--
	


> Andreas> Has it something to do with expect not giving me the correct
> Andreas> thingy back or even worse does this command not get executed?
> Andreas> The negativ PID seems very odd.
> 
> Don't worry about the PID.  That is normal; I think the second number
> is the process group or something like that.  (I haven't looked at it
> in a long, long time.)

I read it later that it is the negativ PID.

> One place to start would be to turn on more verbosity.  Maybe that
> will help.  Every `--verbose' you pass to runtest will increase the
> verbosity.

I started this way and this technique brought me so far.

> 
> You can also run just a subset of the tests by specifying the name of
> the .exp file on the command line.
> 
> So start with something like:
> 
>     make check RUNTESTFLAGS='--verbose --verbose lang.exp'

I will investigate in this in a few minutes.

Thanks,

Andreas






More information about the Java mailing list