harmony-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Nathan Beyer <ndbe...@apache.org>
Subject Re: [jdktools][test] unexpected failure of tools testing
Date Sat, 12 Sep 2009 17:06:34 GMT
On Sat, Sep 12, 2009 at 9:48 AM, Mark Hindess
<mark.hindess@googlemail.com> wrote:
>
> It looks like you have an old version of the VM in
> working_jdktools/deploy/jdk/ jre/bin/default (i.e. one with HYTHR_0.1
> instead of the current HYTHR_0.2?  The VM is not copied in to
> working_jdktools/deploy/jdk/jre/bin/default automatically (nor is it
> copied into working_classlib/deploy/jdk/jre/bin/default).
>
> Personally, I just set -Dtest.jre.home=$PWD/../target/hdk/jdk/jre or use
> the top-level test target.
>
> We really need to get around to re-writing the federated build (as
> discussed a little while back) to provide more appropriate targets
> for testing without having to move down to other levels.

i thought i just didn't understand the build ... this makes me feel better

i'm all for dropping the "working_" abstractions and just making
things simple and productive.

>
> -Mark
>
> In message <4AAACE84.2070208@gmail.com>, Tim Ellison writes:
>>
>> If I build the full federated build, then go into the working_jdktools
>> and run "ant test" I get a bunch of failures.  This should work, right?
>>
>> Regards,
>> Tim
>>
>> ...
>>      [echo] Running TOOLS tests
>>      [echo]
>> test.jre.home=/home/tellison/Harmony-federated/working_jdktools/deploy/jdk/jr
>> e
>>     [junit] Failed to open JVM DLL:
>> /home/tellison/Harmony-federated/working_jdktools/deploy/jdk/jre/bin/default/
>> harmonyvm
>> (/home/tellison/Harmony-federated/working_jdktools/deploy/jdk/jre/bin/libhyth
>> r.so:
>> version `HYTHR_0.1' not found (required by
>> /home/tellison/Harmony-federated/working_jdktools/deploy/jdk/jre/bin/default/
>> libharmonyvm.so))
>>     [junit] java.io.FileNotFoundException:
>> /home/tellison/Harmony-federated/working_jdktools/modules/jretools/junitvmwat
>> cher1981663526.properties
>> (No such file or directory)
>>     [junit]     at java.io.FileInputStream.open(Native Method)
>>     [junit]     at java.io.FileInputStream.<init>(FileInputStream.java:135)
>>     [junit]     at java.io.FileReader.<init>(FileReader.java:78)
>>     [junit]     at
>> org.apache.tools.ant.taskdefs.optional.junit.JUnitTask.executeAsForked(JUnitT
>> ask.java:1028)
>>     [junit]     at
>> org.apache.tools.ant.taskdefs.optional.junit.JUnitTask.execute(JUnitTask.java
>> :860)
>>     [junit]     at
>> org.apache.tools.ant.taskdefs.optional.junit.JUnitTask.execute(JUnitTask.java
>> :782)
>>     [junit]     at
>> org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288)
>>     [junit]     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native
>> Method)
>>     [junit]     at
>> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:64)
>>     [junit]     at
>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.
>> java:43
>> ...
>>
>
>
>

Mime
View raw message