« Previous | Next » 

Revision a0c3e726

Parent 79ac58fa
Child 1be35bef

Added by Michael Hanselmann about 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”.

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

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

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


  • added
  • modified
  • copied
  • renamed
  • deleted

View differences