Skip to content

Conversation

@xoorath
Copy link

@xoorath xoorath commented Jan 3, 2026

Introduces the change proposed by jan-wassenberg

This change avoids including CTest or creating unused testing targets when HWY_ENABLE_TESTS is off.

Fixes #2833

Testing done:

  1. Ran cmake -B my_build -S . -G "Visual Studio 17 2022"
  2. Opened the visual studio solution
  3. ✅ All test projects were in the solution (including the CTest generated Continuous, Experimental, etc.)
  4. Ran cmake -B my_build -S . -DHWY_ENABLE_TESTS=OFF -G "Visual Studio 17 2022"
  5. Opened the visual studio solution
  6. ✅ No test projects were in the solution (including the CTest generated Continuous, Experimental, etc.)
Screenshot 2026-01-03 142846 Screenshot 2026-01-03 142925

@google-cla
Copy link

google-cla bot commented Jan 3, 2026

Thanks for your pull request! It looks like this may be your first contribution to a Google open source project. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA).

View this failed invocation of the CLA check for more information.

For the most up to date status, view the checks section at the bottom of the pull request.

@xoorath
Copy link
Author

xoorath commented Jan 3, 2026

I've now signed the CLA for my account. That check can be re-run.

@jan-wassenberg
Copy link
Member

Thanks for making the change! I think the CLA check is still failing because the email address is x*​@noreply.git.xo.codes, but the check requires that this match the CLA email. Can we change that?

Introduces
[the change proposed](google#2833 (comment))
by jan-wassenberg

This change avoids including CTest or creating unused testing targets when HWY_ENABLE_TESTS is off.

Fixes google#2833
@xoorath
Copy link
Author

xoorath commented Jan 5, 2026

Alright, the CLA should be sorted now. Had to re-author the commit with a real email unfortunately, but c'est la vie.

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

CTest included when tests are disabled

2 participants