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:
parent
b1e18658c2
commit
028f417255
1 changed files with 0 additions and 12 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue