Commit 4f99a694 authored by Simon McVittie's avatar Simon McVittie

tests: make installable metadata Windows-friendly by using EXEEXT

Bug: https://bugs.freedesktop.org/show_bug.cgi?id=88980Reviewed-by: Ralf Habacker's avatarRalf Habacker <ralf.habacker@freenet.de>
parent 3f762bef
......@@ -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'; \
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment