Use EXEEXT when running tests from another directory, and skip bus-test-launch-helper on non-Unix

This is necessary when cross-compiling from Linux to mingw32 and running
the resulting tests under Wine. (This partially works! Some tests fail,
though.)

Reviewed-by: Will Thompson <will.thompson@collabora.co.uk>
This commit is contained in:
Simon McVittie 2011-06-15 12:43:15 +01:00
parent a45df5f10a
commit d54ea8a41b

View file

@ -34,12 +34,15 @@ TESTS = \
## order, but we don't want to run them til we arrive in this directory,
## since they depend on stuff from this directory
TESTS += \
../bus/bus-test \
../bus/bus-test-system \
../bus/bus-test-launch-helper \
../dbus/dbus-test \
../bus/bus-test$(EXEEXT) \
../bus/bus-test-system$(EXEEXT) \
../dbus/dbus-test$(EXEEXT) \
$(NULL)
if DBUS_UNIX
TESTS += ../bus/bus-test-launch-helper$(EXEEXT)
endif
else !DBUS_BUILD_TESTS
TEST_BINARIES=