mirror of
https://github.com/espressif/esp-idf.git
synced 2024-10-05 20:47:46 -04:00
66 lines
2.2 KiB
INI
66 lines
2.2 KiB
INI
[pytest]
|
|
# only the files with prefix `pytest_` would be recognized as pytest test scripts.
|
|
python_files = pytest_*.py
|
|
|
|
# ignore PytestExperimentalApiWarning for record_xml_attribute
|
|
# set traceback to "short" to prevent the overwhelming tracebacks
|
|
addopts =
|
|
-s
|
|
--embedded-services esp,idf
|
|
--tb short
|
|
--skip-check-coredump y
|
|
|
|
# ignore DeprecationWarning
|
|
filterwarnings =
|
|
ignore::DeprecationWarning:matplotlib.*:
|
|
ignore::DeprecationWarning:google.protobuf.*:
|
|
ignore::_pytest.warning_types.PytestExperimentalApiWarning
|
|
|
|
markers =
|
|
# target markers
|
|
esp32: support esp32 target
|
|
esp32s2: support esp32s2 target
|
|
esp32s3: support esp32s3 target
|
|
esp32c3: support esp32c3 target
|
|
esp32c2: support esp32c2 target
|
|
supported_targets: support all supported targets ('esp32', 'esp32s2', 'esp32c3', 'esp32s3', 'esp32c2')
|
|
preview_targets: support all preview targets ('linux', 'esp32h2')
|
|
all_targets: support all targets, including supported ones and preview ones
|
|
|
|
# env markers
|
|
generic: tests should be run on generic runners
|
|
flash_suspend: support flash suspend feature
|
|
ip101: connected via wired 10/100M ethernet
|
|
lan8720: connected via LAN8720 ethernet transceiver
|
|
octal_psram: runners with octal psram
|
|
usb_host: usb host runners
|
|
ethernet_ota: ethernet OTA runners
|
|
flash_encryption: Flash Encryption runners
|
|
ir_transceiver: runners with a pair of IR transmitter and receiver
|
|
wifi_ota: wifi OTA runners
|
|
flash_encryption_ota: flash encryprion ota ethernet runner
|
|
flash_encryption_wifi_ota: flash encryprion ota wifi runner
|
|
ethernet: ethernet runner
|
|
ethernet_flash_8m: ethernet runner with 8mb flash
|
|
wifi: wifi runner
|
|
|
|
# multi-dut markers
|
|
multi_dut_generic: tests should be run on generic runners, at least have two duts connected.
|
|
|
|
# host_test markers
|
|
host_test: tests which shouldn't be built at the build stage, and instead built in host_test stage.
|
|
qemu: build and test using qemu-system-xtensa, not real target.
|
|
|
|
# log related
|
|
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 = stdout
|
|
junit_log_passing_tests = False
|