MantisBT - CMake
View Issue Details
0013780CMakeCTestpublic2012-12-07 17:272016-06-10 14:31
Frank U. May 
Kitware Robot 
normalminoralways
closedmoved 
CMake 2.8.10.2 
 
0013780: Continuous ctest does not work if executed in individual steps
When running CTest continuous in individual steps every step following ContinuousUpdate is skipped.

Basically it is a nice feature that continuous tests don't run, if there are no updates. However, it seems the current implementation breaks running continuous tests in individual steps.

ContinuousUpdate works fine and reports the update. All following steps just report the site and the build name and do nothing else.
1.) Set up a CTest environment updating from a repository (I am using Git).

2.) From workspace A push an update to the repository.

3.) From workspace B run:
   ctest -C Release -D ContinuousStart
   ctest -C Release -D ContinuousUpdate
   ctest -C Release -D ContinuousConfigure
   ctest -C Release -D ContinuousBuild
   ctest -C Release -D ContinuousSubmit

4.) Note that "ContinuousUpdate" properly reports the update, while the following steps do nothing but report site and build name.

5.) Same issue, if you try:
   ctest -C Release --track Continuous -D Experimental[ALL_STEPS]

6.) Same issue if you try:
   ctest -C Release --track "Continuous Master" -D Continuous[ALL_STEPS]

7.) Same issue if you try:
   ctest -C Release --track "Continuous Master" -D Experimental[ALL_STEPS]

8.) Workaround: it works, if you try:
   ctest -C Release --track "Commit Master" -D Experimental[ALL_STEPS]

As I am running continuous tests from my Git repository hook, the latter is a feasible workaround. But it is not nice at all; I would highly appreciate, if this could be fixed. Or if someone could point out, where I am showing off to be a dumb user. ;)

To me it seems that the information that there was indeed an update from the repository gets lost between ContinuousUpdate and the following steps.
No tags attached.
Issue History
2012-12-07 17:27Frank U. MayNew Issue
2016-06-10 14:28Kitware RobotNote Added: 0042167
2016-06-10 14:28Kitware RobotStatusnew => resolved
2016-06-10 14:28Kitware RobotResolutionopen => moved
2016-06-10 14:28Kitware RobotAssigned To => Kitware Robot
2016-06-10 14:31Kitware RobotStatusresolved => closed

Notes
(0042167)
Kitware Robot   
2016-06-10 14:28   
Resolving issue as `moved`.

This issue tracker is no longer used. Further discussion of this issue may take place in the current CMake Issues page linked in the banner at the top of this page.