diff options
author | Jennifer Herting <jen@herting.cc> | 2019-06-06 12:18:43 -0400 |
---|---|---|
committer | Todd Gamblin <tgamblin@llnl.gov> | 2019-06-06 09:18:43 -0700 |
commit | 541578a45679ab993ff38800de2f18f5242d93aa (patch) | |
tree | 6a867c33d333c5ab262c0f907f9dd80cf020870a /lib | |
parent | 3bd854f991305abaa54d8b7f4ab804aac80ae7b4 (diff) | |
download | spack-541578a45679ab993ff38800de2f18f5242d93aa.tar.gz spack-541578a45679ab993ff38800de2f18f5242d93aa.tar.bz2 spack-541578a45679ab993ff38800de2f18f5242d93aa.tar.xz spack-541578a45679ab993ff38800de2f18f5242d93aa.zip |
tests: package_sanity now checks packages in 3rd-party repos (#11637)
Diffstat (limited to 'lib')
-rw-r--r-- | lib/spack/spack/test/package_sanity.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/spack/spack/test/package_sanity.py b/lib/spack/spack/test/package_sanity.py index 56c5954319..ed103c8d74 100644 --- a/lib/spack/spack/test/package_sanity.py +++ b/lib/spack/spack/test/package_sanity.py @@ -75,8 +75,7 @@ def test_no_fixme(): r'example.com', ] for name in spack.repo.all_package_names(): - repo = spack.repo.Repo(spack.paths.packages_path) - filename = repo.filename_for_package_name(name) + filename = spack.repo.path.filename_for_package_name(name) with open(filename, 'r') as package_file: for i, line in enumerate(package_file): pattern = next((r for r in fixme_regexes |