]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
zts: add a debug option to get full test output
authorRob N <rob.norris@klarasystems.com>
Tue, 16 Apr 2024 16:13:01 +0000 (02:13 +1000)
committerGitHub <noreply@github.com>
Tue, 16 Apr 2024 16:13:01 +0000 (09:13 -0700)
commitcf60db6ebe516d8470d9935c380f7ecc27071a25
treea92cf8eb0fee46a134f3369e03be62740121b1b7
parent90ba19eb7b81f0225e63bedfb902000d23383921
zts: add a debug option to get full test output

The test runner accumulates output from individual tests, then writes it
to the log at the end. If a test hangs or crashes the system half way
through, we get no insight into how it got to where it did.

This adds a -D option for "debug". When set, all test output is written
to stdout.

Sponsored-by: Klara, Inc.
Sponsored-by: Wasabi Technology, Inc.
Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Reviewed-by: Akash B <akash-b@hpe.com>
Signed-off-by: Rob Norris <rob.norris@klarasystems.com>
Closes #16096
scripts/zfs-tests.sh
tests/test-runner/bin/test-runner.py.in