FUNIT

Section: Frysk (8)
Updated: April 2008
Index Return to Main Contents
 

NAME

funit - runs frysk's JUnit testsuite  

SYNOPSIS

funit [-r repeat-count] [--console CONSOLE_LOG=LEVEL] [--log LOG=LEVEL] [--arch arch] [-n] [--stress] [--all] [-e test-spec] [-i test-spec] [test-class ...] [-timeout timeout]
 

DESCRIPTION

funit

runs frysk's entire JUnit testsuite, or just the specified test-classs.

Frysk's JUnit testsuite, in addition to testing frysk's internals, tests the stability of the underlying kernel.

-r repeat-count

Run the JUnit tests repeat-count times.

--console CONSOLE_LOG=LEVEL

Set the log CONSOLE_LOG to level LEVEL. Can set multiple logs. The LEVEL can be [ OFF | SEVERE | WARNING | INFO | CONFIG | FINE | FINER | FINEST | ALL]

--log LOG

Set the log LOG to level LEVEL. Can set multiple logs. The LEVEL can be [ OFF | SEVERE | WARNING | INFO | CONFIG | FINE | FINER | FINEST | ALL]

--arch arch

Specify the test cases' arch. The ARCH can be 64 or 32. If no arch is specified, arch-64 cases will be run. When the arch-32 cases are ready, all cases will be run be default.The option will take no effect in 32-bit machine.

-n

No not run any tests, instead list the classes that would have been tested.

--stress

Run only stress tests (by default stress tests are excluded).

--all

Run all tests (by default stress tests are excluded).

-e test-spec

Specify a test to exclude. Each passed option will be interpreted as the regex specification of a test to omit This option may be used multiple times.

-i test-spec

Specify a test to include, overriding an omit specification. Each passed option will be interpreted as the regex specification of a test to include. This option may be used multiple times.

-timeout timeout

Specify the test timeout value in seconds. Default is 5.
 

Standard Frysk Options

-exe

The full path of the executable to read.

-noexe

Do not attempt to read the corresponding executable when loading a core file.

-sysroot directory

The system root directory under which all executables, libraries, and source are located.

-debug class=level...

Set internal debug-tracing of the specified Java class to level (level can be NONE, INFO, WARNING, FINE, and FINEST). If the level is absent, FINE is assumed; if the class is absent, the global level is set.
 

EXAMPLE

Run the frysk testsuite as a 32-bit process.

/usr/lib/frysk/funit

Run the frysk testsuite as 64-bit process.

/usr/lib64/frysk/funit
 

SEE ALSO

frysk(7) funit-child(8) funit-exec(8) funit-exit(8) funit-threads(8)  

BUGS

Report bugs to m[blue]http:/sources.redhat.com/fryskm[]