Skip to content

Conversation

@neobrain
Copy link
Member

Previously, running ctest with BUILD_TESTS=OFF would discover and execute leftover tests from a previous build. This change ensures CTestTestfile.cmake gets regenerated so that ctest will see an empty test list in that case.

NOTE: include(CTest) automatically calls enable_testing if BUILD_TESTING=ON, so that line has been removed. To ensure BUILD_TESTS=OFF produces an empty test list, the CTest module is included unconditionally.

Previously, running ctest with BUILD_TESTS=OFF would discover and execute
leftover tests from a previous build. This change ensures CTestTestfile.cmake
gets regenerated so that ctest will see an empty test list in that case.
@Sonicadvance1 Sonicadvance1 merged commit ee592ba into FEX-Emu:main Nov 27, 2024
12 checks passed
@neobrain neobrain deleted the fix_ctest_list branch November 27, 2024 22:26
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