diff options
author | Gregory Becker <becker33@llnl.gov> | 2019-04-02 19:22:15 -0700 |
---|---|---|
committer | Todd Gamblin <tgamblin@llnl.gov> | 2019-07-18 19:28:50 -0700 |
commit | 6cfbfcc967613d94ab0110003c18d58fb22ad9eb (patch) | |
tree | ae5cf3efdb3f7fe13be2138a9e2deda2544247e5 | |
parent | 12c899629477328b36252f2a404ce7935da6461b (diff) | |
download | spack-6cfbfcc967613d94ab0110003c18d58fb22ad9eb.tar.gz spack-6cfbfcc967613d94ab0110003c18d58fb22ad9eb.tar.bz2 spack-6cfbfcc967613d94ab0110003c18d58fb22ad9eb.tar.xz spack-6cfbfcc967613d94ab0110003c18d58fb22ad9eb.zip |
concretization: regression test for constrain() with deps
- ensure that `Spec('foo').constrain('foo ^bar')` works
- prior to stacks implementation, this constraint would have done nothing.
-rw-r--r-- | lib/spack/spack/test/spec_semantics.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/spack/spack/test/spec_semantics.py b/lib/spack/spack/test/spec_semantics.py index 3b0c4ce391..c3e18af44d 100644 --- a/lib/spack/spack/test/spec_semantics.py +++ b/lib/spack/spack/test/spec_semantics.py @@ -695,6 +695,7 @@ class TestSpecSematics(object): check_constrain_changed('libelf^foo%gcc', 'libelf^foo%gcc@4.5') check_constrain_changed('libelf^foo', 'libelf^foo+debug') check_constrain_changed('libelf^foo', 'libelf^foo~debug') + check_constrain_changed('libelf', '^foo') platform = spack.architecture.platform() default_target = platform.target('default_target').name |