mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-10-04 04:39:20 +02:00
tests: replace ipconfig call in spawn-multithread on win32
Use a silent command instead (tbh, I don't understand the need for this) Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
This commit is contained in:
@@ -145,7 +145,7 @@ test_spawn_childs (void)
|
|||||||
global_main_loop = g_main_loop_new (NULL, FALSE);
|
global_main_loop = g_main_loop_new (NULL, FALSE);
|
||||||
|
|
||||||
#ifdef G_OS_WIN32
|
#ifdef G_OS_WIN32
|
||||||
system ("ipconfig /all");
|
system ("cd .");
|
||||||
#else
|
#else
|
||||||
system ("true");
|
system ("true");
|
||||||
#endif
|
#endif
|
||||||
@@ -172,7 +172,7 @@ test_spawn_childs_threads (void)
|
|||||||
global_main_loop = g_main_loop_new (NULL, FALSE);
|
global_main_loop = g_main_loop_new (NULL, FALSE);
|
||||||
|
|
||||||
#ifdef G_OS_WIN32
|
#ifdef G_OS_WIN32
|
||||||
system ("ipconfig /all");
|
system ("cd .");
|
||||||
#else
|
#else
|
||||||
system ("true");
|
system ("true");
|
||||||
#endif
|
#endif
|
||||||
|
Reference in New Issue
Block a user