Skip to content

Conversation

@AlexGuteniev
Copy link
Contributor

This makes sure that tests are running all code paths.

Currently it is not much needed, AVX2 is everywhere.
But we may pick next x64 features someday, and also may pick up ARM64 not always available features.

We also need to be able to execute tests intentionally on downlevel host to see if we haven't used instructions that are not available. Here escape environment variable STL_TEST_DOWNLEVEL_HOST set to 1 will help.

@StephanTLavavej StephanTLavavej added the test Related to test code label Nov 15, 2025
@StephanTLavavej
Copy link
Member

Thanks! 😺 I pushed significant changes after being persuaded of this approach, please double-check.

@StephanTLavavej StephanTLavavej moved this from Initial Review to Ready To Merge in STL Code Reviews Nov 19, 2025
@StephanTLavavej StephanTLavavej moved this from Ready To Merge to Merging in STL Code Reviews Nov 19, 2025
@StephanTLavavej
Copy link
Member

I'm mirroring this to the MSVC-internal repo - please notify me if any further changes are pushed.

@AlexGuteniev
Copy link
Contributor Author

All good

@StephanTLavavej StephanTLavavej changed the title Make sure expected __isa_enabled bit was set before disabling it in feature-depended tests Make sure expected __isa_enabled bit was set before disabling it in feature-dependent tests Nov 19, 2025
@StephanTLavavej StephanTLavavej merged commit b3d928e into microsoft:main Nov 19, 2025
44 checks passed
@github-project-automation github-project-automation bot moved this from Merging to Done in STL Code Reviews Nov 19, 2025
@StephanTLavavej
Copy link
Member

Thanks for ensuring that we aren't silently missing test coverage! 👻 🕵️ 🔎

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

test Related to test code

Projects

Archived in project

Development

Successfully merging this pull request may close these issues.

2 participants