Merge pull request #27685 from keszybz/the-semiannual-excercise-in-output-narrowing

The semiannual excercise in output narrowing
This commit is contained in:
Yu Watanabe 2023-05-19 03:04:47 +09:00 committed by GitHub
commit 65f2ff7998
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
17 changed files with 14 additions and 15 deletions

View file

@ -61,7 +61,7 @@ if conf.get('ENABLE_HWDB') == 1
parse_hwdb_py = find_program('parse_hwdb.py')
test('parse-hwdb',
parse_hwdb_py,
suite : 'dist-check',
suite : 'dist',
args : [hwdb_files_test,
auto_suspend_rules],
timeout : 90)

View file

@ -226,7 +226,7 @@ update_dbus_docs = custom_target(
if conf.get('BUILD_MODE_DEVELOPER') == 1
test('dbus-docs-fresh',
update_dbus_docs_py,
suite : 'dist-check',
suite : 'dist',
args : ['--build-dir', project_build_root, '--test', dbus_docs],
depends : dbus_programs)
endif

View file

@ -4109,7 +4109,7 @@ if conf.get('ENABLE_HWDB') == 1
if want_tests != 'false'
test('hwdb-test',
hwdb_test_sh,
suite : 'dist-check',
suite : 'dist',
args : [systemd_hwdb.full_path()],
timeout : 90)
endif
@ -4159,7 +4159,7 @@ public_programs += udevadm
if want_tests != 'false'
test('udev-rules-check',
udevadm,
suite : 'dist-check',
suite : 'dist',
args : ['verify', '--resolve-names=never', all_rules])
endif
@ -4607,7 +4607,7 @@ foreach fuzzer : fuzzers
fuzz_in = tuple[1]
test('@0@_@1@'.format(name, fuzz_in),
exe,
suite : 'fuzzers',
suite : 'fuzz',
args : [fuzz_dir != '' ? project_source_root / fuzz_dir / name / fuzz_in
: fuzz_generated_in_dir / '@0@_@1@'.format(name, fuzz_in)])
endforeach
@ -4669,7 +4669,7 @@ jekyll = find_program('jekyll', required : false)
if get_option('mode') == 'developer' and want_tests != 'false' and jekyll.found()
test('github-pages',
jekyll,
suite : 'dist-check',
suite : 'dist',
args : ['build',
'--source', project_source_root / 'docs',
'--destination', project_build_root / '_site'])
@ -4685,13 +4685,13 @@ foreach exec : public_programs
if want_tests != 'false'
test('check-help-' + name,
check_help,
suite : 'dist-check',
suite : 'dist',
args : exec.full_path(),
depends: exec)
test('check-version-' + name,
check_version,
suite : 'dist-check',
suite : 'dist',
args : [exec.full_path(),
meson.project_version()],
depends: exec)

View file

@ -19,10 +19,9 @@ enable dbus-broker.service
enable systemd-networkd.service
enable systemd-networkd-wait-online.service
# We install dnf in some images but it's only going to be used rarely to install extra packages so let's not
# have dnf create its cache.
disable dnf-makecache.timer
disable dnf-makecache.service
# We install dnf in some images but it's only going to be used rarely,
# so let's not have dnf create its cache.
disable dnf-makecache.*
# We have journald to receive audit data so let's make sure we're not running auditd as well
disable auditd.service

View file

@ -87,7 +87,7 @@ rule_syntax_check_py = find_program('rule-syntax-check.py')
if want_tests != 'false'
test('rule-syntax-check',
rule_syntax_check_py,
suite : 'dist-check',
suite : 'dist',
args : all_rules)
endif
@ -129,7 +129,7 @@ if rpm.found() and rpmspec.found()
if want_tests != 'false'
test('test-rpm-macros',
test_rpm_macros,
suite : 'dist-check',
suite : 'dist',
args : [project_build_root])
endif
else
@ -159,7 +159,7 @@ if want_tests != 'false' and dmi_arches.contains(host_machine.cpu_family())
test(name,
udev_dmi_memory_id_test,
suite : 'dist-check',
suite : 'dist',
args : [udev_prog_paths['dmi_memory_id'].full_path(),
source,
source + '.txt'],