Skip to content

Make tests conditional on BUILD_TESTING#73

Merged
ahmed-irfan merged 2 commits intoSRI-CSL:masterfrom
yurivict:add-testing-var
Jan 17, 2024
Merged

Make tests conditional on BUILD_TESTING#73
ahmed-irfan merged 2 commits intoSRI-CSL:masterfrom
yurivict:add-testing-var

Conversation

@yurivict
Copy link
Contributor

There is no need to build all tests unconditionally.
BUILD_TESTING is the standard variable in cmake: https://cmake.org/cmake/help/latest/module/CTest.html

@ahmed-irfan
Copy link
Member

This PR doesn't run the tests anymore. The tests should run in the default configuration.

I think you need to add include(CTest) in CMakeLists.txt. Can you add that in this PR?

@ahmed-irfan ahmed-irfan self-requested a review January 16, 2024 21:13
@ahmed-irfan ahmed-irfan merged commit 26725ac into SRI-CSL:master Jan 17, 2024
Ovascos pushed a commit to Ovascos/libpoly that referenced this pull request Feb 20, 2024
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.

2 participants