-
- Downloads
BUG #13297: Don't enable modules needed only for tests.
Currently if a module is enabled, and its test module depends on additional modules (specified using TEST_DEPENDS), then those modules are automatically enabled. That's incorrect and causes issues with modules needing MPI being enabled simply because a testing module needs it. This patch fixes this issue. Instead of add test modules to the graph used for building the depencies, we parse the tests separately, only enabling those that have all their dependencies met. Also added an advanced option VTK_BUILD_ALL_MODULES_FOR_TESTS (which is available only when BUILD_TESTING is ON) that when set to ON (OFF by default) can revert to old behavior i.e. enable test dependencies automatically. Change-Id: I871a3cbef52aa0e030a0e3cf16446771a9404127
Please register or sign in to comment