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]

libio test results on OpenServer



I've been a slacker about testing libio.   I'd been blaming  it on my
resistance to do a 'make install', preferring instead to run from my
tree.

Essentially all the -mcoff tests failed becuase Dejagnu passed bogus 
-L arguments to the test.   I'd thought in the past this was becuas
I was trying to test in the tree, but now I see that it doesn't find
them after a make install anyway.

My procedure was to 
	$ make install
	$ cd libraries/libio
	$make check RUNTESTFLAGS='--target_board unix{-mcoff,-melf}'


For the COFF tests, a pretty typical failure mode is:

Executing on host: /home/play/negcs/gcc/xgcc -B/home/play/negcs/gcc/ ../../../..
/egcs-971023/libio/testsuite/../tests/hounddog.cc  -O3 -I.. -I../../../../egcs-9
71023/libio/testsuite/..  -nostdinc++ -I/home/play/egcs-971023/libstdc++ -I/home
/play/egcs-971023/libstdc++/stl -L/home/play/negcs/libraries//libstdc++ -L/home/
play/negcs/libraries//libiberty  -L/home/play/negcs/libraries//libiberty -g -lst
dc++ -liberty   -lm  -mcoff -o /home/play/negcs/libraries/libio/testsuite/houndd
og
compiler exited with status 1
output is:
undefined                       first referenced
 symbol                             in file
streammarker::streammarker(streambuf *)/usr/tmp/cca005ok1.o
streammarker::~streammarker(void)   /usr/tmp/cca005ok1.o
_IO_sgetn                           /usr/tmp/cca005ok1.o
streambuf::seekmark(streammarker &, int)/usr/tmp/cca005ok1.o
cin                                 /usr/tmp/cca005ok1.o
cerr                                /usr/tmp/cca005ok1.o
ostream::operator<<(char const *)   /usr/tmp/cca005ok1.o
_IO_getc                            /usr/tmp/cca005ok1.o
cout                                /usr/tmp/cca005ok1.o
ostream::operator<<(int)            /usr/tmp/cca005ok1.o
i386ld fatal: Symbol referencing errors. No output written to /home/play/negcs/l
ibraries/libio/testsuite/hounddog

This fails becuase the -L arguments here point to ELF libraries, not
the COFF ones.

The ELF tests seem to pass perfectly.


Test Run By robertl on Sun Nov 23 15:34:17 1997
Native configuration is i586-pc-sco3.2v5.0.4

                === libio tests ===

Running target unix/-mcoff
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 ../../../../egcs-971023/libio/testsuite/config/default.exp as tool-and-tar
get-specific interface file.
Running ../../../../egcs-971023/libio/testsuite/libio.tests/hounddog.exp ...
FAIL: hounddog.cc compilation
FAIL: hounddog.cc compilation -b0
FAIL: hounddog.cc compilation -b2
Running ../../../../egcs-971023/libio/testsuite/libio.tests/putbackdog.exp ...
FAIL: putbackdog.cc compilation
FAIL: putbackdog.cc compilation -b0
FAIL: putbackdog.cc compilation -b2
Running ../../../../egcs-971023/libio/testsuite/libio.tests/tFile.exp ...
FAIL: tFile.cc compilation
FAIL: tFile.cc compilation -b0
FAIL: tFile.cc compilation -b3
Running ../../../../egcs-971023/libio/testsuite/libio.tests/tfformat.exp ...
FAIL: tfformat.c compilation
Running ../../../../egcs-971023/libio/testsuite/libio.tests/tiformat.exp ...
FAIL: tiformat.c compilation
Running ../../../../egcs-971023/libio/testsuite/libio.tests/tiomanip.exp ...
FAIL: tiomanip.cc compilation
Running ../../../../egcs-971023/libio/testsuite/libio.tests/tiomisc.exp ...
FAIL: tiomisc.cc compilation
Running ../../../../egcs-971023/libio/testsuite/libio.tests/tstdiomisc.exp ...
FAIL: tstdiomisc.c compilation

                === libio Summary for unix/-mcoff ===

# of unexpected failures        14
# of expected failures          26
Running target unix/-melf
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 ../../../../egcs-971023/libio/testsuite/config/default.exp as tool-and-tar
get-specific interface file.
Running ../../../../egcs-971023/libio/testsuite/libio.tests/hounddog.exp ...
Running ../../../../egcs-971023/libio/testsuite/libio.tests/putbackdog.exp ...
Running ../../../../egcs-971023/libio/testsuite/libio.tests/tFile.exp ...
Running ../../../../egcs-971023/libio/testsuite/libio.tests/tfformat.exp ...
Running ../../../../egcs-971023/libio/testsuite/libio.tests/tiformat.exp ...
Running ../../../../egcs-971023/libio/testsuite/libio.tests/tiomanip.exp ...
Running ../../../../egcs-971023/libio/testsuite/libio.tests/tiomisc.exp ...
Running ../../../../egcs-971023/libio/testsuite/libio.tests/tstdiomisc.exp ...

                === libio Summary for unix/-melf ===

# of expected passes            40

                === libio Summary ===

# of expected passes            40
# of unexpected failures        14
# of expected failures          26



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