Skip to content
Failed

Changes

Summary

  1. pySim-shell_test/utils: delete log files in general (details)
  2. pySim-shell_test/utils: enumerate pySim-shell logs (details)
  3. pySim-shell_test/utils: display pySim-shell logfile content (details)
  4. print_content (details)
Commit d3ee5f8e99000b10ce1b55843288c04c09baa909 by pmaier@sysmocom.de
pySim-shell_test/utils: delete log files in general

When we get rid of temporary files, we delete those using a wildcard,
but for the logs from pySim-shell we explicitly memorize the name
of the pySim-shell logfile and delete it later by this explicit
name. This is not necessary, let's just delete all log files present
using a wildcard.

Related: OS#6601
Change-Id: I09dc7e59d1a3dcb68f54e3a8dccb86a1bc6c9ee6
The file was modifiedtests/pySim-shell_test/utils.py
Commit a6a53c3633d0a23d21365da3d65514b79db6496e by pmaier@sysmocom.de
pySim-shell_test/utils: enumerate pySim-shell logs

When pySim-shell is called by a testcase, a logfile is createted. The logfile
filename contains the testcase name. However, a testcase may run pySim-shell
multiple times. In this case we overwrite the log from previous run. Let's use a
counter to generate unique file names for each run, so that we won't lose logs
from previous runs.

Related: OS#6601
Change-Id: Ib2195d9b2231f74d0a6c4fb28f4889b6c45efb1e
The file was modifiedtests/pySim-shell_test/utils.py
Commit 9cb5c750a0e3b9d96c08f4ff0bf8308c0347434b by pmaier@sysmocom.de
pySim-shell_test/utils: display pySim-shell logfile content

When we configure the tests to display file content, we only display files that
we compare, let's also display log file contents from pySim-shell. This will
be useful in situations where we only have log output from the tests, but no
access to the file system of the test host.

Related: OS#6601
Change-Id: Ibf6f78d7e71c213c7ca1caaf21c4c890e892261e
The file was modifiedtests/pySim-shell_test/utils.py
Commit 939a28744e706e67c57f6b4f14613cfb1185b63e by pmaier@sysmocom.de
print_content

Change-Id: I07ef8cecdd8ac1eb678b3e678b48afddf1a32ac1
The file was modifiedtests/pySim-shell_test/config.yaml