You can open an existing configuration file and then specify one or more individual
tests or branches of tests for the test run. Use the
tests
command to specify one or more tests:
> jtharness ... [initial set-up commands] ...
-tests api/javax_swing api/java_awt
... [task command] ...
See About the Command-Line Examples for a description of the use of > jtharness in the example.
See Command-Line Overview for a detailed description of the command line structure.
The path used for setting the test or folder of tests to be run is the same as that displayed in the GUI tree folder. One or more tests can be specified.
When specifying tests for a test run, include the commands in the following sequence:
See Set-up Commands for detailed description of the available commands.
api/javax_swing
and api/java_awt
).runtests
command.
See Task Commands for a description of the available commands.
In the following example, myconfig.jti
and myexcludelist.jtx
represent file names that might exist on your system.
Command Options Format Example:
> jtharness -config
myconfig.jti
-runtests
See Formatting a Command for descriptions and examples of other command formats that you can use.
Copyright © 2003, 2011, Oracle and/or its affiliates. All rights reserved.