summaryrefslogtreecommitdiff
path: root/tests/topotests/conftest.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/topotests/conftest.py')
-rwxr-xr-xtests/topotests/conftest.py6
1 files changed, 5 insertions, 1 deletions
diff --git a/tests/topotests/conftest.py b/tests/topotests/conftest.py
index c63a67545e..b1f8d50d06 100755
--- a/tests/topotests/conftest.py
+++ b/tests/topotests/conftest.py
@@ -26,7 +26,7 @@ from munet.base import Commander, proc_error
from munet.cleanup import cleanup_current, cleanup_previous
from munet.config import ConfigOptionsProxy
from munet.testing.util import pause_test
-
+from lib.common_config import generate_support_bundle
from lib import topolog, topotest
try:
@@ -600,6 +600,10 @@ def pytest_runtest_setup(item):
os.environ["PYTEST_TOPOTEST_SCRIPTDIR"] = script_dir
+def pytest_exception_interact(node, call, report):
+ generate_support_bundle()
+
+
def pytest_runtest_makereport(item, call):
"Log all assert messages to default logger with error level"