From: Simon McVittie Date: Wed, 23 Nov 2022 21:26:50 +0000 (+0000) Subject: testsuite: Don't create .test files for flaky or failing tests X-Git-Tag: archive/raspbian/4.8.3+ds-2+rpi1~3^2^2~6 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=947fbb752c063822ac9efd72ce6d04e47172d940;p=gtk4.git testsuite: Don't create .test files for flaky or failing tests These tests can be run manually, but are not suitable for use as an acceptance test, so let's not make frameworks like Debian's autopkgtest run these when they run ginsttest-runner in the most obvious way. Signed-off-by: Simon McVittie Applied-upstream: 4.9.2, commit:94b57a967c492ab18df8142557710ba0b1a02cee Gbp-Pq: Name testsuite-Don-t-create-.test-files-for-flaky-or-failing-t.patch --- diff --git a/testsuite/gdk/meson.build b/testsuite/gdk/meson.build index 7aa0cf6668..3236ce7d5d 100644 --- a/testsuite/gdk/meson.build +++ b/testsuite/gdk/meson.build @@ -83,6 +83,12 @@ endforeach if get_option('install-tests') foreach t : tests test_name = t.get('name') + suites = t.get('suites', []) + + if suites.contains('flaky') or suites.contains('failing') + continue + endif + test_cdata = configuration_data() test_cdata.set('testexecdir', testexecdir) test_cdata.set('test', test_name) diff --git a/testsuite/gtk/meson.build b/testsuite/gtk/meson.build index 926ed060e5..bc92fa93f0 100644 --- a/testsuite/gtk/meson.build +++ b/testsuite/gtk/meson.build @@ -291,6 +291,12 @@ endforeach if get_option('install-tests') foreach t : tests test_name = t.get('name') + suites = t.get('suites', []) + + if suites.contains('flaky') or suites.contains('failing') + continue + endif + conf = configuration_data() conf.set('testexecdir', testexecdir) conf.set('test', test_name)