harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sean Qiu (JIRA)" <j...@apache.org>
Subject [jira] Commented: (HARMONY-6083) [build] Package the compiled tests into the HDK to reuse
Date Fri, 06 Mar 2009 07:23:56 GMT

    [ https://issues.apache.org/jira/browse/HARMONY-6083?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12679521#action_12679521

Sean Qiu commented on HARMONY-6083:

How to patching:

1. Add these files to <trunk>/make
setting.properties   --  Customer can modify parameters in this file.
run-test.xml             --   This script is used to archived tests. The name could be changed
to build.xml or other.

2. Patch build-test.xml.diff to <trunk>/make/build-test.xml
It will copy new files from step 1 to the testing output directory.

3. Patch build.xml.diff to <trunk>/luni/build.xml

How to run.
1. ant -Dbuild.module=luni test
This will deploy testing files to <trunk>/deploy/build/test.
(Maybe I can add a separate task which do the packaging task only later)
You can interrupt the testing after the script finish packaging.

2.  cd <trunk>/deploy/build/test
Make ${test.jre.home} property in setting.properties point to your local runtime.

or you can use ant -Dtest.jre.home=<jre> directly.

3. You can get test report in <trunk>/deploy/build/test/report

> [build] Package the compiled tests into the HDK to reuse
> --------------------------------------------------------
>                 Key: HARMONY-6083
>                 URL: https://issues.apache.org/jira/browse/HARMONY-6083
>             Project: Harmony
>          Issue Type: Improvement
>          Components: build - test - ci
>            Reporter: Sean Qiu
>            Assignee: Sean Qiu
>         Attachments: build-test.xml.diff, build.xml.diff, run-test.xml, setting.properties
> The classlib tests need to be compiled against the
> implementation.  It would be good if we packaged the compiled tests into
> the HDK so that they were reusable without having to do the checkout and
> compile again.

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

View raw message