diff options
author | Denis Davydov <davydden@gmail.com> | 2019-01-11 19:07:28 +0100 |
---|---|---|
committer | Todd Gamblin <tgamblin@llnl.gov> | 2019-01-11 10:07:28 -0800 |
commit | f4bda74b308fcb17f00fcc132dee042d79c5e9cc (patch) | |
tree | 07da4fcdda1d1f827bae369573ebf77550264058 /lib | |
parent | 9102cd579030e885a6d296742bfca9caa7fa23c2 (diff) | |
download | spack-f4bda74b308fcb17f00fcc132dee042d79c5e9cc.tar.gz spack-f4bda74b308fcb17f00fcc132dee042d79c5e9cc.tar.bz2 spack-f4bda74b308fcb17f00fcc132dee042d79c5e9cc.tar.xz spack-f4bda74b308fcb17f00fcc132dee042d79c5e9cc.zip |
dealii: fix concretization of xsdk package (#10288)
* dealii: fix concretization of xsdk package
* tests: add concretization tests for deal.II and xSDK, which are often broken due to limitations in the concretizer
* use pytest.mark.parametrize
Diffstat (limited to 'lib')
-rw-r--r-- | lib/spack/spack/test/concretize.py | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/lib/spack/spack/test/concretize.py b/lib/spack/spack/test/concretize.py index 8eb759169d..92a389992c 100644 --- a/lib/spack/spack/test/concretize.py +++ b/lib/spack/spack/test/concretize.py @@ -224,6 +224,17 @@ class TestConcretize(object): s.concretize() assert s['mpi'].version == ver('1.10.3') + @pytest.mark.parametrize("spec,version", [ + ('dealii', 'develop'), + ('xsdk', '0.4.0'), + ]) + def concretize_difficult_packages(self, a, b): + """Test a couple of large packages that are often broken due + to current limitations in the concretizer""" + s = Spec(a + '@' + b) + s.concretize() + assert s[a].version == ver(b) + def test_concretize_two_virtuals(self): """Test a package with multiple virtual dependencies.""" |