------------------------------------------------------------ revno: 27 committer: Ted Gould <[email protected]> branch nick: trunk timestamp: Fri 2011-01-28 08:58:51 -0600 message: Adding a little sleep before signaling to make the tests more reliable added: tests/test-bustle-list.sh modified: tests/Makefile.am
-- lp:dbus-test-runner https://code.launchpad.net/~indicator-applet-developers/dbus-test-runner/trunk Your team ayatana-commits is subscribed to branch lp:dbus-test-runner. To unsubscribe from this branch go to https://code.launchpad.net/~indicator-applet-developers/dbus-test-runner/trunk/+edit-subscription
=== modified file 'tests/Makefile.am' --- tests/Makefile.am 2009-12-10 02:23:50 +0000 +++ tests/Makefile.am 2011-01-28 14:58:51 +0000 @@ -67,7 +67,7 @@ TESTS += test-bustle test-bustle: Makefile.am test-bustle.reference @echo "#!/bin/sh -e" > $@ - @echo $(DBUS_RUNNER) --bustle-data \"$(builddir)/test-bustle.bustle\" --task dbus-send -p "--session" -p "--print-reply" -p "--dest=org.freedesktop.DBus" -p "/org/freedesktop/DBus" -p "org.freedesktop.DBus.ListNames" --ignore-return >> $@ + @echo $(DBUS_RUNNER) --bustle-data \"$(builddir)/test-bustle.bustle\" --task ./test-bustle-list.sh --ignore-return >> $@ @echo "grep ^mc \"$(builddir)/test-bustle.bustle\" | grep ":1.1" | grep "ListNames" | cut -f 5-9 > test-bustle.filtered" >> $@ @echo "diff \"$(srcdir)/test-bustle.reference\" \"$(builddir)/test-bustle.filtered\"" >> $@ @chmod +x $@ @@ -77,21 +77,23 @@ test-bustle-data: Makefile.am @echo "#!/bin/sh -e" > $@ @echo "$(DBUS_RUNNER) --bustle-data \"$(builddir)/test-bustle-data.bustle\" \\" >> $@ - @echo "--task dbus-send -p \"--session\" -p \"--print-reply\" -p \"--dest=org.freedesktop.DBus\" -p \"/org/freedesktop/DBus\" -p \"org.freedesktop.DBus.ListNames\" \\" >> $@ - @echo "--task dbus-send -p \"--session\" -p \"--print-reply\" -p \"--dest=org.freedesktop.DBus\" -p \"/org/freedesktop/DBus\" -p \"org.freedesktop.DBus.ListNames\" \\" >> $@ - @echo "--task dbus-send -p \"--session\" -p \"--print-reply\" -p \"--dest=org.freedesktop.DBus\" -p \"/org/freedesktop/DBus\" -p \"org.freedesktop.DBus.ListNames\" \\" >> $@ - @echo "--task dbus-send -p \"--session\" -p \"--print-reply\" -p \"--dest=org.freedesktop.DBus\" -p \"/org/freedesktop/DBus\" -p \"org.freedesktop.DBus.ListNames\" \\" >> $@ - @echo "--task dbus-send -p \"--session\" -p \"--print-reply\" -p \"--dest=org.freedesktop.DBus\" -p \"/org/freedesktop/DBus\" -p \"org.freedesktop.DBus.ListNames\" \\" >> $@ - @echo "--task dbus-send -p \"--session\" -p \"--print-reply\" -p \"--dest=org.freedesktop.DBus\" -p \"/org/freedesktop/DBus\" -p \"org.freedesktop.DBus.ListNames\" \\" >> $@ - @echo "--task dbus-send -p \"--session\" -p \"--print-reply\" -p \"--dest=org.freedesktop.DBus\" -p \"/org/freedesktop/DBus\" -p \"org.freedesktop.DBus.ListNames\" \\" >> $@ - @echo "--task dbus-send -p \"--session\" -p \"--print-reply\" -p \"--dest=org.freedesktop.DBus\" -p \"/org/freedesktop/DBus\" -p \"org.freedesktop.DBus.ListNames\" \\" >> $@ - @echo "--task dbus-send -p \"--session\" -p \"--print-reply\" -p \"--dest=org.freedesktop.DBus\" -p \"/org/freedesktop/DBus\" -p \"org.freedesktop.DBus.ListNames\" \\" >> $@ - @echo "--task dbus-send -p \"--session\" -p \"--print-reply\" -p \"--dest=org.freedesktop.DBus\" -p \"/org/freedesktop/DBus\" -p \"org.freedesktop.DBus.ListNames\" \\" >> $@ - @echo "--task dbus-send -p \"--session\" -p \"--print-reply\" -p \"--dest=org.freedesktop.DBus\" -p \"/org/freedesktop/DBus\" -p \"org.freedesktop.DBus.ListNames\" \\" >> $@ + @echo "--task $(srcdir)/test-bustle-list.sh \\" >> $@ + @echo "--task $(srcdir)/test-bustle-list.sh \\" >> $@ + @echo "--task $(srcdir)/test-bustle-list.sh \\" >> $@ + @echo "--task $(srcdir)/test-bustle-list.sh \\" >> $@ + @echo "--task $(srcdir)/test-bustle-list.sh \\" >> $@ + @echo "--task $(srcdir)/test-bustle-list.sh \\" >> $@ + @echo "--task $(srcdir)/test-bustle-list.sh \\" >> $@ + @echo "--task $(srcdir)/test-bustle-list.sh \\" >> $@ + @echo "--task $(srcdir)/test-bustle-list.sh \\" >> $@ + @echo "--task $(srcdir)/test-bustle-list.sh \\" >> $@ + @echo "--task $(srcdir)/test-bustle-list.sh \\" >> $@ + @echo "--task $(srcdir)/test-bustle-list.sh \\" >> $@ @chmod +x $@ DISTCLEANFILES += test-bustle-data.bustle EXTRA_DIST = \ delayrm.sh \ - test-bustle.reference + test-bustle.reference \ + test-bustle-list.sh === added file 'tests/test-bustle-list.sh' --- tests/test-bustle-list.sh 1970-01-01 00:00:00 +0000 +++ tests/test-bustle-list.sh 2011-01-28 14:58:51 +0000 @@ -0,0 +1,3 @@ +#!/bin/sh +sleep 1 +dbus-send --session --print-reply --dest=org.freedesktop.DBus /org/freedesktop/DBus org.freedesktop.DBus.ListNames
_______________________________________________ Mailing list: https://launchpad.net/~ayatana-commits Post to : [email protected] Unsubscribe : https://launchpad.net/~ayatana-commits More help : https://help.launchpad.net/ListHelp

