JTRegs for OpenJDK
kelly.ohair at oracle.com
Thu Jun 21 09:46:21 PDT 2012
On Jun 21, 2012, at 1:56 AM, Weijun Wang wrote:
> Hi Mani
> Welcome to the OpenJDK!
> On 06/21/2012 02:31 PM, Mani Sarkar wrote:
>> I have been configuring and testing the JTRegs with OpenJDK on Ubuntu
>> 12.04 and attached are couple of log files with errors.
>> Can someone help me out understand where the config for the JTRegs is
>> going wrong, or is it a different problem altogether.
>> One of them mentions win32 in the log, while I'm using linux. I have
>> attached .sh file that updates the environment along with this message.
> test1.log has
> so it's using the build inside jdk8_tl/jdk. I guess you directly call make in jdk8_tl and your build is also there. I read the Makefile a little and seems you can try again your test with
> make ALT_OUTPUTDIR=/home/openjdk/sources/jdk8_tl/build/linux-amd64 jdk_util
> Please do not set the ALT_OUTPUTDIR variable permanent as it might interfere with your build.
> *Kelly*: Is it true that launching a test from the top directory cannot use the control build?
It's tricky to know exactly where the built j2sdk-image area is. I would recommend using:
cd test && make PRODUCT_HOME=/full/path/to/java_home jdk_util
Not sure the top level test/Makefile will find the built image correctly, I tend to be explicit.
> As for test2.log, it shows JT_HOME=/home/openjdk/jtreg/linux/bin. It should be only /home/openjdk/jtreg.
Correct JT_HOME is the base directory where jtreg is installed, not the bin directory.
> It's OK to see a win32, those scripts are essentially the same across platforms.
Correct. It was easiest to just refer to that one script for all platforms in the Makefile.
> Good luck!
More information about the jtreg-use