Skip to content

Issues with HW Intrinsics test templates #10097

@CarolEidt

Description

@CarolEidt

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    area-CodeGen-coreclrCLR JIT compiler in src/coreclr/src/jit and related components such as SuperPMItest-bugProblem in test source code (most likely)

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions