This is the mail archive of the mauve-patches@sourceware.org mailing list for the Mauve project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: new Harness with compilation capabilities


This spanned 3 commits (unfortunately) because I forgot to commit the
Changelog, and didn't specify "harness" on the commit line and so it
wasn't actually removed.

--Tony

On Mon, 2006-04-24 at 16:23 -0400, Anthony Balkissoon wrote:
> This new version of the Harness has auto-compilation capabilities and
>         also fixes a lot of bugs and performance issues that were
>         present in the
>         last one.  
>         
>         Please read the README file and try the Harness out when running
>         your
>         Mauve tests.  
>         
>         Here is a sample configuration, build, and run, using the
>         auto-compilation feature, and using jamvm as the vm to be
>         tested:
>         
>         1) CONFIGURE: 
>         ./configure --enable-auto-compile
>         --with-classpath-install-dir=/home/abalkiss/sources/classpath/install/share/classpath --with-vm=jamvm
>         
>         2) BUILD:
>         make
>         
>         3) RUN:
>         (JAVA) Harness javax.swing.JTable
>         
>         This will compile and run all of the tests in javax.swing.JTable
>         on
>         jamvm.  You can switch the test vm easily using the -vm option:
>         
>         (JAVA) Harness javax.swing.JTable
>         -vm /usr/lib/jvm/java-1.5.0/jre/bin/java will run the tests on
>         the VM
>         installed in the above location.  The README is quite detailed
>         and
>         explains how to do many other things using the new Harness.
>         
>         Please file bug reports or email me if things aren't working as
>         expected.  Thanks.
>         
>         
>         2006-04-24  Anthony Balkissoon  <abalkiss@redhat.com>
>         
>                 * .cvsignore: Added .ecjOut and .ecjErr.
>                 * configure.in: Added --with-vm, --enable-auto-compile, 
>                 --with-classpath-install-dir, --with-ecj-jar options to
>         support 
>                 auto-compilation.
>                 * harness: Removed this unneeded wrapper script.
>                 * Harness.java: Rewritten to allow auto-compilation and
>         faster test
>                 processing.
>                 * Makefile.am: Added Harness.java and RunnerProcess.java
>         to 
>                 harness_files, added new target 'harness' that compiles
>         these files
>                 as well as gnu/testlet/config.java, and added target
>         'all-local' to 
>                 make these compile by default.
>                 * Makefile.in: Regenerated.
>                 * README: Rewritten to include the new configure
>         options, compilation
>                 options, and the new invocation style.
>                 * RunnerProcess.java: Fixed comments, formatting, and:
>                 (NOT-A-TEST-DESCRIPTION): Made this field private.
>                 (verbose): Made this field static.
>                 (debug): Likewise.
>                 (exceptions): Likewise.
>                 (report): Likewise.
>                 (xmlfile): Likewise.
>                 (RunnerProcess(boolean, boolean, boolean, TestReport)):
>         Removed this
>                 unnecessary constructor.
>                 (RunnerProcess()): New constructor.
>                 * gnu/testlet/TestHarness.java:
>                 (getAutoCompile): New method.
>                 (getCpInstallDir): Likewise.
>                 (getEcjJar): Likewise.
>                 (getTestJava): Likewise.
>                 * gnu/testlet/config.java.in:
>                 (cpInstallDir): New field.
>                 (autoCompile): Likewise.
>                 (testJava): Likewise.
>                 (ecjJar): Likewise.
>                 (getCpInstallDir): New method.
>                 (getAutoCompile): Likewise.
>                 (getEcjJar): Likewise.
>                 (getTestJava): Likewise.
>         
>         --Tony


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]