public inbox for mauve-discuss@sourceware.org
 help / color / mirror / Atom feed
From: Mark Wielaard <mark@klomp.org>
To: Brian Jones <cbj@gnu.org>
Cc: GNU Classpath <classpath@gnu.org>,
	Mauve Discussion Mailing List <mauve-discuss@sources.redhat.com>
Subject: Re: Method of executing Mauve
Date: Sat, 09 Nov 2002 06:58:00 -0000	[thread overview]
Message-ID: <20021109145800.GC27861@couperus.wildebeest.org> (raw)
In-Reply-To: <m365v8vg5l.fsf@lyta.haphazard.org>

Hi,

(fixed mailinglist address sourceware.cygnus.org seems to have gone)

On Thu, Nov 07, 2002 at 11:28:38PM -0500, Brian Jones wrote:
> Mark Wielaard <mark@klomp.org> writes:
> > Hi,
> > 
> > On Wed, 2002-11-06 at 04:48, Brian Jones wrote:
> > > Someone mentioned they had a method of executing Mauve that would
> > > appropriately time out and kill the bad VM.  I'm guessing some use of
> > > expect/tcl here.  If there is an example I could look at that would be
> > > great.
> > 
> > See the following. It is a shell script that can be integrated with the
> > rest of the Mauve source tree. Maybe I should just make it part of
> > Mauve.
> > 
> > http://sources.redhat.com/ml/mauve-discuss/2002-q3/msg00019.html
> 
> Fixed the URL.  It should be simpler to configure/use Mauve.  I don't
> like having to export JAVA, JAVAC, before configure/make... this
> choice should be defined at runtime anyway instead of configure time.
> 
> I currently find myself completely ignoring the Mauve machinery
> (except the choose script) to do my nightly tests (not yet running)
> which doesn't seem right to me.  

I agree that it isn't the easiest build machinery, but I actually like the
way you can use one source directory and send up different build directories
for the different java libraries, VM and compiler combinations.
You can run each test individually though by using something like:

echo gnu.testlet.java.some.test | \
  SomeVM -bootclasspath SomeClassLib gnu.testlet.SimpleTestHarness

(This assumes you have used the choices script to actually compile the class
with SomeCompiler :)

My script referenced above does make a couple of these things easier, but
I don't know how portable it is (it works for me with bash).

> I also really dislike the gcj machinery requiring a test be limited to
> a single .java file; it forces a certain structure upon tests and
> limits reuse of common code... the different machinery also means that
> making far reaching changes is more difficult... it isn't enough to
> make the Mauve machinery better but to keep the gcj machinery working.

You can use multiple files for a test. You just have to make sure that
a test lists all source files in the "// Uses: " comment. It would be nice
though if you could list source files from different packages though.
 
> Btw, I think the current tag system is inadequate.  To express that a
> particular set of tests is valid in JDK 1.1, deprecated in 1.2, 1.3,
> and invalid for 1.4+ the user must construct the key file to
> specifically exclude the tests in 1.4+ testing, ideally the user would
> just specify JDK1.4.

On a related note, we should also add a tag "needs internet connection" since
some tests can onlt succeed when you can access some (random) machines on
the net.

Cheers,

Mark

       reply	other threads:[~2002-11-09 14:58 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <m3el9z1hpl.fsf@lyta.haphazard.org>
     [not found] ` <1036694578.1177.118.camel@elsschot>
     [not found]   ` <m365v8vg5l.fsf@lyta.haphazard.org>
2002-11-09  6:58     ` Mark Wielaard [this message]
2002-11-15  8:12     ` Tom Tromey

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20021109145800.GC27861@couperus.wildebeest.org \
    --to=mark@klomp.org \
    --cc=cbj@gnu.org \
    --cc=classpath@gnu.org \
    --cc=mauve-discuss@sources.redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).