Hi all,<div><br></div><div>That did trick, thanks all.  Will try the build-infra build next.</div><div><br></div><div>Cheers,</div><div>Martijn<br><br><div class="gmail_quote">On 9 April 2012 21:01, Kelly O'Hair <span dir="ltr"><<a href="mailto:kelly.ohair@oracle.com">kelly.ohair@oracle.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word">Set PRODUCT_HOME manually.<div>The Makefile can only guess where the build might be, and although we could add in a second guess, that</div>
<div>could be a problem too.  Setting PRODUCT_HOME on the make command line will guarantee what it uses.<br><div><br></div><div>-kto</div><div><div class="h5"><div><br><div><div>On Apr 9, 2012, at 12:28 PM, Martijn Verburg wrote:</div>
<br><blockquote type="cite">Hi all,<div><br></div><div>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:</div><div>
<br></div><div>make jdk_util > test.log</div>
<div><br></div><div>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.</div><div><br></div><div><div><div style="color:rgb(80,0,80)">

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

<div>REASON: Named class compiled on demand</div><div>TIME:   0.021 seconds</div><div>messages:</div><div>command: build ToString</div><div>reason: Named class compiled on demand</div><div>elapsed time (seconds): 0.021</div>

</div><div style="color:rgb(80,0,80)"><br></div><div style="color:rgb(80,0,80)">This makes kind of sense since the java binary is actually at:</div><div style="color:rgb(80,0,80)"><br></div><div style="color:rgb(80,0,80)">

/home/openjdk/sources/jdk8_tl/jdk/test/../../build/linux-i586/bin/java</div><div style="color:rgb(80,0,80)"><br></div><div style="color:rgb(80,0,80)">as opposed to:</div><div style="color:rgb(80,0,80)"><br></div><div style="color:rgb(80,0,80)">

/home/openjdk/sources/jdk8_tl/jdk/test/../build/linux-i586/bin/java</div><div style="color:rgb(80,0,80)"><br></div><div>Should I be setting the $PRODUCT_HOME manually or have I done something wrong? :-)</div><div><br></div>

<div>Cheers,</div><div>Martijn</div></div></div>
</blockquote></div><br></div></div></div></div></div></blockquote></div><br></div>