summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorPatrick Ohly <patrick.ohly@intel.com>2013-02-12 08:48:55 +0100
committerPatrick Ohly <patrick.ohly@intel.com>2013-02-26 12:03:43 +0100
commit5d0b2bb89b861a1e1927d20bc876fcaf5b88b714 (patch)
treea6c10d136c73c1f237bb2549746aa27fc5532a90 /test
parentb29ffb2da7cbe7cf8c68172b2efb62256171eded (diff)
D-Bus testing: TEST_DBUS_VERBOSE shows logging messages
When setting TEST_DBUS_VERBOSE to a non-empty value, all the Python log messages are printed directly. TEST_DBUS_GDB implies TEST_DBUS_VERBOSE.
Diffstat (limited to 'test')
-rwxr-xr-xtest/test-dbus.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/test-dbus.py b/test/test-dbus.py
index 5d9b4663..56f4db2e 100755
--- a/test/test-dbus.py
+++ b/test/test-dbus.py
@@ -130,7 +130,7 @@ class Logging(dbus.service.Object):
@dbus.service.signal(dbus_interface='t.d.p',
signature='s')
def log(self, str):
- if debugger:
+ if debugger or os.environ.get("TEST_DBUS_VERBOSE", False):
print str
pass