Unify the way to find dbus-daemon test binary
authorChengwei Yang <chengwei.yang@intel.com>
Tue, 8 Oct 2013 13:59:37 +0000 (21:59 +0800)
committerSimon McVittie <simon.mcvittie@collabora.co.uk>
Tue, 8 Oct 2013 15:08:57 +0000 (16:08 +0100)
commit47df159cc5b82d29588749b4dafedde33a8a3470
treec89c33de840a9751386f7349549a80394753e8ca
parent5b74af796c8f1d9f3f60594f22c6bfd4c097ad8b
Unify the way to find dbus-daemon test binary

There are two ways to find the dbus-daemon for testing. The first one is
defined as string at compile stage and the second one is export it from
test environment.

The first way has limitation that after defined, it's static string, so
it's impossible to run installable check. So let's unify to the second
way.

Bug: https://bugs.freedesktop.org/show_bug.cgi?id=37849
[added missing "}" -smcv]
Reviewed-by: Simon McVittie <simon.mcvittie@collabora.co.uk>
cmake/config.h.cmake
configure.ac
test/name-test/Makefile.am
tools/dbus-launch.c