mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-11-10 11:26:16 +01:00
tests: remove old libtool workarounds
Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
This commit is contained in:
parent
199261a419
commit
6e6d8000a4
@ -39,7 +39,6 @@ test_platform_argv0 (void)
|
|||||||
const gchar * const expected_prgnames[] =
|
const gchar * const expected_prgnames[] =
|
||||||
{
|
{
|
||||||
"option-argv0",
|
"option-argv0",
|
||||||
"lt-option-argv0",
|
|
||||||
#ifdef G_OS_WIN32
|
#ifdef G_OS_WIN32
|
||||||
"option-argv0.exe",
|
"option-argv0.exe",
|
||||||
#endif
|
#endif
|
||||||
|
@ -384,11 +384,6 @@ main (int argc,
|
|||||||
|
|
||||||
dirname = g_path_get_dirname (argv[0]);
|
dirname = g_path_get_dirname (argv[0]);
|
||||||
echo_prog_path = g_build_filename (dirname, "test-spawn-echo" EXEEXT, NULL);
|
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_free (dirname);
|
||||||
|
|
||||||
g_assert (g_file_test (echo_prog_path, G_FILE_TEST_EXISTS));
|
g_assert (g_file_test (echo_prog_path, G_FILE_TEST_EXISTS));
|
||||||
|
@ -505,11 +505,6 @@ main (int argc,
|
|||||||
|
|
||||||
dirname = g_path_get_dirname (argv[0]);
|
dirname = g_path_get_dirname (argv[0]);
|
||||||
echo_prog_path = g_build_filename (dirname, "test-spawn-echo" EXEEXT, NULL);
|
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);
|
echo_script_path = g_build_filename (dirname, "echo-script" SCRIPT_EXT, NULL);
|
||||||
if (!g_file_test (echo_script_path, G_FILE_TEST_EXISTS))
|
if (!g_file_test (echo_script_path, G_FILE_TEST_EXISTS))
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user