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 <smcv@debian.org>
Applied-upstream: 4.9.2, commit:
94b57a967c492ab18df8142557710ba0b1a02cee
Gbp-Pq: Name testsuite-Don-t-create-.test-files-for-flaky-or-failing-t.patch
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)
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)