Skip to content

Commit

Permalink
tests: package_sanity now checks packages in 3rd-party repos (spack#1…
Browse files Browse the repository at this point in the history
  • Loading branch information
qwertos authored and tgamblin committed Jun 6, 2019
1 parent 3bd854f commit 541578a
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions lib/spack/spack/test/package_sanity.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 541578a

Please sign in to comment.