On 06/06/2012 11:09 AM, DJ Lucas wrote: > On 06/02/2012 09:32 PM, DJ Lucas wrote: >> Okay, so digging into the test results on the new OpenJDK/IcedTea, the >> following jdk test failures can be ignored while testing on icedtea-2.2: >> >> Just append the following to icedtea-2.2/test/jtreg/excludelist.jdk.jtx >> to actually skip the tests >> > <Snip> > > In addition to the above, I've found that RedHat is using Xvfb to run > the display tests... > > export DISPLAY=:20 > <http://pkgs.fedoraproject.org/gitweb/?p=java-1.7.0-openjdk.git;a=blob;f=java-1.7.0-openjdk.spec;h=9bfd2949fb14ac75590148a3eb064b90166081a3;hb=f2f1a7cb522137f2078b9a75388efa7c53fce8df#l918>Xvfb > :20 -screen 0 1x1x24 -ac > & > echo $!> Xvfb.pid > make jtregcheck -k > <http://pkgs.fedoraproject.org/gitweb/?p=java-1.7.0-openjdk.git;a=blob;f=java-1.7.0-openjdk.spec;h=9bfd2949fb14ac75590148a3eb064b90166081a3;hb=f2f1a7cb522137f2078b9a75388efa7c53fce8df#l921>kill > -9 `cat Xvfb.pid` > <http://pkgs.fedoraproject.org/gitweb/?p=java-1.7.0-openjdk.git;a=blob;f=java-1.7.0-openjdk.spec;h=9bfd2949fb14ac75590148a3eb064b90166081a3;hb=f2f1a7cb522137f2078b9a75388efa7c53fce8df#l922>unset > DISPLAY > <http://pkgs.fedoraproject.org/gitweb/?p=java-1.7.0-openjdk.git;a=blob;f=java-1.7.0-openjdk.spec;h=9bfd2949fb14ac75590148a3eb064b90166081a3;hb=f2f1a7cb522137f2078b9a75388efa7c53fce8df#l923>rm > -f Xvfb.pid > Oops...
That should read export DISPLAY=:20 Xvfb :20 -screen 0 1x1x24 -ac& echo $!> Xvfb.pid make jtregcheck -k kill -9 `cat Xvfb.pid` unset DISPLAY rm -f Xvfb.pid -- 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
