TriBITSPub / TriBITS

TriBITS: Tribal Build, Integrate, and Test System,
http://tribits.org
Other
36 stars 46 forks source link

Make 'dashboard' target work when no tests are enabled #584

Open bartlettroscoe opened 1 year ago

bartlettroscoe commented 1 year ago

Description

The current implementation of the TriBITS dashboard target will enable all packages if there are no package tests enabled. This problem is described in https://github.com/trilinos/Trilinos/issues/11955#issuecomment-1583447324 which shows:

...

**************************************************
*** Running all-at-once experimental dashboard ***
**************************************************

Trilinos_ENABLED_PACKAGES_LIST=

***
*** Run the dashboard command setting the list of packages
***

Running: env ... Trilinos_PACKAGES= ... <base-cmake-dir>/ctest -V -S <base-trilinos-dir>/cmake/tribits/ctest_driver/experimental_build_test.cmake

...

***
*** Determining what packages to enable based what was set in Trilinos_PACKAGES by the user ...
***

Setting Trilinos_ENABLE_ALL_PACKAGES=ON since Trilinos_PACKAGES_USER_SELECTED=''

...

Proposed solution

The proposed solution is to set <Project>_ENABLED_PACKAGES_LIST to <Project>_ENABLED_PACKAGES when <Project>_ENABLED_PACKAGES_LIST is empty due to no package tests being enabled.

Requirements