diff options
author | Todd Gamblin <tgamblin@llnl.gov> | 2020-03-23 15:15:36 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-03-23 15:15:36 -0700 |
commit | 54a6c25da637418f568b3419bd1e467ffdd0870b (patch) | |
tree | d8463f588f5659ee74688e2f8484935fe5d891e4 /share | |
parent | d3c1a4c94bbfe95aacbc473dcc24183b04cdb29f (diff) | |
download | spack-54a6c25da637418f568b3419bd1e467ffdd0870b.tar.gz spack-54a6c25da637418f568b3419bd1e467ffdd0870b.tar.bz2 spack-54a6c25da637418f568b3419bd1e467ffdd0870b.tar.xz spack-54a6c25da637418f568b3419bd1e467ffdd0870b.zip |
Bugfix (config): enable "spack test" when in an active environment (#15618)
For any Spack test using Spack's YAML configuration, avoid using real
Spack configuration that has been cached by other tests and Spack
startup logic. Previously this was only done for tests using
'mutable_config' (i.e. those which expected to *change* the
configuration of Spack), but in fact all tests that read Spack config
should use it.
This was an issue when running tests within an environment, because
compiler configuration ends up being queried earlier, and the user's
real config "leaks" into the cache. Outside an environment, the cache
is never set until tests touch it, so we weren't seeing this issue.
Diffstat (limited to 'share')
0 files changed, 0 insertions, 0 deletions