The test templates currently produce misleading output when a test fails. The ValidateResult method sets the Succeeded field to false when it encounters an error, and all subsequent calls to ValidateResult will report failure. ValidateResult should use a local success flag to check the results, and then check that before reporting failure and setting the Succeeded field to false.
I encountered this when tracking down #10079, with the SimpleTernOpTest template, but I believe it applies to the others as well.
category:testing
theme:hardware-intrinsics
skill-level:beginner
cost:small
The test templates currently produce misleading output when a test fails. The
ValidateResultmethod sets theSucceededfield tofalsewhen it encounters an error, and all subsequent calls toValidateResultwill report failure.ValidateResultshould use a local success flag to check the results, and then check that before reporting failure and setting theSucceededfield tofalse.I encountered this when tracking down #10079, with the SimpleTernOpTest template, but I believe it applies to the others as well.
category:testing
theme:hardware-intrinsics
skill-level:beginner
cost:small