Skip to content

Commit 8edb6c3

Browse files
committed
Full test
1 parent 4a1df17 commit 8edb6c3

2 files changed

Lines changed: 50 additions & 48 deletions

File tree

.github/workflows/build.yml

Lines changed: 48 additions & 48 deletions
Original file line numberDiff line numberDiff line change
@@ -60,19 +60,19 @@ jobs:
6060
snapname:
6161
- cheese
6262
- chromium
63-
# - darktable
64-
# - evince
65-
# - firefox
66-
# - gimp
67-
# - gnome-calculator
68-
# - gnome-system-monitor
69-
# - gnome-text-editor
70-
# - kicad
71-
# - mattermost-desktop
72-
# - shotwell
73-
# - telegram-desktop
74-
# - thunderbird
75-
# - epiphany
63+
- darktable
64+
- evince
65+
- firefox
66+
- gimp
67+
- gnome-calculator
68+
- gnome-system-monitor
69+
- gnome-text-editor
70+
- kicad
71+
- mattermost-desktop
72+
- shotwell
73+
- telegram-desktop
74+
- thunderbird
75+
- epiphany
7676
# here, in waittext, define the text to find for each snap
7777
# more variables are:
7878
# - commandname: the command to run instead of 'snap run $snapname'
@@ -86,42 +86,42 @@ jobs:
8686
- snapname: "chromium"
8787
waittext: "New Tab"
8888
enablex11: "true"
89-
# - snapname: "darktable"
90-
# waittext: "darktable lighttable darkroom"
91-
# separated: "true"
92-
# - snapname: "evince"
93-
# waittext: "Document Viewer Open"
94-
# - snapname: "firefox"
95-
# waittext: "Welcome to Firefox"
96-
# - snapname: "gimp"
97-
# waittext: "Welcome to GIMP"
98-
# - snapname: "gnome-calculator"
99-
# waittext: "Basic mod"
100-
# separated: "true"
101-
# - snapname: "gnome-system-monitor"
102-
# waittext: "Network Resources Processes Disk Memory Swap CPU"
103-
# separated: "true"
104-
# - snapname: "gnome-text-editor"
105-
# waittext: "New Document"
106-
# - snapname: "kicad"
107-
# waittext: "Configure KiCad"
108-
# enablex11: "true"
109-
# - snapname: "mattermost-desktop"
110-
# waittext: "Mattermost"
111-
# separated: "true"
112-
# commandname: "snap run mattermost-desktop"
113-
# enablex11: "true"
114-
# connections: "login-session-observe"
115-
# - snapname: "shotwell"
116-
# waittext: "Shotwell"
117-
# - snapname: "telegram-desktop"
118-
# waittext: "Welcome to the official Telegram Desktop app"
119-
# - snapname: "thunderbird"
120-
# waittext: "Thunderbird will automatically search"
89+
- snapname: "darktable"
90+
waittext: "darktable lighttable darkroom"
91+
separated: "true"
92+
- snapname: "evince"
93+
waittext: "Document Viewer Open"
94+
- snapname: "firefox"
95+
waittext: "Welcome to Firefox"
96+
- snapname: "gimp"
97+
waittext: "Welcome to GIMP"
98+
- snapname: "gnome-calculator"
99+
waittext: "Basic mod"
100+
separated: "true"
101+
- snapname: "gnome-system-monitor"
102+
waittext: "Network Resources Processes Disk Memory Swap CPU"
103+
separated: "true"
104+
- snapname: "gnome-text-editor"
105+
waittext: "New Document"
106+
- snapname: "kicad"
107+
waittext: "Configure KiCad"
108+
enablex11: "true"
109+
- snapname: "mattermost-desktop"
110+
waittext: "Mattermost"
111+
separated: "true"
112+
commandname: "snap run mattermost-desktop"
113+
enablex11: "true"
114+
connections: "login-session-observe"
115+
- snapname: "shotwell"
116+
waittext: "Shotwell"
117+
- snapname: "telegram-desktop"
118+
waittext: "Welcome to the official Telegram Desktop app"
119+
- snapname: "thunderbird"
120+
waittext: "Thunderbird will automatically search"
121121
# Current snapped version of epiphany fails to launch. Seems fixed in upstream.
122-
# - snapname: "epiphany"
123-
# waittext: "Set as Default Browser"
124-
# enablex11: "true"
122+
- snapname: "epiphany"
123+
waittext: "Set as Default Browser"
124+
enablex11: "true"
125125
runs-on: ubuntu-latest
126126
# needs: snap
127127
steps:

.github/workflows/test_script.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,8 @@ export ENABLE_X11_PROP=""
7878
if [[ "${TEST_DO_ENABLE_X11}" == "true" ]]; then
7979
export ENABLE_X11_PROP="--enable-x11=true"
8080
fi
81+
82+
# required to work in a no-DRM environment
8183
export XWAYLAND_NO_GLAMOR=1
8284
mir-test-tools.demo-server --platform-display-libs mir:virtual --virtual-output 1920x1080 ${ENABLE_X11_PROP} & MIR_PID=$! # starts the demo Mir compositor
8385

0 commit comments

Comments
 (0)