Diff between 24221371db025e58bcc90e4d3c9f371c2cb3214d and bdf0af3b2ec5ba67c2152688417a17b12cc7b2af

Changed Files

File Additions Deletions Status
Makefile.tools +1 -1 modified
test/test-audio +0 -53 deleted

Full Patch

diff --git a/Makefile.tools b/Makefile.tools
index 74fee72..23754a6 100644
--- a/Makefile.tools
+++ b/Makefile.tools
@@ -204,7 +204,7 @@ EXTRA_DIST += test/sap_client.py test/hsplay test/hsmicro \
 		test/test-discovery test/test-manager test/test-adapter \
 		test/test-device test/test-service test/test-network \
 		test/simple-agent test/simple-service test/simple-endpoint \
-		test/test-audio test/test-input test/test-sap-server \
+		test/test-input test/test-sap-server \
 		test/test-oob test/test-attrib test/test-proximity \
 		test/test-thermometer test/test-profile test/test-health \
 		test/test-health-sink test/service-record.dtd \
diff --git a/test/test-audio b/test/test-audio
deleted file mode 100755
index e302264..0000000
--- a/test/test-audio
+++ /dev/null
@@ -1,53 +0,0 @@
-#!/usr/bin/python
-
-from __future__ import absolute_import, print_function, unicode_literals
-
-import sys
-import dbus
-from optparse import OptionParser, make_option
-
-bus = dbus.SystemBus()
-
-manager = dbus.Interface(bus.get_object("org.bluez", "/"), "org.bluez.Manager")
-
-option_list = [
-		make_option("-i", "--device", action="store",
-				type="string", dest="dev_id"),
-		make_option("-f", "--interface", action="store",
-				type="string", dest="dev_if"),
-		]
-parser = OptionParser(option_list=option_list)
-
-(options, args) = parser.parse_args()
-
-if options.dev_id:
-	adapter_path = manager.FindAdapter(options.dev_id)
-else:
-	adapter_path = manager.DefaultAdapter()
-
-if options.dev_if:
-	interface = "org.bluez." + options.dev_if
-else:
-	interface = "org.bluez.Audio"
-
-adapter = dbus.Interface(bus.get_object("org.bluez", adapter_path),
-							"org.bluez.Adapter")
-
-if len(args) < 2:
-	print("""Usage: %s <command>
-
-	connect <bdaddr>
-	disconnect <bdaddr>
-	""" % sys.argv[0])
-	sys.exit(1)
-
-device = adapter.FindDevice(args[1])
-audio = dbus.Interface(bus.get_object("org.bluez", device), interface)
-
-if args[0] == "connect":
-	audio.Connect()
-elif args[0] == "disconnect":
-	audio.Disconnect()
-else:
-	print("Unknown command")
-	sys.exit(1)