'One-off' directory error when running jtreg

Martijn Verburg martijnverburg at gmail.com
Mon Apr 9 19:28:36 UTC 2012


Hi all,

I'm building the full tl project (which builds fine) and am then running
the jtreg tests for the jdk util package (from $OPENJDK_SOURCE/jdk/test)
with:

make jdk_util > test.log

I seem to be getting a one-off error with the directory structure that it's
looking for with regards the java executable that's been built, e.g.

ACTION: build -- Error. Cannot get VM for test: java.io.IOException: Cannot
run program
"/home/openjdk/sources/jdk8_tl/jdk/test/../build/linux-i586/bin/java" (in
directory
"/home/openjdk/sources/jdk8_tl/jdk/build/linux-i586/testoutput/jdk_util/JTwork/scratch"):
error=2, No such file or directory
REASON: Named class compiled on demand
TIME:   0.021 seconds
messages:
command: build ToString
reason: Named class compiled on demand
elapsed time (seconds): 0.021

This makes kind of sense since the java binary is actually at:

/home/openjdk/sources/jdk8_tl/jdk/test/../../build/linux-i586/bin/java

as opposed to:

/home/openjdk/sources/jdk8_tl/jdk/test/../build/linux-i586/bin/java

Should I be setting the $PRODUCT_HOME manually or have I done something
wrong? :-)

Cheers,
Martijn
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.openjdk.java.net/pipermail/build-dev/attachments/20120409/0b928aab/attachment.html>


More information about the build-dev mailing list