2021-11-17 04:09:36 -05:00
|
|
|
[pytest]
|
|
|
|
# only the files with prefix `pytest_` would be recognized as pytest test scripts.
|
|
|
|
python_files = pytest_*.py
|
|
|
|
|
2021-11-30 22:32:50 -05:00
|
|
|
# ignore PytestExperimentalApiWarning for record_xml_attribute
|
2022-03-07 23:45:34 -05:00
|
|
|
# set traceback to "short" to prevent the overwhelming tracebacks
|
2021-11-30 22:36:29 -05:00
|
|
|
addopts =
|
2022-01-20 04:39:30 -05:00
|
|
|
-s
|
2021-11-30 22:36:29 -05:00
|
|
|
--embedded-services esp,idf
|
2022-03-07 23:45:34 -05:00
|
|
|
--tb short
|
2022-05-24 23:28:29 -04:00
|
|
|
--skip-check-coredump y
|
2021-11-17 04:09:36 -05:00
|
|
|
|
2022-03-22 09:08:20 -04:00
|
|
|
# ignore DeprecationWarning
|
|
|
|
filterwarnings =
|
2022-05-18 02:59:34 -04:00
|
|
|
ignore::DeprecationWarning:matplotlib.*:
|
|
|
|
ignore::DeprecationWarning:google.protobuf.*:
|
|
|
|
ignore::_pytest.warning_types.PytestExperimentalApiWarning
|
2022-03-22 09:08:20 -04:00
|
|
|
|
2021-11-17 04:09:36 -05:00
|
|
|
markers =
|
2022-05-18 02:59:34 -04:00
|
|
|
# target markers
|
2021-11-17 04:09:36 -05:00
|
|
|
esp32: support esp32 target
|
2021-11-30 22:36:29 -05:00
|
|
|
esp32s2: support esp32s2 target
|
2021-11-30 22:32:50 -05:00
|
|
|
esp32s3: support esp32s3 target
|
2021-11-17 04:09:36 -05:00
|
|
|
esp32c3: support esp32c3 target
|
2022-05-07 03:26:45 -04:00
|
|
|
esp32c2: support esp32c2 target
|
2022-07-26 04:00:43 -04:00
|
|
|
esp32h2: support esp32h2 target
|
2022-05-07 03:26:45 -04:00
|
|
|
supported_targets: support all supported targets ('esp32', 'esp32s2', 'esp32c3', 'esp32s3', 'esp32c2')
|
|
|
|
preview_targets: support all preview targets ('linux', 'esp32h2')
|
2021-12-03 02:39:18 -05:00
|
|
|
all_targets: support all targets, including supported ones and preview ones
|
2021-11-17 04:09:36 -05:00
|
|
|
|
2022-01-18 23:12:15 -05:00
|
|
|
# env markers
|
|
|
|
generic: tests should be run on generic runners
|
2022-06-30 06:19:57 -04:00
|
|
|
nightly_run: tests should be executed as part of the nightly trigger pipeline
|
2022-01-18 23:12:15 -05:00
|
|
|
flash_suspend: support flash suspend feature
|
|
|
|
ip101: connected via wired 10/100M ethernet
|
|
|
|
lan8720: connected via LAN8720 ethernet transceiver
|
2022-06-22 22:11:21 -04:00
|
|
|
quad_psram: runners with quad psram
|
2021-09-23 00:06:13 -04:00
|
|
|
octal_psram: runners with octal psram
|
2022-02-10 05:16:53 -05:00
|
|
|
usb_host: usb host runners
|
2022-07-22 04:20:21 -04:00
|
|
|
usb_device: usb device runners
|
2022-07-06 12:34:06 -04:00
|
|
|
ethernet_ota: ethernet OTA runners
|
2022-04-14 00:54:04 -04:00
|
|
|
flash_encryption: Flash Encryption runners
|
2022-07-14 00:29:43 -04:00
|
|
|
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-22 22:10:32 -04:00
|
|
|
flash_mutli: Multiple flash chips tests
|
2022-07-14 00:29:43 -04:00
|
|
|
psram: Chip has 4-line psram
|
2022-04-07 01:10:57 -04:00
|
|
|
ir_transceiver: runners with a pair of IR transmitter and receiver
|
2022-07-06 12:34:06 -04:00
|
|
|
flash_encryption_wifi_high_traffic: Flash Encryption runners with wifi high traffic support
|
2022-04-13 07:53:25 -04:00
|
|
|
ethernet: ethernet runner
|
|
|
|
ethernet_flash_8m: ethernet runner with 8mb flash
|
2022-07-06 12:34:06 -04:00
|
|
|
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
|
2022-07-03 04:22:20 -04:00
|
|
|
wifi_wlan: wifi runner with a wireless NIC
|
2022-07-10 23:53:21 -04:00
|
|
|
xtal_26mhz: runner with 26MHz xtal on board
|
2022-07-19 02:19:44 -04:00
|
|
|
xtal_40mhz: runner with 40MHz xtal on board
|
2022-07-08 05:34:03 -04: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 00:23:22 -04: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
|
2022-07-22 12:23:09 -04:00
|
|
|
test_jtag_arm: runner where the chip is accessible through JTAG as well
|
2022-01-18 23:12:15 -05:00
|
|
|
|
2022-05-18 02:59:34 -04:00
|
|
|
# multi-dut markers
|
2022-05-07 00:18:56 -04:00
|
|
|
multi_dut_generic: tests should be run on generic runners, at least have two duts connected.
|
|
|
|
|
2022-05-18 02:59:34 -04:00
|
|
|
# host_test markers
|
2022-07-03 04:22:20 -04:00
|
|
|
host_test: tests which shouldn not be built at the build stage, and instead built in host_test stage.
|
2022-05-18 02:59:34 -04:00
|
|
|
qemu: build and test using qemu-system-xtensa, not real target.
|
|
|
|
|
2021-11-17 04:09:36 -05:00
|
|
|
# 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
|
2021-11-30 22:36:29 -05:00
|
|
|
|
|
|
|
# junit related
|
|
|
|
junit_family = xunit1
|
2022-01-20 04:39:30 -05:00
|
|
|
|
2021-11-30 22:36:29 -05:00
|
|
|
## log all to `system-out` when case fail
|
2022-01-20 04:39:30 -05:00
|
|
|
junit_logging = stdout
|
2021-11-30 22:36:29 -05:00
|
|
|
junit_log_passing_tests = False
|