summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorSimon McVittie <simon.mcvittie@collabora.co.uk>2015-02-05 12:48:57 +0000
committerSimon McVittie <simon.mcvittie@collabora.co.uk>2015-02-05 14:14:34 +0000
commit4f99a694b5f766643d9eb2f6fca9c6c107844d4a (patch)
treec30ee82e9d6932e8236648c06759b55e9ea7ec72 /test
parent3f762bef246c6c6b8839db2ae6e07bb7b141c186 (diff)
downloaddbus-4f99a694b5f766643d9eb2f6fca9c6c107844d4a.tar.gz
tests: make installable metadata Windows-friendly by using EXEEXT
Bug: https://bugs.freedesktop.org/show_bug.cgi?id=88980 Reviewed-by: Ralf Habacker <ralf.habacker@freenet.de>
Diffstat (limited to 'test')
-rw-r--r--test/Makefile.am4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/Makefile.am b/test/Makefile.am
index ea099828..e4bbdf0e 100644
--- a/test/Makefile.am
+++ b/test/Makefile.am
@@ -505,14 +505,14 @@ $(imported_data): data/valid-config-files/%.conf: $(top_builddir)/bus/%.conf
$(AM_V_at)$(MKDIR_P) data/valid-config-files
$(AM_V_GEN)cp $< $@
-$(installable_test_meta): %.test: % Makefile
+$(installable_test_meta): %.test: %$(EXEEXT) Makefile
$(AM_V_GEN) ( \
echo '[Test]'; \
echo 'Type=session'; \
echo 'Exec=env DBUS_TEST_HOME=$$(pwd)/home.tmp $(testexecdir)/$*'; \
) > $@.tmp && mv $@.tmp $@
-$(installable_test_meta_with_config): %_with_config.test: % Makefile
+$(installable_test_meta_with_config): %_with_config.test: %$(EXEEXT) Makefile
$(AM_V_GEN) ( \
echo '[Test]'; \
echo 'Type=session'; \