Bug 3467 - Add -n -- do not run tests just print them -- option to funit
Summary: Add -n -- do not run tests just print them -- option to funit
Status: RESOLVED FIXED
Alias: None
Product: frysk
Classification: Unclassified
Component: general (show other bugs)
Version: unspecified
: P2 normal
Target Milestone: ---
Assignee: Andrew Cagney
URL:
Keywords:
Depends on:
Blocks: 2242
  Show dependency treegraph
 
Reported: 2006-11-06 22:25 UTC by Andrew Cagney
Modified: 2006-11-06 22:27 UTC (History)
0 users

See Also:
Host:
Target:
Build:
Last reconfirmed:
Project(s) to access:
ssh public key:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Andrew Cagney 2006-11-06 22:25:55 UTC
Need a way of listing all the tests that funit, or TestRunner would run (well at
least the classes).

With that it becomes easier to automate running just sub-tests.
Comment 1 Andrew Cagney 2006-11-06 22:27:00 UTC
Index: frysk-core/frysk/pkglibexecdir/ChangeLog
2006-11-06  Andrew Cagney  <cagney@redhat.com>

        * funit.java: Call runTestCases.
        * funit.xml: Mention -n / --list-classes-only option.

Index: frysk-imports/common/ChangeLog
2006-11-06  Andrew Cagney  <cagney@redhat.com>

        * TestRunner.javain: Assign exit status to local variable.  Call
        Runner.runTestCases.

Index: frysk-imports/frysk/junit/ChangeLog
2006-11-06  Andrew Cagney  <cagney@redhat.com>

        * Runner.java (runTestCases): Replace runArchCases.
        (createCommandLineParser): Add -n / --list-classes-only option.
        (listClassesOnly): New boolean variable.
        (runCases): If .listClassesOnly, print, instead of run the tests.