ci: pytest.sh: remove unnecessary workaround

The issue has been closed, and the test runs successfully

Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7078>
This commit is contained in:
Pablo Correa Gómez 2025-09-24 15:27:42 +02:00 committed by The Friendly Merge Bot
parent b1e18658c2
commit 028f417255
No known key found for this signature in database

View file

@ -26,18 +26,6 @@ pmbootstrap work_migrate
pmbootstrap config aports "$pmaports"
pmbootstrap -q shutdown
# Make sure we have a valid device (pmbootstrap#1128)
device="$(pmbootstrap config device)"
deviceinfo="$pmaports/device/*/device-$device/deviceinfo"
# shellcheck disable=SC2086
if ! [ -e $deviceinfo ]; then
echo "ERROR: Could not find deviceinfo file for selected device '$device'."
echo "Expected path: $deviceinfo"
echo "Maybe you have switched to a branch where your device does not exist?"
echo "Use 'pmbootstrap config device qemu-amd64' to switch to a valid device."
exit 1
fi
# Needed to import "common"
export PYTHONPATH=".ci/lib"
# Run testcases