Skip to content

Variant for enabling tests, versions, cleanup#13882

Merged
adamjstewart merged 7 commits intospack:developfrom
raovgarimella:develop
Nov 26, 2019
Merged

Variant for enabling tests, versions, cleanup#13882
adamjstewart merged 7 commits intospack:developfrom
raovgarimella:develop

Conversation

@raovgarimella
Copy link
Copy Markdown
Contributor

Added variant for enabling tests
Added option to retrieve variants
Split 'parallel=some_partitioner' variant into 'parallel=true/false' and 'partitioner=some_partitioner'
Added conflicts
General cleanup

Copy link
Copy Markdown
Member

@adamjstewart adamjstewart left a comment

Choose a reason for hiding this comment

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

The point of the test-related changes I proposed is that we don't want the spec to be different based on whether or not unit tests were run during installation. Now, users will be able to run spack install --test=root to enable unit tests.

@adamjstewart adamjstewart added new-version tests General test capability(ies) labels Nov 25, 2019
Copy link
Copy Markdown
Contributor Author

@raovgarimella raovgarimella left a comment

Choose a reason for hiding this comment

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

Resolved all requested changes

Copy link
Copy Markdown
Member

@adamjstewart adamjstewart left a comment

Choose a reason for hiding this comment

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

The if 'foo' in spec lines aren't checking whether the variant is enabled, but if the dependency is present in the spec. all shouldn't be needed.

@adamjstewart adamjstewart merged commit 52d0940 into spack:develop Nov 26, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

new-version tests General test capability(ies)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants