JavaTest CLI UserGuide describes incorrect format of excludeList command:
CLI UserGuide, p29 says:
"Test suites can supply exclude list files which contain the list of tests that the
harness is not required to run. Exclude list files conventionally use a .jtx
extension. Once you have set up a configuration, you can use an excludeList
command to specify the exclude list for your test run:
> javatest ... [initial-setup-commands] ... -excludeList path/filename ... [taskcommand]
...
The -excludeList path/filename command can be used multiple times to specify
multiple exclude lists for a test run.
See About the Command-Line Examples"
In case if user use excludeList command multiple times to specify multiple exclude lists only last command will affect test execuiton.
Example: javatest ... [initial-setup-commands] ... -excludeList aaaa.jtx -excludeList bbb.jtx -excludeList ccc.jtx... [taskcommand]
Only last exclude list (ccc.jtx) will affect test execution
Correct format of this command is:
javatest ... [initial-setup-commands] ... -excludeList path/filename1 path/filename2 ... [taskcommand]
In this case to set multiple exclude list user should mention 3 files with blank space as delimiter
Example: To achive goal of first example correct command will be:
javatest ... [initial-setup-commands] ... -excludeList aaaa.jtx bbb.jtx ccc.jtx... [taskcommand]
In this case all three exclude lists will affect test exectuion
CLI UserGuide, p29 says:
"Test suites can supply exclude list files which contain the list of tests that the
harness is not required to run. Exclude list files conventionally use a .jtx
extension. Once you have set up a configuration, you can use an excludeList
command to specify the exclude list for your test run:
> javatest ... [initial-setup-commands] ... -excludeList path/filename ... [taskcommand]
...
The -excludeList path/filename command can be used multiple times to specify
multiple exclude lists for a test run.
See About the Command-Line Examples"
In case if user use excludeList command multiple times to specify multiple exclude lists only last command will affect test execuiton.
Example: javatest ... [initial-setup-commands] ... -excludeList aaaa.jtx -excludeList bbb.jtx -excludeList ccc.jtx... [taskcommand]
Only last exclude list (ccc.jtx) will affect test execution
Correct format of this command is:
javatest ... [initial-setup-commands] ... -excludeList path/filename1 path/filename2 ... [taskcommand]
In this case to set multiple exclude list user should mention 3 files with blank space as delimiter
Example: To achive goal of first example correct command will be:
javatest ... [initial-setup-commands] ... -excludeList aaaa.jtx bbb.jtx ccc.jtx... [taskcommand]
In this case all three exclude lists will affect test exectuion
- relates to
-
CODETOOLS-6664457 CLI guide sometimes mention the command -exclude instead of the correct command -excludeList
-
- Closed
-