dotnet/runtime

Consider updating the HWIntrinsic test generation code to support an array of input values.

Aperta

#12.344 aperta il 26 mar 2019

 (1 commento) (2 reazioni) (0 assegnatari)C# (5445 fork)batch import
area-CodeGen-coreclrhelp wantedtest-enhancement

Metriche repository

Star
 (17.886 stelle)
Metriche merge PR
 (Metriche PR in attesa)

Descrizione

Currently the HWIntrinsic tests are generated from a set of templates and corresponding metadata. This works fine for the majority of cases but requires some amount of metadata duplication when you want to run the same test, but with a different set of inputs (such as constant inputs for testing edge cases).

We should consider updating the generation script to support an array of input values so that way the metadata duplication can be reduced when needing to add specific edge-case scenarios.

category:testing theme:hardware-intrinsics skill-level:beginner cost:small

Guida contributor