-
Notifications
You must be signed in to change notification settings - Fork 45
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix mapping of labels to subprojects (#183)
I had to create a new macro TRIBITS_CTEST_DRIVER_SET_LABELS_TO_SUBPROJECTS_MAPPING() that is only used by the outer CTest Driver code. That macro onlly sets CTEST_LABELS_FOR_SUBPROJECTS to the exact set of packages to be explictly tested. That is needed to limit the number of rows that shows up on CDash. I also simplified the macro TRIBITS_SET_LABELS_TO_SUBPROJECTS_MAPPING() which is now only used by the inner CMake configure and only matters when running ctest locally. In this case, there is no reason to limit the set of subprojects defined because ctest will only show lines for subproejcts/packages that have 1 or more tests defined. Given that these macros only cat a CMake/CTest var CTEST_LABELS_FOR_SUBPROJECTS I took out the inner if statement basd on ${PROJECT_NAME}_CTEST_USE_NEW_AAO_FEATURES since this is just setting a var which will be ignored by older versions of CMake/CTest. I added some strong checks to make sure that CTEST_LABELS_FOR_SUBPROJECTS is set correctly for each test case and then submitted these cases to CDash to confirm that the correct number of rows are showing up. Build/Test Cases Summary Enabled Packages: Enabled all Packages 0) MPI_DEBUG => passed: passed=247,notpassed=0 (0.62 min) 1) SERIAL_RELEASE => passed: passed=247,notpassed=0 (0.61 min) 2) MPI_DEBUG_CMAKE-3.6.2 => passed: passed=268,notpassed=0 (0.72 min) 3) SERIAL_RELEASE_CMAKE-3.6.2 => passed: passed=268,notpassed=0 (0.65 min)
- Loading branch information
1 parent
73a2990
commit d03fdde
Showing
3 changed files
with
125 additions
and
12 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
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