mbox series

[nft,00/11] tests/shell: colorize output, fix VALGRIND mode

Message ID 20230907220833.2435010-1-thaller@redhat.com
Headers show
Series tests/shell: colorize output, fix VALGRIND mode | expand

Message

Thomas Haller Sept. 7, 2023, 10:07 p.m. UTC
- colorize the test output.
- fix the valgrind mode (-V, VALGRIND=y).
- various minor improvements(?).

Thomas Haller (11):
  tests/shell: cleanup result handling in "test-wrapper.sh"
  tests/shell: cleanup print_test_result() and show TAINTED error code
  tests/shell: colorize terminal output with test result
  tests/shell: fix handling failures with VALGRIND=y
  tests/shell: print the NFT setting with the VALGRIND=y wrapper
  tests/shell: don't redirect error/warning messages to stderr
  tests/shell: redirect output of test script to file too
  tests/shell: print "kernel is tainted" separate from test result
  tests/shell: no longer enable verbose output when selecting a test
  tests/shell: record wall time of test run in result data
  tests/shell: set NFT_TEST_JOBS based on $(nproc)

 tests/shell/helpers/nft-valgrind-wrapper.sh |  15 ++-
 tests/shell/helpers/test-wrapper.sh         |  70 ++++++----
 tests/shell/run-tests.sh                    | 134 +++++++++++++++-----
 3 files changed, 165 insertions(+), 54 deletions(-)