summary refs log tree commit diff stats
path: root/scripts/tracetool/format/c.py
diff options
context:
space:
mode:
authorDaniel P. Berrangé <berrange@redhat.com>2025-09-08 14:57:20 +0100
committerThomas Huth <thuth@redhat.com>2025-09-09 12:41:32 +0200
commite5381b041037f3918163f2b7f82415aee80cd64e (patch)
tree2f0333553f429441b7cf8538b78de4dda84c90f7 /scripts/tracetool/format/c.py
parentfb352b3c85a990ba81e41e4e8c7eb53ccc3059a3 (diff)
downloadfocaccia-qemu-e5381b041037f3918163f2b7f82415aee80cd64e.tar.gz
focaccia-qemu-e5381b041037f3918163f2b7f82415aee80cd64e.zip
tests/functional: avoid duplicate messages on failures
In some scenarios the same tests is mentioned in both the
'res.results.errors' and 'res.results.failures' array returned
by unittest.main(). This was seen when the 'tearDown' method
raised an exception.

In such a case, we printed out the same information about where
to find a log file twice for each test. Track which tests we
have already reported on, to avoid the duplication.

Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
Reviewed-by: Thomas Huth <thuth@redhat.com>
Message-ID: <20250908135722.3375580-3-berrange@redhat.com>
Signed-off-by: Thomas Huth <thuth@redhat.com>
Diffstat (limited to 'scripts/tracetool/format/c.py')
0 files changed, 0 insertions, 0 deletions