Return-Path: Delivered-To: apmail-harmony-dev-archive@www.apache.org Received: (qmail 44357 invoked from network); 6 Mar 2009 07:45:19 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 6 Mar 2009 07:45:19 -0000 Received: (qmail 33171 invoked by uid 500); 6 Mar 2009 07:45:18 -0000 Delivered-To: apmail-harmony-dev-archive@harmony.apache.org Received: (qmail 33132 invoked by uid 500); 6 Mar 2009 07:45:18 -0000 Mailing-List: contact dev-help@harmony.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@harmony.apache.org Delivered-To: mailing list dev@harmony.apache.org Received: (qmail 33121 invoked by uid 99); 6 Mar 2009 07:45:18 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 05 Mar 2009 23:45:18 -0800 X-ASF-Spam-Status: No, hits=2.2 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of sean.xx.qiu@gmail.com designates 209.85.200.169 as permitted sender) Received: from [209.85.200.169] (HELO wf-out-1314.google.com) (209.85.200.169) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 06 Mar 2009 07:45:09 +0000 Received: by wf-out-1314.google.com with SMTP id 28so377881wfc.24 for ; Thu, 05 Mar 2009 23:44:48 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:date:message-id:subject :from:to:content-type; bh=tbcacmlkTnyz4pZNjJRJSfZvCJmBTTzp4NC/j997V5Y=; b=OpLmLGrQN3pZxsC9fS6QmhpGvBWfDsSa3KjeutLwjU82Hnt3hIOTxYHfFvJ5ljMPgU bxAK2bCr3SESgX+KlmRjMOoGoD5B2WREaIyFZ1mY7vEMavcGw8jZcER8kmRJXQzHiCgv QRWXFJowQz5boXQZo+eD1WixafYHLoXs1DMGU= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=jM7vpcLLionWLT9cWqDnttusFxrKXwRGnleGXNeZB/6lM+QfGPyaO/n0JiJbeDj/5G r0OXydaYRbJV/iKclLwEB9pSrhedHhHsAuGuKHpc3q8RsnCRqE7DukGmbs/lCVSWmPy2 K1wDv8mE9ntQJPqdqTxbgXJR63enojw7m+gNU= MIME-Version: 1.0 Received: by 10.142.78.10 with SMTP id a10mr957901wfb.345.1236325488636; Thu, 05 Mar 2009 23:44:48 -0800 (PST) Date: Fri, 6 Mar 2009 15:44:48 +0800 Message-ID: <94d710af0903052344v60263bd0g1c275cf326952290@mail.gmail.com> Subject: [testing] Proposal for archiving our tests into one bundle From: Sean Qiu To: dev@harmony.apache.org Content-Type: multipart/alternative; boundary=001636e0b02493b42a04646e751b X-Virus-Checked: Checked by ClamAV on apache.org --001636e0b02493b42a04646e751b Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Hi, All I'm trying to archive our tests into some jars so that user can run the tests directly as long as they get a copy of our run-time.( like Harmony-Automated-Tests-M8.zip) By this means, we can create a testing archive for each module as well, luni-test.zip, security-test.zip...... I found we have made some efforts to archive our unit test into one bundle. [1] Now I plan to supply some patch for it. I've uploaded my completed patch to HARMONY-6083[2]. (I've assigned this JIRA a port of HARMONY-984). Below is my ongoing proposal. trunk |-- make | |-- run-test.xml * This ant build file will be used to run tests after archiving (or any other names) | |-- setting.properties Customer can setting parameters by this properties file, such as ${test.jre.home} | |-- modules | |-- luni | | |-- build.xml * Add a new task which will package all luni tests to deploy/build/test/luni | | | |-- .... (other module) |-- ... | |-- deploy/build/test (output) |-- properties.xml Copy from /make/properties.xml, some common tasks |-- setting.properties Copy from /make/setting.properties, some configuration properties for testing |-- support.jar, derby.jar... Dependencies jars will be used while testing |-- build.xml Copy from /make/run-test.xml |-- luni | |-- resources Copy from /modules/luni/src/test/resources, may copy some support files here,such as policy file in luni. | |-- excludes Copy from /modules/luni/make/exclude.*, user can exclude tests by this means. | |-- luni_tests_impl.jar Tesing archive | |-- luni_tests_api.jar Testing archive. | |-- security ... |-- ... (other module) Then we can archive whole test folder into one file for user. User can test our milestone in addition to this file, there is no need to checkout all src, building, testing.... I'm successfully run the our luni test by this means. But there is still some extra work to refine the script. (Your help is appreciated very much.) What do you think about it? Any suggestions or commends are welcomed. [1] https://issues.apache.org/jira/browse/HARMONY-984 [2] https://issues.apache.org/jira/browse/HARMONY-6083 -- Best Regards Sean, Xiao Xia Qiu --001636e0b02493b42a04646e751b--