harmony-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ivaschenko, Aleksei V" <aleksei.v.ivasche...@intel.com>
Subject RE: [buildtest] Proposal for Build Test Infrastructure Improvement
Date Fri, 30 Mar 2007 11:05:03 GMT
I've just tried out new BT Framework with my automated scenario for
Jetty application server. I found new framework quite usable - I've
integrated my scenario without studying cruise control tool, and
implemented dependencies on other workloads such as classlib and drlvm
builds without big problems.

The working implementation of integration scripts could be found here:


>-----Original Message-----
>From: Alexander Kleymenov [mailto:kleymenov@gmail.com]
>Sent: Tuesday, March 27, 2007 1:44 PM
>To: dev@harmony.apache.org
>Subject: [buildtest] Proposal for Build Test Infrastructure Improvement
>With this letter I'd like to announce the new approach for BT Framework
>Implementation. It could be found as an attachment to JIRA #3501 [1].
>Proposed BT Infra Implementation improves and structures current one
>the following features allowing using the framework as a standard means
>Harmony Testing works:
>  - Simplicity and convenience of use allows to perform all of the
>    works (by testers and developers) by unified single way and with
>    of the same means.
>  - Clear and Documented Architecture, Workspace Structure, Clear
>    of Functional Components of the Framework, Standard Implementation
>    allows to easy start, use, improve, and maintain the framework.
>  - Highly configurable Test Run:
>    Simple means for Test Suite selections - use property value to
>    required Test Suites. Only selected suites will be checked out (or
>    downloaded) and executed.
>    Simple and easy manageable means for settings dependencies between
>    Suites. It excludes the necessity of combo-test-suites creation
>    classlib-drlvm now)
>    Simple and natural means for describing of required parameters for
>    Test Suites (as path to tested JVM, Classlib, compiler checks, and
>    It is done in one specified place and there is no need to drill
>    Suites for setting up such a parameters. Moreover, new BT Framework
>    the correctness analysis of the provided values for parameters and
>    an error just before Test Suite execution, not after an hour of the
>    Additional important feature is an ability to provide default
>    required parameters on the base of execution results of another
>    So, for example, drlvm Test Suite (which checks that DRLVM can be
>    uses the default value for 'classlib.trunk' parameter (specifying
>the path to
>    classlib workspace) the value provided by classlib Test Suite. If
>    Test Suite was chosen for execution, 'classlib.trunk' parameter of
>    test suite will be resolved. If classlib was not chosen, user will
>    asked to provide the value for this parameter. Such a feature
allows to
>    reduce the user's job on parameters setting.
>    Such a simplicity of Test Run configuration (selection of the
>    parameters tuning) allows to easy set up the BT Framework for
>    needs. So for Harmony developers it is possible to chose their own
>    checks of the workspace under development and to run this checks on
>    in single execution mode. For Harmony testers it is possible to use
>    sophisticated CruiseControl configurations for continuous test runs
>    notification publishing.
>  - Easy and Documented way to integrate new Test Suites:
>    There is no longer need to implement CruiseControl configurations
>    each of new Test Suites being integrated into framework. Cruise
>    system is used as a framework extension allowing continuous test
>    as a development means. It simplifies the process and reduces the
>    of new Test Suite integration.
>  - Implemented Approach to share External Library Dependencies
>between different
>    Test Suites allows to perform external dependencies fetching in one
>place by
>    one means and to save time and internet traffic.
>  - To run custom configuration there is no need to download
>    all of the Test Suites integrated into BT.
>  - The Architecture of the Framework is open for extending by other
>    parts and 3rd party tools (such as CruiseControl etc)
>The main idea of the new Framework is to use Ant's scripts called
>'adaptors' as
>a glue layer between Test Suites and the BT Framework executing them.
>of the
>Parameters of the suites (such as required values, external libraries,
>values to be used by other suites, optional parameters for low-level
>are described in 'parameters.xml' file placed near corresponding
>That's all.
>Please, look at the archive. There is a README.txt and SPEC.txt files
>and documenting the new Infrastructure. Also there are two integrated
>Suites - classlib and drlvm which check that classlib and drlvm can be
>Please look at them under adapters directory to catch the main idea of
>Of course there are many points for improvements, but the main idea and
>functionality has already been implemented. Sorry for such a bulk, but
>not provide the framework by 'logical parts' because they together
forms a
>whole. Now, when all of them in one place it is possible to improve or
>reimplement them (I heard about the existing approach for external
>sharing, but did not look at it.  Probably it is better then proposed
in my
>Infra implementation. In this case it is possible to replace the
>of this functional part of the Framework).
>If you have any questions regarding the implementation please,
>provide them into this mail-thread.
>Thank you,
>[1] http://issues.apache.org/jira/browse/HARMONY-3501

View raw message