diff options
author | Thomas Haller <thaller@redhat.com> | 2023-09-06 13:52:14 +0200 |
---|---|---|
committer | Florian Westphal <fw@strlen.de> | 2023-09-07 19:35:20 +0200 |
commit | ce4403c185c7c7b15fc044964305cff94f77396e (patch) | |
tree | 0563c222e598f02a0a17dede913d7eb6db844a21 /src/erec.c | |
parent | 4a741004118d271a230253b788b534168220c03f (diff) |
tests/shell: rework printing of test results
- "test-wrapper.sh" no longer will print the test output to its stdout.
Instead, it only writes the testout.log file.
- rework the loop "run-tests.sh" for printing the test results. It no
longer captures the output of the test, as the wrapper is expected to
be silent. Instead, they get the output from the result directory.
The benefit is, that there is no duplication in what we print and the
captured data in the result directory. The verbose mode is only for
convenience, to safe looking at the test data. It's not essential
otherwise.
- also move the evaluation of the test result (and printing of the
information) to a separate function. Later we want to run tests in
parallel, so the steps need to be clearly separated.
Signed-off-by: Thomas Haller <thaller@redhat.com>
Signed-off-by: Florian Westphal <fw@strlen.de>
Diffstat (limited to 'src/erec.c')
0 files changed, 0 insertions, 0 deletions