pmaports/.ci/testcases
Newbyte 239aa4da8f
CI: Support not having "pmbootstrap" in $PATH (MR 3977)
Not everyone's setup includes "pmbootstrap" as a command in $PATH.
Currently, in such setups, $ pmbootstrap ci kconfig (and potentially
other testcases) in the pmaports repository do not work as they expect
the "pmbootstrap" command to exist. Resolve this by checking whether
PMBOOTSTRAP_CMD is set and use that as command for invoking pmbootstrap.
If it isn't set (because you're using an old pmbootstrap version or
invoking a script directly for some reason), fall back to the old
behaviour as to not break compatibility.

Depends on pmbootstrap patch that sets PMBOOTSTRAP_CMD to argv[0]:
https://lists.sr.ht/~postmarketos/pmbootstrap-devel/patches/39995
2023-04-02 15:04:13 +02:00
..
add_pmbootstrap_to_import_path CI: Support not having "pmbootstrap" in $PATH (MR 3977) 2023-04-02 15:04:13 +02:00
conftest.py CI: follow-up rework according to pmbootstrap master (MR 2595) 2021-10-11 16:08:39 +03:00
test_device.py CI: test_device: fix versioned depends for postmarketos-base (MR 3791) 2023-02-13 08:52:20 +01:00
test_deviceinfo.py CI: mark deviceinfo_usb_rndis_function as obsolete (MR 3669) 2022-11-27 17:30:03 +01:00
test_directory_structure.py CI: rename ci folder to consistent naming (MR 2514) 2021-09-14 09:36:39 +02:00
test_firmware.py motorola-ali: use mainline kernel and add firmware (MR 3569) 2022-11-21 09:08:46 +01:00
test_framework_versions.py ci: remove unused args argument from pmb.parse.apkbuild (MR 2711) 2021-11-27 15:42:05 +01:00
test_kernel.py CI: require pmb:kconfigcheck-community for community/main devices (MR 3422) 2022-09-21 22:25:56 +02:00
test_provides.py CI: bump copyright to 2023 2023-01-26 08:40:40 +01:00
test_source.py CI: bump copyright to 2023 2023-01-26 08:40:40 +01:00
test_ui.py CI: test_ui: get arches from pmaports.cfg (MR 3205) 2022-06-07 08:01:25 +02:00