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

Fix package test/example enable logic for global test/example case (#trilinos/Trilinos#11002) #529

Conversation

bartlettroscoe
Copy link
Member

This PR adds a failing test to show the defect reported in #trilinos/Trilinos#11002 and then updates the code to make the test pass.

I think this TriBITS enable/disable logic could use a little more messaging but I think this is okay for now.

…vars (TriBITSPub#63)

The macro and the vars were pooly named for what they actually do.  This
should make it easier to fix the bug in trilinos/Trilinos#11002.
…rilinos/Trilinos#11002)

Added new macro tribits_set_package_enable_based_on_global_enable_on() to fix
the use case described in trilinos/Trilinos#11002 and demonstrated by the new
dependency test case:

* TriBITS_DepTests_EnableThyra_EnableExamples_EnableTestsEmpty_DisableThyraExamples_EnableThyraTests

that was failing and now passes.

I tweaked the pass regex to catch the new output but the behavior.
Copy link
Collaborator

@rabartlett1972 rabartlett1972 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Allow to merge so I can update in Trilinos.

I will then set up for post-merge review.

@bartlettroscoe
Copy link
Member Author

@KyleFromKitware, can you please do a post-merge review of this PR?

@KyleFromKitware
Copy link
Collaborator

+1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

3 participants