Skip to content

move waiving attribute to json

Created by: wizardofoz123

This patch moves the governing waive-enable to json. Each waive-enable is now governed by "waived": 1 (or 0) in each patterns.json file.

The code modifies generated XML by using jinja. Parameter like

where VALUE is True or False

is inserted into those test elements that are waived. The task has to have something like

{{get_waived(test_case)}}

that calls the function to get the waive value.

The waived tests are put as last. Otherwise the order of tests is not affected.

No other functional changes intended.

Signed-off-by: Jakub Racek jracek@redhat.com

Merge request reports