Skip to content

Option to turn off unit_tests from cmake#1950

Merged
deslaughter merged 1 commit intoOpenFAST:rc-3.5.2from
andrew-platt:f/unitTest_turnOff
Dec 21, 2023
Merged

Option to turn off unit_tests from cmake#1950
deslaughter merged 1 commit intoOpenFAST:rc-3.5.2from
andrew-platt:f/unitTest_turnOff

Conversation

@andrew-platt
Copy link
Collaborator

This PR is ready to merge.

Feature or improvement description
Previously anytime the BUILD_TESTING option in CMake was turned on, unit tests would also be run. However, Kestrel cannot currently run the unit testing, so an option to turn that off separately is needed.

A new CMake variable BUILD_UNIT_TESTING is now turned on if BUILD_TESTING is on. This option can be separately specified for scenarios where pfunit used in testing is not available.

Related issue, if one exists
#1948

Impacted areas of the software
Unit testing.

Additional supporting information
We are currently using pfunit version 3.2.10, which is 6+ years old (current version is 4.8). We don't have resources at present to deploy the newer pfunit or fix the issues on Kestrel, so a workaround is needed for these rare cases.

Test results, if applicable

@andrew-platt andrew-platt added this to the v3.5.2 milestone Dec 20, 2023
@andrew-platt andrew-platt self-assigned this Dec 20, 2023
@andrew-platt
Copy link
Collaborator Author

andrew-platt commented Dec 20, 2023

@andrew-platt andrew-platt requested review from deslaughter and jjonkman and removed request for jjonkman December 20, 2023 08:03
@deslaughter deslaughter merged commit d31f1d2 into OpenFAST:rc-3.5.2 Dec 21, 2023
@andrew-platt andrew-platt deleted the f/unitTest_turnOff branch January 8, 2024 21:34
@andrew-platt andrew-platt mentioned this pull request Dec 24, 2024
38 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

Comments