D-Bus testing: enable running under gdb via env variable

When TEST_DBUS_GDB is set to a non-empty value, syncevo-dbus-server is
run under gdb. Previously it was necessary to edit test-dbus.py to
achieve that.
This commit is contained in:
Patrick Ohly 2012-03-15 09:46:16 +01:00
parent 4f48882f17
commit 7414fa0db8
1 changed files with 1 additions and 1 deletions

View File

@ -48,7 +48,7 @@ except ImportError:
DBusGMainLoop(set_as_default=True)
debugger = "" # "gdb"
debugger = os.environ.get("TEST_DBUS_GDB", None) and "gdb" or ""
server = ["syncevo-dbus-server"]
monitor = ["dbus-monitor"]
# primarily for XDG files, but also other temporary files