CI: unreferenced files: be less verbose (MR 1759)

Don't print a message for each APKBUILD that is getting parsed. pytest
will display the stdout below the raised exception, so with the print
one had to scroll up a lot to find the actual error message. Now it is
printed at the bottom.
This commit is contained in:
Oliver Smith 2020-11-26 10:43:56 +01:00 committed by Alexey Min
parent d6eb5dc5b2
commit 52e1621408
No known key found for this signature in database
GPG key ID: EBF5ECFFFEE34DED

View file

@ -182,7 +182,6 @@ def test_aports_unreferenced_files(args):
Raise an error if an unreferenced file is found Raise an error if an unreferenced file is found
""" """
for apkbuild_path in glob.iglob(args.aports + "/**/APKBUILD", recursive=True): for apkbuild_path in glob.iglob(args.aports + "/**/APKBUILD", recursive=True):
print(f"Checking {apkbuild_path}...")
apkbuild = pmb.parse.apkbuild(args, apkbuild_path) apkbuild = pmb.parse.apkbuild(args, apkbuild_path)
# Collect install files from subpackages # Collect install files from subpackages