forked from Slicer/Slicer
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
BUG: DriverScript: Fix handling of CDash project associated with drop…
… site This commit fixes incorrect use of the variable CTEST_PROJECT_NAME, it was previously set under the assumption it would be used to select the CDash project associated with the dashboard submission. Setting CTEST_PROJECT_NAME was a no-op, it was systematically overridden with the correct value in CTestConfig. The correct value corresponds to the name of the top-level CMake project associated with the project being configured, built and tested. To address the problem, this commit introduces the variable CDASH_PROJECT_NAME and use it to ultimately select the appropriate CDash project when setting the variable CTEST_DROP_LOCATION. svn-url: http://viewvc.slicer.org/viewvc.cgi/Slicer4?view=revision&revision=27058 git-svn-id: http://svn.slicer.org/Slicer4/trunk@27058 3bd1e089-480b-0410-8dfb-8563597acbee
- Loading branch information
Showing
6 changed files
with
24 additions
and
27 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,12 @@ | ||
set(CTEST_PROJECT_NAME "Slicer") | ||
set(CTEST_NIGHTLY_START_TIME "3:00:00 UTC") | ||
|
||
if(NOT DEFINED CDASH_PROJECT_NAME) | ||
set(CDASH_PROJECT_NAME "SlicerPreview") | ||
endif() | ||
|
||
set(CTEST_DROP_METHOD "http") | ||
set(CTEST_DROP_SITE "slicer.cdash.org") | ||
set(CTEST_DROP_LOCATION "/submit.php?project=SlicerPreview") | ||
set(CTEST_DROP_LOCATION "/submit.php?project=${CDASH_PROJECT_NAME}") | ||
set(CTEST_DROP_SITE_CDASH TRUE) | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters