From 519df2544b04ccbc9cf87fbfbdbbaf44edeef75b Mon Sep 17 00:00:00 2001 From: Frederic Martinsons Date: Tue, 10 Nov 2020 16:48:22 +0100 Subject: 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 --- Makefile.am | 1 + 1 file changed, 1 insertion(+) (limited to 'Makefile.am') 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) -- cgit v1.2.3