Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The file CMakeTests.cmake is no longer included if ENABLE_TESTING is off #609

Merged
merged 3 commits into from
May 26, 2022

Conversation

isaacbrodsky
Copy link
Collaborator

@isaacbrodsky isaacbrodsky commented May 25, 2022

This is a quick solution for uber/h3-py#239, but does not address the underlying issue of the file not being found. I do think this is useful because it allows us to unindent the CMakeTests.cmake file.

Also fixed a missing CHANGELOG item for #603

@coveralls
Copy link

coveralls commented May 25, 2022

Coverage Status

Coverage remained the same at 98.66% when pulling 175a03c on isaacbrodsky:tests-dont-open-cmaketests into 294c20e on uber:master.

@@ -6,6 +6,11 @@ The public API of this library consists of the functions declared in file
[h3api.h.in](./src/h3lib/include/h3api.h.in).

## [Unreleased]
### Fixed
- Fix polyfill bug when vertex latitude exactly matches cell center. (#603)
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🙏

option(BUILD_ALLOC_TESTS "Build tests for custom allocation functions" ON)
option(PRINT_TEST_FILES "Print which test files correspond to which tests" OFF)

include(TestWrapValgrind)
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The visual diff here is lousy, but I assume from here on down it's just indentation changes?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Correct, there should be no substantive changes to this file. Reindenting in VS Code and comparing to master I see only a couple lines where indents differ but no other changes.

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You can tell github diff to ignore indentation and then it clears up here.

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Screenshot from 2022-05-25 19-48-58
Screenshot from 2022-05-25 19-49-11

@isaacbrodsky isaacbrodsky changed the title The file CMakeTests.txt is no longer included if ENABLE_TESTING is off The file CMakeTests.cmake is no longer included if ENABLE_TESTING is off May 26, 2022
@isaacbrodsky isaacbrodsky merged commit a36c614 into uber:master May 26, 2022
@isaacbrodsky isaacbrodsky deleted the tests-dont-open-cmaketests branch May 26, 2022 00:55
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.

5 participants