tests: make installable metadata Windows-friendly by using EXEEXT
authorSimon McVittie <simon.mcvittie@collabora.co.uk>
Thu, 5 Feb 2015 12:48:57 +0000 (12:48 +0000)
committerSimon McVittie <simon.mcvittie@collabora.co.uk>
Thu, 5 Feb 2015 14:14:34 +0000 (14:14 +0000)
Bug: https://bugs.freedesktop.org/show_bug.cgi?id=88980
Reviewed-by: Ralf Habacker <ralf.habacker@freenet.de>
test/Makefile.am

index ea09982..e4bbdf0 100644 (file)
@@ -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'; \