glib/tests: move spawn-test-win32-gui

Fixes: commit 762ed2e82b ("Move tests/spawn-test.c -> glib/tests/spawn-test.c")

Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
This commit is contained in:
Marc-André Lureau 2022-04-08 18:28:16 +04:00
parent da2702646c
commit d1520bd06e
3 changed files with 7 additions and 6 deletions

View File

@ -306,6 +306,13 @@ if host_machine.system() == 'windows'
install_dir: installed_tests_execdir,
install: installed_tests_enabled,
)
executable('spawn-test-win32-gui', 'spawn-test-win32-gui.c',
c_args : test_cargs,
dependencies : test_deps,
install_dir: installed_tests_execdir,
install: installed_tests_enabled,
win_subsystem: 'windows',
)
endif
executable('testing-helper', 'testing-helper.c',

View File

@ -42,12 +42,6 @@ test_extra_programs = {
'assert-msg-test' : {},
}
if host_machine.system() == 'windows'
test_extra_programs += {
'spawn-test-win32-gui' : {'win_subsystem' : 'windows'}
}
endif
module_suffix = []
# Keep the autotools convention for shared module suffix because GModule
# depends on it: https://gitlab.gnome.org/GNOME/glib/issues/520