Skip to content

fix(ghdl): Use PASS_REGULAR_EXPRESSION for cocotb tests

Imre Pechan requested to merge CIS-6871_fix_coco_fails_ignored into main

In case of certain cocotb errors (e. g. failed python import) CTest treats this as a passed test; the second set_tests_properties overrides the first one so 'ERROR gpi' is not captured. Also, cocotb was recently changed and this message disappeared. The proposed change checks for the test passing; the ';' in the regex can be used for or'ing the conditions. No test is treated as not an error because this was the original behavior.

Merge request reports

Loading