File: gnome-desktop-testing

package info (click to toggle)
flatpak 1.16.3-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 13,028 kB
  • sloc: ansic: 101,055; xml: 11,453; sh: 4,871; python: 2,251; yacc: 1,236; makefile: 86; csh: 20
file content (38 lines) | stat: -rwxr-xr-x 883 bytes parent folder | download | duplicates (6)
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
)