[glib: 1/7] tests: remove old libtool workarounds




commit 6e6d8000a4694c3cea5b20404eadf4b7c137fd1d
Author: Marc-André Lureau <marcandre lureau redhat com>
Date:   Fri Jan 21 20:32:16 2022 +0400

    tests: remove old libtool workarounds
    
    Signed-off-by: Marc-André Lureau <marcandre lureau redhat com>

 glib/tests/option-argv0.c        | 1 -
 glib/tests/spawn-multithreaded.c | 5 -----
 glib/tests/spawn-singlethread.c  | 5 -----
 3 files changed, 11 deletions(-)
---
diff --git a/glib/tests/option-argv0.c b/glib/tests/option-argv0.c
index 37ac44a9f..a18e68676 100644
--- a/glib/tests/option-argv0.c
+++ b/glib/tests/option-argv0.c
@@ -39,7 +39,6 @@ test_platform_argv0 (void)
   const gchar * const expected_prgnames[] =
     {
       "option-argv0",
-      "lt-option-argv0",
 #ifdef G_OS_WIN32
       "option-argv0.exe",
 #endif
diff --git a/glib/tests/spawn-multithreaded.c b/glib/tests/spawn-multithreaded.c
index 614e503ca..69fffec11 100644
--- a/glib/tests/spawn-multithreaded.c
+++ b/glib/tests/spawn-multithreaded.c
@@ -384,11 +384,6 @@ main (int   argc,
 
   dirname = g_path_get_dirname (argv[0]);
   echo_prog_path = g_build_filename (dirname, "test-spawn-echo" EXEEXT, NULL);
-  if (!g_file_test (echo_prog_path, G_FILE_TEST_EXISTS))
-    {
-      g_free (echo_prog_path);
-      echo_prog_path = g_build_filename (dirname, "lt-test-spawn-echo" EXEEXT, NULL);
-    }
   g_free (dirname);
 
   g_assert (g_file_test (echo_prog_path, G_FILE_TEST_EXISTS));
diff --git a/glib/tests/spawn-singlethread.c b/glib/tests/spawn-singlethread.c
index 7711ba8fe..b17b47237 100644
--- a/glib/tests/spawn-singlethread.c
+++ b/glib/tests/spawn-singlethread.c
@@ -505,11 +505,6 @@ main (int   argc,
 
   dirname = g_path_get_dirname (argv[0]);
   echo_prog_path = g_build_filename (dirname, "test-spawn-echo" EXEEXT, NULL);
-  if (!g_file_test (echo_prog_path, G_FILE_TEST_EXISTS))
-    {
-      g_free (echo_prog_path);
-      echo_prog_path = g_build_filename (dirname, "lt-test-spawn-echo" EXEEXT, NULL);
-    }
   echo_script_path = g_build_filename (dirname, "echo-script" SCRIPT_EXT, NULL);
   if (!g_file_test (echo_script_path, G_FILE_TEST_EXISTS))
     {


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]