diff --git a/tests/topotests/pytest.ini b/tests/topotests/pytest.ini index 885c249b31..33c5635eb2 100644 --- a/tests/topotests/pytest.ini +++ b/tests/topotests/pytest.ini @@ -1,7 +1,34 @@ # Skip pytests example directory [pytest] + +# We always turn this on inside conftest.py, default shown +# addopts = --junitxml=/topotests.xml + +log_level = DEBUG +log_format = %(asctime)s,%(msecs)03d %(levelname)s: %(name)s: %(message)s +log_date_format = %Y-%m-%d %H:%M:%S + +# If verbose is specifyied log_cli will be set to 1, it can also be specified +# here or on the CLI. +# log_cli = 1 +log_cli_level = INFO +log_cli_format = %(asctime)s,%(msecs)03d %(levelname)s: %(name)s: %(message)s +log_cli_date_format = %Y-%m-%d %H:%M:%S + +# By default this is palced in /exec.log +# log_file = /exec.log +log_file_level = DEBUG +log_file_format = %(asctime)s,%(msecs)03d %(levelname)s: %(name)s: %(message)s +log_file_date_format = %Y-%m-%d %H:%M:%S + +junit_logging = all +junit_log_passing_tests = true + norecursedirs = .git example_test example_topojson_test lib docker +# Directory to store test results and run logs in, default shown +# rundir = /tmp/topotests + # Markers # # Please consult the documentation and discuss with TSC members before applying @@ -54,4 +81,4 @@ markers = # memleak_path = /tmp/memleak_ # Output files will be named after the testname: # /tmp/memleak_test_ospf_topo1.txt -#memleak_path = +memleak_path = /tmp/memleak_