harmony-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sean Qiu <sean.xx....@gmail.com>
Subject Re: [build] Help with BTI
Date Tue, 03 Feb 2009 03:13:52 GMT
For your second question, seems the java task forget to set failonerror,
below patch[1] can fix it.
The build will fail when there exist errors now [2].
But I'll try to make it more flexible rather than hardcode.
Correct me if I was wrong.

[1]
xiaoxia:~/bti/infra/build/checkouts/ehwa-api/tests$ svn diff
Index: ehwa-test.xml
===================================================================
--- ehwa-test.xml       (revision 740180)
+++ ehwa-test.xml       (working copy)
@@ -68,6 +68,7 @@
               jvm="${test.jvm.exe}"
               jar="${eclipse.launcher.jar}"
               dir="${ehwa.test.dir}"
+              failonerror="true"
               resultproperty="ehwa.result">
             <jvmarg line="${ehwa.mode.switch} ${test.vmargs}" />
             <arg line="-application org.eclipse.test.uitestapplication"/>

[2]
    ......
     [java]      [java] -run-ehwa-batch:
     [java]      [java]    [delete] Deleting directory
/home/xiaoxia/bti/infra/build/checkouts/build/linux_x86_gcc_debug/tests/ehwa/wksp
     [java]      [java]     [mkdir] Created dir:
/home/xiaoxia/bti/infra/build/checkouts/build/linux_x86_gcc_debug/tests/ehwa/wksp
     [java]      [java]      [echo]
     [java]      [java]      [echo]
==================================
     [java]      [java]      [echo]         Run Eclipse HelloWorld using
Server mode JIT
     [java]      [java]      [echo]
==================================
     [java]      [java]      [echo]
     [java]      [java]       [for] srv: The following error occurred while
executing this line:
     [java]      [java]       [for]
/home/xiaoxia/bti/infra/build/checkouts/ehwa-api/tests/ehwa-test.xml:38: The
following error occurred while executing this line:
     [java]      [java]       [for]
/home/xiaoxia/bti/infra/build/checkouts/ehwa-api/tests/ehwa-test.xml:72:
java.io.IOException: java.io.IOException:
/home/xiaoxia/bti/infra/build/checkouts/drlvm/deploy/jdk/jre/bin/java: not
found
     [java]      [java]
     [java]      [java] BUILD FAILED
     [java]      [java]
/home/xiaoxia/bti/infra/build/checkouts/ehwa-api/tests/ehwa-test.xml:36:
Keepgoing execution: 5 of 5 iterations failed.
     [java]      [java]
     [java]      [java] Total time: 1 second
     [java]
     [java] BUILD FAILED
     [java] /home/xiaoxia/bti/infra/scripts/run.xml:110: The following error
occurred while executing this line:
     [java] /home/xiaoxia/bti/infra/adaptors/ehwa-api/adaptor.xml:98: The
following error occurred while executing this line:
     [java] /home/xiaoxia/bti/infra/scripts/framework.xml:163: Java
returned: 1
     [java]
     [java] Total time: 5 seconds
     [java] Java Result: 1
   [delete] Deleting: /home/xiaoxia/bti/infra/scripts/tmp.txt

BUILD FAILED
/home/xiaoxia/bti/infra/build.xml:341: The following suites failed:
ehwa-api,


2009/2/3 Tim Ellison <t.p.ellison@gmail.com>

> I could use some help with using the BTI to build and test Harmony.
>
> I'm trying to run the short integrity tests, and have a couple of
> questions already.
>
>  - how do I pass arguments into the build?  In particular I need to
> specify "use.libstdc++6=true" (without editing the files that the BTI
> checks out, of course).  Defining the property at the top level doesn't
> pass it through to the subsystems.
>
>  - the test runs are failing (since they are built without that property
> set), but the BTI is reporting them as passing!  See [1]
>
> Any help appreciated.
>
> [1]
>
> http://hudson.zones.apache.org/hudson/view/Harmony/job/Harmony-1.5-head-linux-x86_64-BTI_short_integrity/7/console
>
> Regards,
> Tim
>



-- 
Best Regards
Sean, Xiao Xia Qiu

China Software Development Lab, IBM

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message