diff options
author | Nichols A. Romero <naromero77@users.noreply.github.com> | 2018-11-09 10:16:11 -0600 |
---|---|---|
committer | Todd Gamblin <tgamblin@llnl.gov> | 2018-11-09 08:16:11 -0800 |
commit | 236b34f3df38d0f44ada307ece354f92a96a6a91 (patch) | |
tree | d48401c2d4ec0c864e1949259134eac9f129066c /lib | |
parent | 988d37757f70f8e580db9091f5c9cc2e32ba33d5 (diff) | |
download | spack-236b34f3df38d0f44ada307ece354f92a96a6a91.tar.gz spack-236b34f3df38d0f44ada307ece354f92a96a6a91.tar.bz2 spack-236b34f3df38d0f44ada307ece354f92a96a6a91.tar.xz spack-236b34f3df38d0f44ada307ece354f92a96a6a91.zip |
Introduce fftw-api virtual package for Intel-MKL and FFTW (#9618)
* Introduce FFTW2 and FFT3 providers for Intel-MKL and FFTW Spack packages.
* make fftw default package for fftw-api virtual package
* virtual package test assertion now provides location of default virtual packages.
* Change name of virtual package to fftw-api and used versioned interface.
Diffstat (limited to 'lib')
-rw-r--r-- | lib/spack/spack/test/package_sanity.py | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/lib/spack/spack/test/package_sanity.py b/lib/spack/spack/test/package_sanity.py index f31209c702..a8c84bd70d 100644 --- a/lib/spack/spack/test/package_sanity.py +++ b/lib/spack/spack/test/package_sanity.py @@ -47,9 +47,12 @@ def test_all_virtual_packages_have_default_providers(): defaults = spack.config.get('packages', scope='defaults') default_providers = defaults['all']['providers'] providers = spack.repo.path.provider_index.providers - + default_providers_filename = \ + spack.config.config.scopes['defaults'].get_section_filename('packages') for provider in providers: - assert provider in default_providers + assert provider in default_providers, \ + "all providers must have a default in %s" \ + % default_providers_filename def test_package_version_consistency(): |