We have software with gitlab CI pipeline.
Up to now we have within the software a git submodule Teststuite with own CMakeLists.txt which is executed for testing via.
cmake .. -DCFS_INSTALL_DIR=/Users/fwein/code/cfs/release
ctest -D ExperimentalStart --track Gitlab
ctest -D ExperimentalUpdate --track Gitlab
to submit the tests to our cdash instance.
Now we want to replace the git submodule with the direct content, but would like to keep the structure.
But the second cmake command fails:
ctest -D ExperimentalUpdate --track Gitlab
Site: MacBookPro.fritz.box
Build name: Darwin-unknown
Updating the repository: /Users/fwein/code/no_testsuite/Testsuite
Cannot find UpdateCommand configuration key.
Errors while running CTest
The reason is, that Testsuite is no repository any more, but the parent directory is one.
Do you have any hints where I can start digging?
The variables TESTSUITE_SOURCE_DIR
and CMAKE_HOME_DIRECTORY
are set, is any of them assumed to be the git repository?