public inbox for frysk@sourceware.org
 help / color / mirror / Atom feed
* Re: [SCM]  master: Emit one test per variable.
       [not found] <20071204004717.621.qmail@sourceware.org>
@ 2007-12-04 14:52 ` Andrew Cagney
  2007-12-04 15:26   ` Stan Cox
  0 siblings, 1 reply; 2+ messages in thread
From: Andrew Cagney @ 2007-12-04 14:52 UTC (permalink / raw)
  To: Stan Cox; +Cc: frysk

scox@sourceware.org wrote:
> The branch, master has been updated
>        via  95a13e25dd80d0d529c9ecaedd1c51e506402fb7 (commit)
>       from  78344c59350f0a1b825086acdd677ca6eee6c9bd (commit)
>
> Those revisions listed above that are new to this repository have
> not appeared on any other notification email.
>
> - Log -----------------------------------------------------------------
> commit 95a13e25dd80d0d529c9ecaedd1c51e506402fb7
> Author: Stan Cox <scox@redhat.com>
> Date:   Mon Dec 3 19:33:19 2007 -0500
>
>     Emit one test per variable.
>     
>     * gen-type-expect-tests.py (main): Emit one test per variable.
>   
Wicked, we can now see exactly what variable tests are being run here; 
and easily re-run just the ones that fail.

Andrew

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [SCM]  master: Emit one test per variable.
  2007-12-04 14:52 ` [SCM] master: Emit one test per variable Andrew Cagney
@ 2007-12-04 15:26   ` Stan Cox
  0 siblings, 0 replies; 2+ messages in thread
From: Stan Cox @ 2007-12-04 15:26 UTC (permalink / raw)
  To: Frysk List


> Wicked, we can now see exactly what variable tests are being run here; 
> and easily re-run just the ones that fail.
> Andrew


"python <SRCDIR>/frysk-core/frysk/debuginfo/gen-type-expect-tests.py
-help" gives a brief description of how to add a test.  I'll flesh that
out a bit.  There are two ways to add a test. 
1. The first method is make a test builtin using
<SRCDIR>/frysk-core/frysk/pkglibdir/gen-type-funit-tests.py.  This
generates <BLDDIR>/frysk-core/frysk/pkglibdir/funit-type-entry.c.  
2. A second simpler method to add a test is to use specially formatted
comments.  For example notice that
<SRCDIR>/frysk-core/frysk/pkglibdir/funit-class.cxx has comments which
tell gen-type-expect-tests.py what should be checked.  When
gen-type-expect-tests.py runs it knows to pick these up from
funit-class.cxx because that is described
in /debuginfo/TestTypeEntry.java-sh.

A shortcut to try out an added test passes is to do:
rm -frysk/pkglibdir/funit-type-entry.* frysk/debuginfo/*.java
make ./TestRunner
./TestRunner  frysk.debuginfo.TestTypeEntry


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2007-12-04 15:26 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <20071204004717.621.qmail@sourceware.org>
2007-12-04 14:52 ` [SCM] master: Emit one test per variable Andrew Cagney
2007-12-04 15:26   ` Stan Cox

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).