« Previous | Next » 

Revision a0c3e726

IDa0c3e7264aad583e956c1608bdc62a634b971f36
Parent 79ac58fa
Child 1be35bef

Added by Michael Hanselmann almost 12 years ago

QA: Enable use of OR conditions in test checks

Until now “TestRunIf” and “TestEnabled” could only handle AND. With this
patch a new class named “Either” is added to “qa_config” and allows OR.
The name “Either” was chosen instead of “Or” as the latter is very close
to the reserved keyword “or”.

Examples:
["rapi", Either(["instance-rename", "instance-reboot"])]

Either(["node-list", "instance-list", "job-list"])

Signed-off-by: Michael Hanselmann <>
Reviewed-by: Iustin Pop <>

Files

  • added
  • modified
  • copied
  • renamed
  • deleted

View differences