Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
bartlettroscoe opened this issue Jun 9, 2023 · 0 comments
Open

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

bartlettroscoe opened this issue Jun 9, 2023 · 0 comments

Comments

@bartlettroscoe
Copy link
Member

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 trilinos/Trilinos#11955 (comment) 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

  • Add test case for the dashboard target that does not have any tests enabled and enables just a subset of packages
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Selected
Development

No branches or pull requests

1 participant