This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

runtest framework discrepancy



Using the 970907 dejagnu, and a obj directory that isn't in the source
directory, I'm able to do a 
	runtest --tool gcc 
in the gcc directory.

However, if I do it for g++, it tails like this:

$ runtest --tool g++
Test Run By robertl on Mon Sep  8 14:14:35 1997
Native configuration is i586-pc-sco3.2v5.0.4

                === g++ tests ===

Using /usr/local/bin/../share/dejagnu/baseboards/unix.exp as board description f
ile for target.
Using /usr/local/bin/../share/dejagnu/config/unix.exp as generic interface file
for target.
Using /play/egcs-970901/gcc/testsuite/config/default.exp as tool-and-target-spec
ific interface file.
Running /play/egcs-970901/gcc/testsuite/g++.old-deja/old-deja.exp ...
ERROR: GXX_UNDER_TEST does not exist


$ runtest --verbose --tool g++
[ munch ] 
Looking for library file /usr/local/bin/../share/dejagnu/standard.exp
Loading /usr/local/bin/../share/dejagnu/standard.exp
pushing config for target, name is unix
Running /play/egcs-970901/gcc/testsuite/g++.old-deja/old-deja.exp ...
Didn't find file /play/egcs-native/gcc/../xgcc, returning c++
ERROR: GXX_UNDER_TEST does not exist


Aaaah.   The old relative pathname trick.  If I now cd into testsuite,
I see something more reasonable:

Looking for library file /usr/local/bin/../share/dejagnu/standard.exp
Loading /usr/local/bin/../share/dejagnu/standard.exp
pushing config for target, name is unix
Running /play/egcs-970901/gcc/testsuite/g++.old-deja/old-deja.exp ...
Found file, returning /play/egcs-native/gcc/testsuite/../xgcc -B/play/egcs-nativ
e/gcc/testsuite/../
/play/egcs-native/gcc/testsuite/xgcc
dest in standard_file is rjlhome
/play/egcs-native/gcc/xgcc
compiler is /play/egcs-native/gcc/xgcc
/play/egcs-native/i586-pc-sco3.2v5.0.4
dest in standard_file is rjlhome


Clearly, this isn't a traumatic thing, but it's a little annoying and 
inconsistent.




Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]