From cf79abb110c7ff8b5b75c6f48beeddd9d92dfbd3 Mon Sep 17 00:00:00 2001 From: ssugiura Date: Mon, 25 Jan 2021 05:22:48 +0000 Subject: Implemention of tests for the dlt-qnx-system module Following files are added to execute and verify the behavior of dlt-qnx-system module: - dlt-test-qnx-system: A test binary to send log messages to slogger2 with specific number of log messages, delay, and payload length. - start-qnx-system-test: A shell script to invoke the test execution and verify its result from received DLT log. Signed-Off By: Saya Sugiura --- doc/test/dlt-test-qnx-slogger.1.md | 60 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 60 insertions(+) create mode 100644 doc/test/dlt-test-qnx-slogger.1.md (limited to 'doc') diff --git a/doc/test/dlt-test-qnx-slogger.1.md b/doc/test/dlt-test-qnx-slogger.1.md new file mode 100644 index 0000000..ec9eadb --- /dev/null +++ b/doc/test/dlt-test-qnx-slogger.1.md @@ -0,0 +1,60 @@ +% DLT-TEST-QNX-SLOGGER(1) + +# NAME + +**dlt-test-qnx-slogger** - Console based test application for sending messages +to QNX slogger + +# SYNOPSIS + +**dlt-test-qnx-slogger** \[**-h**\] \[**-n** count\] \[**-d** delay\] \[**-l** length\] + + +# DESCRIPTION + +The binary writes specific amount of messages to slogger2. This can be used to +test `dlt-qnx-system` ([dlt-qnx-system.md](dlt_qnx_system.md)). + +## OPTIONS + +-h + +: Display a short help text. + +-n + +: Number of messages to be generated (Default: 10). + +-d + +: Milliseconds to wait between sending messages (Default: 500). + +-l + +: Messages length (Default: 100 bytes). + +# Examples + +Send 100 messages every 1 second: + + dlt-test-qnx-slogger -n 100 -d 1000 + +# EXIT STATUS + +Non zero value is returned in case of failure. + +# AUTHOR + +Saya Sugiura (ssugiura@jp.adit-jv.com) + +# COPYRIGHT + +Copyright (C) 2021 ADIT GmbH. License MPL-2.0: Mozilla Public License version 2.0 . + +# BUGS + +See Github issue: + +# SEE ALSO + +**dlt-qnx-system.md(1)** -- cgit v1.2.1