diff options
author | Patrick Ohly <patrick.ohly@intel.com> | 2013-02-12 08:48:55 +0100 |
---|---|---|
committer | Patrick Ohly <patrick.ohly@intel.com> | 2013-02-26 12:03:43 +0100 |
commit | 5d0b2bb89b861a1e1927d20bc876fcaf5b88b714 (patch) | |
tree | a6c10d136c73c1f237bb2549746aa27fc5532a90 /test | |
parent | b29ffb2da7cbe7cf8c68172b2efb62256171eded (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-x | test/test-dbus.py | 2 |
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 |