diff --git a/tools/clang/unittests/HLSLExec/LongVectors.cpp b/tools/clang/unittests/HLSLExec/LongVectors.cpp index 95b23ed5b3..8e8dea55f4 100644 --- a/tools/clang/unittests/HLSLExec/LongVectors.cpp +++ b/tools/clang/unittests/HLSLExec/LongVectors.cpp @@ -1353,6 +1353,7 @@ class DxilConf_SM69_Vectorized { TEST_CLASS_PROPERTY( "Kits.Specification", "Device.Graphics.D3D12.DXILCore.ShaderModel69.CoreRequirement") + TEST_METHOD_PROPERTY(L"Priority", L"0") END_TEST_CLASS() TEST_CLASS_SETUP(classSetup) { @@ -1419,8 +1420,14 @@ class DxilConf_SM69_Vectorized { OverrideInputSize); } - // Only skip unsupported tests for RITP runs. - const bool SkipUnsupported = IsRITP; + bool FailIfRequirementsNotMet = false; +#ifdef _HLK_CONF + FailIfRequirementsNotMet = true; +#endif + WEX::TestExecution::RuntimeParameters::TryGetValue( + L"FailIfRequirementsNotMet", FailIfRequirementsNotMet); + + const bool SkipUnsupported = !FailIfRequirementsNotMet; createDevice(&D3DDevice, ExecTestUtils::D3D_SHADER_MODEL_6_9, SkipUnsupported); }