Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.


Target Release17.2.1
JIRA

Jira Legacy
serverJIRA (pbspro.atlassian.net)
serverId32008a99-7831-3ff8-9638-3db0cd01164d
keyPP-519

Document statusInitial version
Document owner
Designer
Developers
QA
Forum Discussionhttp://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’)