esp-idf/pytest.ini

94 wiersze
3.8 KiB
INI
Czysty Zwykły widok Historia

[pytest]
# only the files with prefix `pytest_` would be recognized as pytest test scripts.
python_files = pytest_*.py
# ignore PytestExperimentalApiWarning for record_xml_attribute
2022-03-08 04:45:34 +00:00
# set traceback to "short" to prevent the overwhelming tracebacks
addopts =
2022-01-20 09:39:30 +00:00
-s
--embedded-services esp,idf
2022-03-08 04:45:34 +00:00
--tb short
2022-10-25 14:09:38 +00:00
--strict-markers
2022-05-25 03:28:29 +00:00
--skip-check-coredump y
--logfile-extension ".txt"
# ignore DeprecationWarning
filterwarnings =
2022-05-18 06:59:34 +00:00
ignore::DeprecationWarning:matplotlib.*:
ignore::DeprecationWarning:google.protobuf.*:
ignore::_pytest.warning_types.PytestExperimentalApiWarning
markers =
2022-05-18 06:59:34 +00:00
# target markers
esp32: support esp32 target
esp32s2: support esp32s2 target
esp32s3: support esp32s3 target
esp32c3: support esp32c3 target
esp32c2: support esp32c2 target
esp32c6: support esp32c6 target
2022-07-26 08:00:43 +00:00
esp32h2: support esp32h2 target
supported_targets: support all supported targets ('esp32', 'esp32s2', 'esp32c3', 'esp32s3', 'esp32c2')
preview_targets: support all preview targets ('linux', 'esp32h2', 'esp32c6')
all_targets: support all targets, including supported ones and preview ones
# env markers
generic: tests should be run on generic runners
nightly_run: tests should be executed as part of the nightly trigger pipeline
flash_suspend: support flash suspend feature
ip101: connected via wired 10/100M ethernet
lan8720: connected via LAN8720 ethernet transceiver
2022-06-23 02:11:21 +00:00
quad_psram: runners with quad psram
2021-09-23 04:06:13 +00:00
octal_psram: runners with octal psram
usb_host: usb host runners
2022-07-22 08:20:21 +00:00
usb_device: usb device runners
ethernet_ota: ethernet OTA runners
flash_encryption: Flash Encryption runners
flash_encryption_f4r8: Flash Encryption runners with 4-line flash and 8-line psram
flash_encryption_f8r8: Flash Encryption runners with 8-line flash and 8-line psram
2022-08-23 02:10:32 +00:00
flash_mutli: Multiple flash chips tests
psram: Chip has 4-line psram
ir_transceiver: runners with a pair of IR transmitter and receiver
2022-10-27 09:36:31 +00:00
twai_transceiver: runners with a TWAI PHY transceiver
flash_encryption_wifi_high_traffic: Flash Encryption runners with wifi high traffic support
2022-04-13 11:53:25 +00:00
ethernet: ethernet runner
ethernet_flash_8m: ethernet runner with 8mb flash
ethernet_router: both the runner and dut connect to the same router through ethernet NIC
wifi_ap: a wifi AP in the environment
wifi_router: both the runner and dut connect to the same wifi router
wifi_high_traffic: wifi high traffic runners
wifi_wlan: wifi runner with a wireless NIC
2022-07-11 03:53:21 +00:00
xtal_26mhz: runner with 26MHz xtal on board
2022-07-19 06:19:44 +00:00
xtal_40mhz: runner with 40MHz xtal on board
2022-07-08 09:34:03 +00:00
external_flash: external flash memory connected via VSPI (FSPI)
sdcard_sdmode: sdcard running in SD mode
sdcard_spimode: sdcard running in SPI mode
2022-07-21 04:23:22 +00:00
MSPI_F8R8: runner with Octal Flash and Octal PSRAM
MSPI_F4R8: runner with Quad Flash and Octal PSRAM
MSPI_F4R4: runner with Quad Flash and Quad PSRAM
test_jtag_arm: runner where the chip is accessible through JTAG as well
adc: ADC related tests should run on adc runners
2022-05-18 06:59:34 +00:00
# multi-dut markers
2022-10-25 14:09:38 +00:00
ieee802154: ieee802154 related tests should run on ieee802154 runners.
2022-08-17 02:57:39 +00:00
i154_multi_dut: tests should be used for i154, such as openthread.
wifi_two_dut: tests should be run on runners which has two wifi duts connected.
generic_multi_device: generic multiple devices whose corresponding gpio pins are connected to each other.
2022-10-27 09:36:31 +00:00
twai_network: multiple runners form a TWAI network.
2022-05-18 06:59:34 +00:00
# host_test markers
host_test: tests which shouldn not be built at the build stage, and instead built in host_test stage.
2022-05-18 06:59:34 +00:00
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
2022-01-20 09:39:30 +00:00
## log all to `system-out` when case fail
2022-01-20 09:39:30 +00:00
junit_logging = stdout
junit_log_passing_tests = False