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

Disable the building of tests with CMake option #6725

Closed
Jnewbon opened this issue Jul 14, 2020 · 0 comments · Fixed by #6726
Closed

Disable the building of tests with CMake option #6725

Jnewbon opened this issue Jul 14, 2020 · 0 comments · Fixed by #6726

Comments

@Jnewbon
Copy link
Contributor

Jnewbon commented Jul 14, 2020

Problem

Currently the CMake will always build the tests some of which have headers/test code in non test files.

Solution

Add an option to turn off the test and #ifdef any code for tests that are not in a dedicated test code file

@Jnewbon Jnewbon changed the title Disable the buling of tests with CMake option Disable the building of tests with CMake option Jul 14, 2020
Jnewbon pushed a commit that referenced this issue Jul 14, 2020
Signed-off-by: Pieterjan Camerlynck <pieterjan.camerlynck@gmail.com>
Signed-off-by: Jamie Newbon <jamie@symless.com>
Jnewbon added a commit that referenced this issue Jul 14, 2020
Signed-off-by: Jamie Newbon <jamie@symless.com>
@Jnewbon Jnewbon linked a pull request Jul 14, 2020 that will close this issue
@Jnewbon Jnewbon added this to the Sprint 2020-07-13 Jedi milestone Jul 14, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant