[cmake-developers] [CMake 0013137]: ctest_start(Model APPEND) should keep the initial track specified in first call to ctest_start
Mantis Bug Tracker
mantis at public.kitware.com
Mon Apr 16 10:48:07 EDT 2012
The following issue has been SUBMITTED.
======================================================================
http://www.cmake.org/Bug/view.php?id=13137
======================================================================
Reported By: Olivier Pierard
Assigned To:
======================================================================
Project: CMake
Issue ID: 13137
Category: CTest
Reproducibility: always
Severity: minor
Priority: normal
Status: new
======================================================================
Date Submitted: 2012-04-16 10:48 EDT
Last Modified: 2012-04-16 10:48 EDT
======================================================================
Summary: ctest_start(Model APPEND) should keep the initial
track specified in first call to ctest_start
Description:
I recently spent some time in solving an obvious problem which could be easily
avoided.
In a CTest script, I do a first ctest_start(ModelName TRACK cdash_track_name),
ctest_build then run another ctest script on a node of our cluster which starts
with ctest_start(ModelName APPEND) and then ctest_test.
Unfortunately, the track is not kept. This sounds logical to keep information
given in the first ctest_start. Another coherent solution would be to define a
variable 'CTEST_TRACK' which would be automatically used in a ctest_start as
already done for CTEST_SOURCE_DIRECTORY.
Steps to Reproduce:
* First ctest_script contains:
ctest_start(ModelName TRACK cdash_track_name)
ctest_configure(BUILD "CTEST_BINARY_DIRECTORY")
* Second ctest_script contains:
ctest_start(ModelName)
ctest_test(BUILD "CTEST_BINARY_DIRECTORY")
Results of configure step will be sent to cdash_track_name track on the CDash
while second is sent to the usual 'Nightly' track
======================================================================
Issue History
Date Modified Username Field Change
======================================================================
2012-04-16 10:48 Olivier PierardNew Issue
======================================================================
More information about the cmake-developers
mailing list