CI: test_directory_structure: mention firmware mv (MR 1362)

Instead of encouraging the user to add the directory to
test_directory_structure.py, mention that we just moved the firmware to
device/{main,community,testing}/. This will be more helpful for users
who get the message after rebasing on master.

In the rare case that we need to change the directory structure, we will
figure out which file to edit.

[ci skip]: various firmware packages fail when built at the same time
           (they use generic source files like "bcmdhd.cal" with different checksums)
This commit is contained in:
Oliver Smith 2020-07-07 15:58:58 +02:00
parent c590ed74cf
commit 3e012e3714
No known key found for this signature in database
GPG key ID: 5AE7F5513E0885CB

View file

@ -25,7 +25,7 @@ def test_directories():
apkbuilds = set(glob.iglob("**/APKBUILD", recursive=True))
expected = set(f for d in expected_directories for f in glob.iglob(d + "/*/APKBUILD"))
assert apkbuilds == expected, "Found APKBUILD in unexpected directory. " \
"Consider adding it to test_directory_structure.py!"
"Note that we moved firmware/* to device/{main,community,testing}/*."
# Ensure no file in pmaports are executable.