diff options
author | scheibelp <scheibel1@llnl.gov> | 2017-10-25 12:08:03 -0700 |
---|---|---|
committer | Todd Gamblin <tgamblin@llnl.gov> | 2017-10-25 21:08:03 +0200 |
commit | dcdd16b35e128c5cdc22ea12324dcd5a619db4f7 (patch) | |
tree | b7a82d95d88d272f44858fadce9e3f9c9927db65 /LICENSE | |
parent | dd39862a80700998752b3e499102cca136433dba (diff) | |
download | spack-dcdd16b35e128c5cdc22ea12324dcd5a619db4f7.tar.gz spack-dcdd16b35e128c5cdc22ea12324dcd5a619db4f7.tar.bz2 spack-dcdd16b35e128c5cdc22ea12324dcd5a619db4f7.tar.xz spack-dcdd16b35e128c5cdc22ea12324dcd5a619db4f7.zip |
Check for namespace-qualified packages in repo_for_pkg (#5787)
* Fixes #5754
Previously when RepoPath.repo_for_pkg was invoked with a string,
it did not check if the string included a namespace. Any
namespace-qualified package provided as a string would not be found
(at which point the behavior was to return the highest-precedence
repository).
* handle nested namespaces for packages specified as strings in repo_for_pkg
* add preliminary repository tests
* add test which replicates #5754
* refactor repo tests with fixtures
* define repo_path equivalent at test-level scope for repo tests
* add tests for unknown namespace/package
* rename fixture function (no longer prefixed with 'test_')
Diffstat (limited to 'LICENSE')
0 files changed, 0 insertions, 0 deletions