meson: rename "dist-check" suite to "dist"

*Now* one of those tests is the longest, let's make them a bit shorter.
This commit is contained in:
Zbigniew Jędrzejewski-Szmek 2023-05-18 17:16:33 +02:00
parent ec2c6ac051
commit 02e0f430a0
4 changed files with 10 additions and 10 deletions

View file

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

View file

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

View file

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

View file

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