diff options
Diffstat (limited to 'test')
-rwxr-xr-x | test/run-test.sh | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/test/run-test.sh b/test/run-test.sh index a7a43db..d65d024 100755 --- a/test/run-test.sh +++ b/test/run-test.sh @@ -68,6 +68,19 @@ else echo " - cross-test server reported no untested functions" fi +echo "running the examples" + +$PYTHON "$DBUS_TOP_SRCDIR"/examples/example-service.py & +$PYTHON "$DBUS_TOP_SRCDIR"/examples/example-signal-emitter.py & +$PYTHON "$DBUS_TOP_SRCDIR"/examples/list-system-services.py --session || + die "list-system-services.py --session failed!" +$PYTHON "$DBUS_TOP_SRCDIR"/examples/example-async-client.py || + die "example-async-client failed!" +$PYTHON "$DBUS_TOP_SRCDIR"/examples/example-client.py --exit-service || + die "example-client failed!" +$PYTHON "$DBUS_TOP_SRCDIR"/examples/example-signal-recipient.py --exit-service || + die "example-signal-recipient failed!" + rm -f "$DBUS_TOP_BUILDDIR"/test/test-service.log rm -f "$DBUS_TOP_BUILDDIR"/test/cross-client.log rm -f "$DBUS_TOP_BUILDDIR"/test/cross-server.log |