Pass in DBUS_TEST_EXEC via environment, not hard-coded into binaries
authorSimon McVittie <smcv@debian.org>
Sat, 15 Apr 2017 20:06:23 +0000 (21:06 +0100)
committerSimon McVittie <smcv@debian.org>
Tue, 18 Apr 2017 16:20:30 +0000 (17:20 +0100)
commit36fcd43005af375eea007becccd50662d3b61fba
tree1660eea84e0945229f70b2301b4d8e376f73921e
parent53959c9924a64c7031155ea74159dcacd7eedf7b
Pass in DBUS_TEST_EXEC via environment, not hard-coded into binaries

This avoids "capturing" the build directory in the built binaries
when built with embedded tests, which is good for reproducible builds.
See <https://reproducible-builds.org/> for more information.

Signed-off-by: Simon McVittie <smcv@debian.org>
Reviewed-by: Philip Withnall <withnall@endlessm.com>
Bug: https://bugs.freedesktop.org/show_bug.cgi?id=100692
cmake/config.h.cmake
cmake/modules/Macros.cmake
configure.ac
dbus/dbus-spawn-test.c
test/Makefile.am