summaryrefslogtreecommitdiff
path: root/gthread
diff options
context:
space:
mode:
authorColin Walters <walters@verbum.org>2011-06-10 07:27:29 -0400
committerColin Walters <walters@verbum.org>2011-06-14 19:23:35 -0400
commit01ee9449e34d22c5527d30b70169f6ca2b778626 (patch)
tree688efb575220f0adacee39ca23f81dbd9bba3812 /gthread
parentb6a829c314a837824c63afec35bcf56742c4b71d (diff)
downloadglib-01ee9449e34d22c5527d30b70169f6ca2b778626.tar.gz
spawn-multithreaded: Also look for lt-test-echo
I hate libtool =( https://bugzilla.gnome.org/show_bug.cgi?id=652072
Diffstat (limited to 'gthread')
-rw-r--r--gthread/tests/spawn-multithreaded.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/gthread/tests/spawn-multithreaded.c b/gthread/tests/spawn-multithreaded.c
index 29b83e9b6..d31cb3b7b 100644
--- a/gthread/tests/spawn-multithreaded.c
+++ b/gthread/tests/spawn-multithreaded.c
@@ -220,6 +220,11 @@ main (int argc,
dirname = g_path_get_dirname (argv[0]);
echo_prog_path = g_build_filename (dirname, "test-spawn-echo", 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", NULL);
+ }
g_free (dirname);
g_assert (g_file_test (echo_prog_path, G_FILE_TEST_EXISTS));