I was able to build and test openjdk.  The results are OK, but I'm 
disappointed in the number of issues that are not addressed upstream.

I used:

#!/bin/bash

export DISPLAY=:20
Xvfb :20 -screen 0 1x1x24 -ac&
echo $!>  Xvfb.pid
make jtregcheck -k 2>jdktest-errs |tee jdktest
kill -9 `cat Xvfb.pid`
unset DISPLAY
rm -f Xvfb.pid

There were several lines in jdktest-errs like

WARNING: Path does not exist as file or directory:
Makefile:205: Extraneous text after `ifeq' directive
xxx uses or overrides a deprecated API
Note: Some input files use unchecked or unsafe operations.

I just don't think a package as important as java should have those 
types of errors/warnings in their test suite.

The tests themselves were:

--------------- jtreg console summary for hotspot ---------------
Test results: passed: 154
--------------- jtreg console summary for jdk ---------------
Test results: passed: 4,052; failed: 33; error: 2
--------------- jtreg console summary for langtools ---------------
Test results: passed: 1,938

So here is 35 errors out of about 7000 tests.  Workable, but not impressive.

Tests like com/oracle/security/ucrypto/TestAES.java should not be screen 
or disk sensitive.  It doesn't really say why it failed, but just that 
it threw an exception.

   -- Bruce
-- 
http://linuxfromscratch.org/mailman/listinfo/blfs-dev
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to