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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

RE: testsuite failures, no explanation


Dejagnu interprets any unexpected compiler output as a FAIL, so
the the failure is (are) the lines

output is:
libtool: link: warning: `-no-install' is ignored for i686-pc-mingw32
libtool: link: warning: assuming `-no-fast-install' instead

These need to be pruned from the output by dejagnu.  There are a number
of places to do it, with different degrees of elegance.

Have a look at:
  libjava/testsuite/lib/libjava.exp
  /usr/share/dejagnu/target.exp
  and gcc/testsuite/lib/*.exp (and search for prune)

To get the libjava testsuite running natively on cygwin I need
CVS dejagnu and had to make some crude hacks.  I think I posted 
them to the list, but may have missed some.

-----Original Message-----
From: Adam Megacz [mailto:gcj@lists.megacz.com]
Sent: Thursday, 22 August 2002 8:56 
To: java@gcc.gnu.org
Subject: testsuite failures, no explanation



Hey, I've finally got a cygwin-to-mingw cross up and running, and I
can run 'make check'. Unfortunately, in libgcj.log, I get this:

Running /home/megacz/gcc/libjava/testsuite/libjava.compile/compile.exp ...
Executing on host: /home/megacz/gcc-bin/i686-pc-mingw32/libjava/testsuite/../libtool --silent --tag=GCJ --mode=link /home/megacz/gcc-bin/gcc/gcj -B/home/megacz/gcc-bin/gcc/ --encoding=UTF-8 -B/home/megacz/gcc-bin/i686-pc-mingw32//libjava/ /home/megacz/gcc/libjava/testsuite/libjava.compile/ArrayClass.java   -no-install --main=ArrayClass -g -L/home/megacz/gcc-bin/i686-pc-mingw32//libjava/.libs -L/home/megacz/gcc-bin/i686-pc-mingw32//boehm-gc/.libs  -lm   -o /home/megacz/gcc-bin/i686-pc-mingw32/libjava/testsuite/ArrayClass.exe    (timeout = 300)
spawn /home/megacz/gcc-bin/i686-pc-mingw32/libjava/testsuite/../libtool --silent --tag=GCJ --mode=link /home/megacz/gcc-bin/gcc/gcj -B/home/megacz/gcc-bin/gcc/ --encoding=UTF-8 -B/home/megacz/gcc-bin/i686-pc-mingw32//libjava/ /home/megacz/gcc/libjava/testsuite/libjava.compile/ArrayClass.java -no-install --main=ArrayClass -g -L/home/megacz/gcc-bin/i686-pc-mingw32//libjava/.libs -L/home/megacz/gcc-bin/i686-pc-mingw32//boehm-gc/.libs -lm -o /home/megacz/gcc-bin/i686-pc-mingw32/libjava/testsuite/ArrayClass.exe 
libtool: link: warning: `-no-install' is ignored for i686-pc-mingw32
libtool: link: warning: assuming `-no-fast-install' instead
output is:
libtool: link: warning: `-no-install' is ignored for i686-pc-mingw32
libtool: link: warning: assuming `-no-fast-install' instead

FAIL: ArrayClass compilation from source
PASS: ArrayClass byte compilation


The strange part is that the first command (which builds
ArrayClass.exe) succeeds!  Can anybody figure out why I get a FAIL in
the log?

  - a


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