ci: start the dbus mock server in GN CI
This commit is contained in:
parent
a4f02724bf
commit
00b2d94785
3 changed files with 18 additions and 9 deletions
|
@ -18,6 +18,9 @@ if sys.platform == 'linux2':
|
|||
# will be picked up by electron.
|
||||
try:
|
||||
import lib.dbus_mock
|
||||
import atexit
|
||||
lib.dbus_mock.start()
|
||||
atexit.register(lib.dbus_mock.stop)
|
||||
except ImportError:
|
||||
# If not available, the powerMonitor tests will be skipped since
|
||||
# DBUS_SYSTEM_BUS_ADDRESS will not be set
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue