On 06/08/2012 01:21 AM, Bruce Dubbs wrote:
> 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.
Sorry, I thought I had responded earlier to this one....

Unfortunately, JTReg is a monster. You'll have to edit 
icedtea-2.2/test/jtreg/com/sun/javatest/TestResult.java and set 
DEFAULT_MAX_OUTPUT_SIZE above 100000 to get the full output for that 
test (I just added a zero). For that particular one, it is a padding 
error (known issue).

-- DJ Lucas



-- 
This message has been scanned for viruses and
dangerous content, and is believed to be clean.

-- 
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