Add proposed patches to improve handling of flaky tests
With these changes, the flaky/known-failing tests are no longer installed as installed-tests at all, so remove them from the autopkgtest metadata.
This commit is contained in:
		
							
								
								
									
										4
									
								
								debian/tests/control
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										4
									
								
								debian/tests/control
									
									
									
									
										vendored
									
									
								
							| @ -5,7 +5,3 @@ Restrictions: allow-stderr, superficial | ||||
| Tests: installed-tests | ||||
| Depends: at-spi2-core, dbus-daemon, gnome-desktop-testing (>= 2018.1-1~), gtk-3-examples, librsvg2-common, xauth, xvfb | ||||
| Restrictions: allow-stderr | ||||
|  | ||||
| Tests: installed-tests-a11ystate installed-tests-reftests | ||||
| Depends: at-spi2-core, dbus-daemon, gnome-desktop-testing (>= 2018.1-1~), gtk-3-examples, librsvg2-common, xauth, xvfb | ||||
| Restrictions: allow-stderr, flaky | ||||
|  | ||||
							
								
								
									
										19
									
								
								debian/tests/installed-tests-a11ystate
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										19
									
								
								debian/tests/installed-tests-a11ystate
									
									
									
									
										vendored
									
									
								
							| @ -1,19 +0,0 @@ | ||||
| #!/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" | ||||
							
								
								
									
										19
									
								
								debian/tests/installed-tests-reftests
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										19
									
								
								debian/tests/installed-tests-reftests
									
									
									
									
										vendored
									
									
								
							| @ -1,19 +0,0 @@ | ||||
| #!/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+/reftests" | ||||
		Reference in New Issue
	
	Block a user