Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
automatically select internal/external tests
- having this as an option is a pain, because even if you haven't set it the value is remembered, so if you e.g. change BUILD_SHARED_LIBS you would have to explicitly set EAR_UNIT_TESTS - not all tests depend on the internals, and we should still run the external ones if we can. this is not just a good idea from an integrity point of view, it also allows us to check that we've added exports to the external API - either way, it should always be possible to run 'make test' successfully (unless explicitly disabled), so that if we add more tests in any configuration they will get picked up in CI - cmake generator expressions don't actually work here, because they are evaluated when the build system is generated, not while the CMakeLists.txt files are being ran
- Loading branch information
Showing
2 changed files
with
22 additions
and
18 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters