On 08-06-2012 03:21, 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
Don't you and/or DJ think these lines could be in the page? > 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. Completely agree with this and the disappointment you mentioned in the first line above. > The tests themselves were: [...] > --------------- jtreg console summary for jdk --------------- > Test results: passed: 4,052; failed: 33; error: 2 [...] > 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. I did not run the tests again. I believe it was very difficult for the developers to implement the package and the tests, and as in other discussions about tests, it is better to skip the tests. However, in next upgrade, I will try to see how improved I get them using the new instructions above given by DJ, about screen, etc., and see how much improvement is obtained. BTW, I have copied my built binaries to my other LFS VM's, and they work very well. Only today I noticed the man pages instructions given by DJ in the page. Very good indeed! Thanks again, DJ and you. -- []s, Fernando -- http://linuxfromscratch.org/mailman/listinfo/blfs-dev FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page
