mirror of
https://gitlab.freedesktop.org/dbus/dbus.git
synced 2026-01-03 12:40:17 +01:00
installed-tests: declare that the output is in TAP format
For the ones written using GLib, the output is in TAP format if we say --tap. For the one not written using GLib, the output is in TAP and the command-line is ignored. Reviewed-by: Philip Withnall <philip.withnall@collabora.co.uk> Bug: https://bugs.freedesktop.org/show_bug.cgi?id=89846
This commit is contained in:
parent
58eefa1031
commit
d752d07a54
1 changed files with 4 additions and 2 deletions
|
|
@ -473,12 +473,14 @@ $(installable_test_meta): %.test: %$(EXEEXT) Makefile
|
|||
$(AM_V_GEN) ( \
|
||||
echo '[Test]'; \
|
||||
echo 'Type=session'; \
|
||||
echo 'Exec=env DBUS_TEST_HOME=$$(pwd)/home.tmp $(testexecdir)/$*'; \
|
||||
echo 'Output=TAP'; \
|
||||
echo 'Exec=env DBUS_TEST_HOME=$$(pwd)/home.tmp $(testexecdir)/$* --tap'; \
|
||||
) > $@.tmp && mv $@.tmp $@
|
||||
|
||||
$(installable_test_meta_with_config): %_with_config.test: %$(EXEEXT) Makefile
|
||||
$(AM_V_GEN) ( \
|
||||
echo '[Test]'; \
|
||||
echo 'Type=session'; \
|
||||
echo 'Exec=env DBUS_TEST_HOME=$$(pwd)/home.tmp DBUS_TEST_DATA=$(testexecdir)/data $(testexecdir)/$*'; \
|
||||
echo 'Output=TAP'; \
|
||||
echo 'Exec=env DBUS_TEST_HOME=$$(pwd)/home.tmp DBUS_TEST_DATA=$(testexecdir)/data $(testexecdir)/$* --tap'; \
|
||||
) > $@.tmp && mv $@.tmp $@
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue