mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-01-11 23:16:14 +01:00
tests: Remove redundant --tap options
Now that TAP output is used by default, passing `--tap` is unnecessary. Signed-off-by: Philip Withnall <withnall@endlessm.com> Helps: #1619
This commit is contained in:
parent
ad17576657
commit
505f45ef95
@ -678,7 +678,6 @@ foreach test_name, extra_args : gio_tests
|
||||
env : local_test_env,
|
||||
timeout : timeout,
|
||||
suite : suite,
|
||||
args : ['--tap'],
|
||||
is_parallel : extra_args.get('is_parallel', true),
|
||||
depends : extra_args.get('depends', []),
|
||||
)
|
||||
|
@ -204,8 +204,7 @@ foreach test_name, extra_args : glib_tests
|
||||
|
||||
suite = ['glib'] + extra_args.get('suite', [])
|
||||
timeout = suite.contains('slow') ? test_timeout_slow : test_timeout
|
||||
test(test_name, exe, env : test_env, timeout : timeout, suite : suite,
|
||||
args : ['--tap'])
|
||||
test(test_name, exe, env : test_env, timeout : timeout, suite : suite)
|
||||
endforeach
|
||||
|
||||
# test-spawn-echo helper binary required by the spawn tests above
|
||||
|
@ -103,8 +103,7 @@ foreach test_name, extra_args : gobject_tests
|
||||
timeout = timeout * 10
|
||||
endif
|
||||
|
||||
test(test_name, exe, env : test_env, timeout : timeout, suite : suite,
|
||||
args: ['--tap'])
|
||||
test(test_name, exe, env : test_env, timeout : timeout, suite : suite)
|
||||
endforeach
|
||||
|
||||
test(
|
||||
|
@ -1,4 +1,4 @@
|
||||
[Test]
|
||||
Type=session
|
||||
Exec=@env@@installed_tests_dir@/@program@ --tap
|
||||
Exec=@env@@installed_tests_dir@/@program@
|
||||
Output=TAP
|
||||
|
@ -60,7 +60,6 @@ foreach test_name, extra_args : gobject_tests
|
||||
extra_sources = extra_args.get('extra_sources', [])
|
||||
install = installed_tests_enabled and extra_args.get('install', true)
|
||||
template = extra_args.get('tap', false) ? installed_tests_template_tap : installed_tests_template
|
||||
test_command_args = extra_args.get('tap', false) ? ['--tap'] : []
|
||||
|
||||
if install
|
||||
test_conf = configuration_data()
|
||||
@ -86,8 +85,7 @@ foreach test_name, extra_args : gobject_tests
|
||||
suite = ['gobject'] + extra_args.get('suite', [])
|
||||
timeout = suite.contains('slow') ? test_timeout_slow : test_timeout
|
||||
# FIXME? TESTS_ENVIRONMENT = LIBCHARSET_ALIAS_DIR=$(top_builddir)/glib/libcharset
|
||||
test(test_name, exe, env : test_env, timeout : timeout, suite : suite,
|
||||
args : test_command_args)
|
||||
test(test_name, exe, env : test_env, timeout : timeout, suite : suite)
|
||||
endforeach
|
||||
|
||||
# Don't install these ones, and keep them out of 'make check' because they take too long...
|
||||
|
@ -103,7 +103,6 @@ foreach test_name, extra_args : tests
|
||||
extra_sources = extra_args.get('extra_sources', [])
|
||||
install = installed_tests_enabled and extra_args.get('install', true)
|
||||
template = extra_args.get('tap', false) ? installed_tests_template_tap : installed_tests_template
|
||||
test_command_args = extra_args.get('tap', false) ? ['--tap'] : []
|
||||
|
||||
if install
|
||||
test_conf = configuration_data()
|
||||
@ -131,8 +130,7 @@ foreach test_name, extra_args : tests
|
||||
suite = ['glib'] + extra_args.get('suite', [])
|
||||
timeout = suite.contains('slow') ? test_timeout_slow : test_timeout
|
||||
# FIXME? TESTS_ENVIRONMENT = LIBCHARSET_ALIAS_DIR=$(top_builddir)/glib/libcharset
|
||||
test(test_name, exe, env : test_env, timeout : timeout, suite : suite,
|
||||
args : test_command_args)
|
||||
test(test_name, exe, env : test_env, timeout : timeout, suite : suite)
|
||||
endforeach
|
||||
|
||||
foreach program_name, extra_args : test_extra_programs
|
||||
|
Loading…
Reference in New Issue
Block a user