tests: Allow longts and shortts as kernel name (!407)

This is required for the pinephone-dontbeevil.
This commit is contained in:
Martijn Braam 2019-06-02 13:17:09 +02:00 committed by Oliver Smith
parent 24df480254
commit 1b5e1e0d0c
No known key found for this signature in database
GPG key ID: 5AE7F5513E0885CB

View file

@ -115,7 +115,7 @@ def test_aports_device_kernel(args):
* Validate kernel subpackage names
"""
# Generate list of valid subpackages
valid_subpackages = ["downstream", "rpi", "rpi2"]
valid_subpackages = ["downstream", "rpi", "rpi2", "longts", "shortts"]
for path in glob.glob(args.aports + "/main/linux-postmarketos-*"):
suffix = os.path.basename(path)[len("linux-postmarketos-"):]
valid_subpackages.append(suffix)