1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38
|
#!/bin/sh
set -e
exec 2>&1
# Ubuntu provides internet access via a proxy, but libostree doesn't need
# that. However, libostree also doesn't support no_proxy, so it will try
# to use Ubuntu's proxy for localhost, and fail to reach itself.
unset ftp_proxy
unset http_proxy
unset https_proxy
unset no_proxy
# Don't pollute the home directory unless this looks like a dedicated
# autopkgtest environment
case "$(id -nu)@$(hostname)" in
(adt@*|debci@*|user@host)
install -d ~/.flatpak-tests/
;;
esac
# Deliberately word-splitting list of tests:
# shellcheck disable=SC2046
exec gnome-desktop-testing-runner $(
# d (the directory) is deliberately ignored:
# shellcheck disable=SC2034
gnome-desktop-testing-runner -l Flatpak | while read -r t d; do
case "$t" in
(Flatpak/test-oci*)
;;
(Flatpak/test-update-portal*)
;;
(*)
echo "$t"
;;
esac
done
)
|