Target Release | 17.2.1 | ||||||||
---|---|---|---|---|---|---|---|---|---|
JIRA |
| ||||||||
Document status | Initial version | ||||||||
Document owner | |||||||||
Designer | |||||||||
Developers | |||||||||
QA | |||||||||
Forum Discussion | http://community.pbspro.org/t/pp-519-modify-skiponcray-decorator-in-ptl-to-skip-test-on-cray-cray-alps-simulator-and-cray-build/624 |
...
- Specify at least one of the three (' cray', 'craysim', 'craybuild') /craysim/craybuild strings as a parameter to decorator function. If more than one parameters are there then specify all of them as a comma separated values inside a single stringquotes. example: ('cray,craysim')
- If 'craybuild' is specified then skip the test on Cray build.
- If 'cray' is specified then skip the test on actual Cray cluster.
- If 'craysim' is specified then skip the test on Cray ALPS simulator.
- If more than one comma separated parameters are specified then apply skip for all those scenarios.
- Throw an error if no parameter is specified.
- Throw an error if invalid parameter is passed.
- Examples:
- Skip on actual Cray cluster:
@skipOnCray(‘cray’) - Skip on both actual Cray and simulator:
@skipOnCray(‘cray,craysim’) - Skip on all actual Cray, Cray ALPS simulator and Cray build:
@skipOnCray(‘cray,craysim,craybuild’)
- Skip on actual Cray cluster: