]> git.puffer.fish Git - matthieu/frr.git/commit
tests: backtraces/cores now fail tests
authorChristian Hopps <chopps@labn.net>
Sat, 15 Jul 2023 04:04:05 +0000 (00:04 -0400)
committerChristian Hopps <chopps@labn.net>
Sat, 15 Jul 2023 04:26:03 +0000 (00:26 -0400)
commitfd743a6a8edee7a54070e755c9de74b29f485889
tree2c84d24351bf4437e5b57528b67167dbf066d2b8
parent88236d4e952fa05274d5464236a8df4727a6a1c7
tests: backtraces/cores now fail tests

Previously we just raised an error for the test file with possibly all tests
passing. Now we fail any test that produces new backtraces or cores. This
just works a lot better with analysis and even CI.

Also be less verbose to the console after failure runs, just show error
level and above logs. The log files still capture all levels (DEBUG).

Signed-off-by: Christian Hopps <chopps@labn.net>
tests/topotests/conftest.py
tests/topotests/pytest.ini