Bug 3467

Summary: Add -n -- do not run tests just print them -- option to funit
Product: frysk Reporter: Andrew Cagney <cagney>
Component: generalAssignee: Andrew Cagney <cagney>
Status: RESOLVED FIXED    
Severity: normal    
Priority: P2    
Version: unspecified   
Target Milestone: ---   
Host: Target:
Build: Last reconfirmed:
Bug Depends on:    
Bug Blocks: 2242    

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.