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

Add C tests with EXCLUDE_FROM_ALL #3607

Merged
merged 1 commit into from
Jul 7, 2022
Merged

Conversation

pinkwah
Copy link
Contributor

@pinkwah pinkwah commented Jul 7, 2022

When configuring CMake with BUILD_TESTS=OFF, just exclude the tests.
This allows compile_commands.json to have the correct lines while
avoiding the compilation times that tests bring.

When configuring CMake with `BUILD_TESTS=OFF`, just exclude the tests.
This allows `compile_commands.json` to have the correct lines while
avoiding the compilation times that tests bring.
@pinkwah
Copy link
Contributor Author

pinkwah commented Jul 7, 2022

Jenkins test this please

@pinkwah pinkwah marked this pull request as ready for review July 7, 2022 12:36
@pinkwah pinkwah enabled auto-merge (rebase) July 7, 2022 12:36
@pinkwah pinkwah merged commit 0d13dd9 into equinor:main Jul 7, 2022
@pinkwah pinkwah deleted the default-test branch October 24, 2022 11:24
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.

None yet

2 participants