ctest_start() reads TAG file ignoring the TRACK argument
Starting in 3.12.x, likely due to !2036 (merged), when a CTest script uses ctest_start(Experimental TRACK t)
, if a previous build ran with another track and the build tree was not cleaned out, the track read from the Testing/Temporary/TAG
file causes CTest to ignore the TRACK
argument to ctest_start
. The MR mentions that it only affects ctest_start(APPEND)
, but this seems to not be the case.
FWIW, this is causing Kitware's buildbot infrastructure to submit MR builds to other tracks such as Nightly
or master
since those builds are clean and MR builds are not, the clean build's track overwrites the intended MR track submission.