From 62200f6ffc2f31cd1e6d61c93a9e2a89e5346ae9 Mon Sep 17 00:00:00 2001 From: Marcel Holtmann Date: Sat, 19 Dec 2009 19:41:03 -0800 Subject: [PATCH] Remove deprecated debugging test script --- Makefile.am | 7 +++---- test/debug-connman | 41 ----------------------------------------- 2 files changed, 3 insertions(+), 45 deletions(-) delete mode 100755 test/debug-connman diff --git a/Makefile.am b/Makefile.am index aced7f1..2107e31 100644 --- a/Makefile.am +++ b/Makefile.am @@ -123,13 +123,12 @@ endif test_scripts = test/get-state test/list-profiles test/list-services \ test/connect-service test/monitor-services \ - test/list-devices test/enable-device \ - test/disable-device test/start-scanning test/list-networks \ + test/list-devices test/enable-device test/disable-device \ + test/start-scanning test/list-networks \ test/set-passphrase test/set-address test/test-profile \ test/simple-agent test/show-introspection test/test-compat \ test/test-manager test/test-connman test/monitor-connman \ - test/debug-connman test/connect-vpn \ - test/disconnect-vpn test/list-providers + test/connect-vpn test/disconnect-vpn test/list-providers if TEST testdir = $(pkglibdir)/test diff --git a/test/debug-connman b/test/debug-connman deleted file mode 100755 index 8d7cbb7..0000000 --- a/test/debug-connman +++ /dev/null @@ -1,41 +0,0 @@ -#!/usr/bin/python - -import gobject - -import dbus -import dbus.mainloop.glib - -def element_signal(path, member): - if member == "ElementAdded": - action = "Add " - elif member == "ElementRemoved": - action = "Remove" - elif member == "ElementUpdated": - action = "Update" - else: - return - print "%s [ %s ]" % (action, path) - -if __name__ == '__main__': - dbus.mainloop.glib.DBusGMainLoop(set_as_default=True) - - bus = dbus.SystemBus() - - bus.add_signal_receiver(element_signal, - bus_name="org.moblin.connman", - signal_name = "ElementAdded", - path_keyword="path", - member_keyword="member") - bus.add_signal_receiver(element_signal, - bus_name="org.moblin.connman", - signal_name = "ElementRemoved", - path_keyword="path", - member_keyword="member") - bus.add_signal_receiver(element_signal, - bus_name="org.moblin.connman", - signal_name = "ElementUpdated", - path_keyword="path", - member_keyword="member") - - mainloop = gobject.MainLoop() - mainloop.run() -- 2.7.4