mirror of
https://github.com/espressif/esp-idf.git
synced 2024-10-05 20:47:46 -04:00
ci: log to junit report system-out for failed test cases
This commit is contained in:
parent
c2a239bd6b
commit
2cf17f802f
11
pytest.ini
11
pytest.ini
@ -2,10 +2,13 @@
|
||||
# only the files with prefix `pytest_` would be recognized as pytest test scripts.
|
||||
python_files = pytest_*.py
|
||||
|
||||
addopts = --embedded-services esp,idf
|
||||
addopts =
|
||||
--embedded-services esp,idf
|
||||
-W ignore::_pytest.warning_types.PytestExperimentalApiWarning
|
||||
|
||||
markers =
|
||||
esp32: support esp32 target
|
||||
esp32s2: support esp32s2 target
|
||||
esp32c3: support esp32c3 target
|
||||
generic: tests should be run on generic runners
|
||||
|
||||
@ -15,3 +18,9 @@ log_cli = True
|
||||
log_cli_level = INFO
|
||||
log_cli_format = %(asctime)s %(levelname)s %(message)s
|
||||
log_cli_date_format = %Y-%m-%d %H:%M:%S
|
||||
|
||||
# junit related
|
||||
junit_family = xunit1
|
||||
## log all to `system-out` when case fail
|
||||
junit_logging = log
|
||||
junit_log_passing_tests = False
|
||||
|
Loading…
x
Reference in New Issue
Block a user