Interface: skipOnCray():
Visibility: Public
Change Control: Stable
Synopsis: Modifications to add a skip for actual Cray cluster, Cray ALPS simulator and Cray build.
Standing of the interface : modified interface
Details: This single interface which will provide a way to skip test case on Cray build, actual Cray cluster and Cray ALPS simulator.
- Specify at least one of the three cray/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 quotes. 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’)