diff options
author | Frederic Martinsons <frederic.martinsons@sigfox.com> | 2020-11-10 16:48:22 +0100 |
---|---|---|
committer | Frederic Martinsons <frederic.martinsons@sigfox.com> | 2020-11-12 18:34:59 +0100 |
commit | 519df2544b04ccbc9cf87fbfbdbbaf44edeef75b (patch) | |
tree | 9bb60dbf7f684a2131878964ea5c973a03d35cf9 /Makefile.am | |
parent | 06f75500dbc3f471bf0c40221bbfb5f970f65f32 (diff) |
tools: add new system daemon stub tester application
This script mock some of ModemManager DBus interfaces (main object, Modem, Sim),
it also adds a test interface "org.freedesktop.ModemManager1.LibmmGlibTest"
which allow to inject some errors and simulate behavior:
- Add a modem object
- Emit modem state changed
- Set modem error
This script also add the possibility to log in a file for debugging purpose.
Because the stdout/stderr are not shown when the program is spawned by DBus
auto activation.
Note: Script is heavily inspired from test-networkmanager-service.py from
NetworkManager project
Signed-off-by: Frederic Martinsons <frederic.martinsons@sigfox.com>
Diffstat (limited to 'Makefile.am')
-rw-r--r-- | Makefile.am | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Makefile.am b/Makefile.am index b70b0625..4dd7ad63 100644 --- a/Makefile.am +++ b/Makefile.am @@ -13,6 +13,7 @@ SUBDIRS = \ vapi \ introspection \ test \ + tools \ examples \ docs \ $(NULL) |