Run a11ystate.test separately and mark it as flaky for now
This is due to a known failure: state/focus1.ui passes in a desktop session but fails in a minimal autopkgtest VM. Treating one test as flaky seems better than treating all tests as flaky.
This commit is contained in:
		
							
								
								
									
										4
									
								
								debian/tests/control
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										4
									
								
								debian/tests/control
									
									
									
									
										vendored
									
									
								
							| @ -4,4 +4,8 @@ Restrictions: allow-stderr | ||||
|  | ||||
| Tests: installed-tests | ||||
| Depends: at-spi2-core, dbus (>= 1.8), gnome-desktop-testing (>= 2018.1-1~), gtk-3-examples, xauth, xvfb | ||||
| Restrictions: allow-stderr | ||||
|  | ||||
| Tests: installed-tests-a11ystate | ||||
| Depends: at-spi2-core, dbus (>= 1.8), gnome-desktop-testing (>= 2018.1-1~), gtk-3-examples, xauth, xvfb | ||||
| Restrictions: allow-stderr, flaky | ||||
|  | ||||
							
								
								
									
										6
									
								
								debian/tests/installed-tests
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										6
									
								
								debian/tests/installed-tests
									
									
									
									
										vendored
									
									
								
							| @ -11,9 +11,13 @@ export GIO_USE_VOLUME_MONITOR=unix | ||||
|  | ||||
| export XDG_RUNTIME_DIR="$AUTOPKGTEST_TMP" | ||||
|  | ||||
| tests=$(gnome-desktop-testing-runner -l gtk+ | | ||||
|     cut -f1 -d' ' | | ||||
|     grep -v '^gtk./a11ystate.test$') | ||||
|  | ||||
| exec dbus-run-session -- \ | ||||
| xvfb-run -a -s "-screen 0 1024x768x24" \ | ||||
| gnome-desktop-testing-runner \ | ||||
| --report-directory="$AUTOPKGTEST_ARTIFACTS" \ | ||||
| --tap \ | ||||
| gtk+ | ||||
| $tests | ||||
|  | ||||
							
								
								
									
										19
									
								
								debian/tests/installed-tests-a11ystate
									
									
									
									
										vendored
									
									
										Executable file
									
								
							
							
						
						
									
										19
									
								
								debian/tests/installed-tests-a11ystate
									
									
									
									
										vendored
									
									
										Executable file
									
								
							| @ -0,0 +1,19 @@ | ||||
| #!/bin/sh | ||||
| # autopkgtest check: Run the installed-tests to verify GTK+ works correctly | ||||
| # Based on glib2.0's d/tests/installed-tests, (C) 2013 Canonical Ltd. | ||||
|  | ||||
| set -e | ||||
|  | ||||
| # Disable gvfs if it happens to be installed. We want to test the built-in | ||||
| # stuff | ||||
| export GIO_USE_VFS=local | ||||
| export GIO_USE_VOLUME_MONITOR=unix | ||||
|  | ||||
| export XDG_RUNTIME_DIR="$AUTOPKGTEST_TMP" | ||||
|  | ||||
| exec dbus-run-session -- \ | ||||
| xvfb-run -a -s "-screen 0 1024x768x24" \ | ||||
| gnome-desktop-testing-runner \ | ||||
| --report-directory="$AUTOPKGTEST_ARTIFACTS" \ | ||||
| --tap \ | ||||
| "gtk+/a11ystate.test" | ||||
		Reference in New Issue
	
	Block a user
	 Simon McVittie
					Simon McVittie