Commit: ee56337e416c084f4f043acdf129cdc9659b63fc
Parent: ebb2896b3a0504dee9da9aff7664e2a6d7bbfc2f
Author: Steve Langasek <steve.langasek@canonical.com>
Committer: Johan Hedberg <johan.hedberg@intel.com>
Date: 2012-06-15 12:32:50
Tree: 03c718904fefc8a731805d103c7d1ea18f60d2b4

Update tests to be compatible with gi and python3 This patch makes the python tests source-compatible with python 3, while leaving the interpreter at python 2 for now. The tradeoff is that this source is no longer compatible with python versions < 2.6, and requires gobject-introspection for the glib-based tests.

Diffstat

M test/list-devices | 32 +++++++++++++++++- - - - - - - - - - - - - - -
M test/monitor-bluetooth | 6 ++++- -
M test/simple-agent | 42 ++++++++++++++++++++++- - - - - - - - - - - - - - - - - - - -
M test/simple-endpoint | 12 +++++++- - - - -
M test/simple-service | 8 +++++- - -
M test/test-adapter | 52 +++++++++++++++++++++++++++- - - - - - - - - - - - - - - - - - - - - - - - -
M test/test-attrib | 52 +++++++++++++++++++++++++++- - - - - - - - - - - - - - - - - - - - - - - - -
M test/test-audio | 8 +++++- - -
M test/test-device | 78 ++++++++++++++++++++++++++++++++++++++++- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
M test/test-discovery | 14 ++++++++- - - - - -
M test/test-health | 62 ++++++++++++++++++++++++++++++++- - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
M test/test-health-sink | 24 +++++++++++++- - - - - - - - - - -
M test/test-input | 8 +++++- - -
M test/test-manager | 12 +++++++- - - - -
M test/test-nap | 8 +++++- - -
M test/test-network | 10 ++++++- - - -
M test/test-oob | 34 ++++++++++++++++++- - - - - - - - - - - - - - - -
M test/test-proximity | 14 ++++++++- - - - - -
M test/test-sap-server | 64 +++++++++++++++++++++++++++++++++- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
M test/test-serial | 10 ++++++- - - -
M test/test-serial-proxy | 6 ++++- -
M test/test-service | 14 ++++++++- - - - - -
M test/test-telephony | 38 ++++++++++++++++++++- - - - - - - - - - - - - - - - - -
M test/test-thermometer | 28 +++++++++++++++- - - - - - - - - - - - -

24 files changed, 342 insertions(+), 294 deletions(-)

View Full Diff | Patch