projects
/
platform
/
upstream
/
glib.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b6a829c
)
spawn-multithreaded: Also look for lt-test-echo
author
Colin Walters
<walters@verbum.org>
Fri, 10 Jun 2011 11:27:29 +0000
(07:27 -0400)
committer
Colin Walters
<walters@verbum.org>
Tue, 14 Jun 2011 23:23:35 +0000
(19:23 -0400)
I hate libtool =(
https://bugzilla.gnome.org/show_bug.cgi?id=652072
gthread/tests/spawn-multithreaded.c
patch
|
blob
|
history
diff --git
a/gthread/tests/spawn-multithreaded.c
b/gthread/tests/spawn-multithreaded.c
index
29b83e9
..
d31cb3b
100644
(file)
--- 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));