pytest_ledc.py 745 B

12345678910111213141516171819202122232425262728293031323334
  1. # SPDX-FileCopyrightText: 2021-2023 Espressif Systems (Shanghai) CO LTD
  2. # SPDX-License-Identifier: CC0-1.0
  3. import pytest
  4. from pytest_embedded_idf import IdfDut
  5. @pytest.mark.supported_targets
  6. @pytest.mark.temp_skip_ci(targets=['esp32s3'], reason='skip due to duplication with test_ledc_psram')
  7. @pytest.mark.generic
  8. @pytest.mark.parametrize(
  9. 'config',
  10. [
  11. 'iram_safe',
  12. 'release',
  13. ],
  14. indirect=True,
  15. )
  16. def test_ledc(dut: IdfDut) -> None:
  17. dut.run_all_single_board_cases()
  18. @pytest.mark.esp32s3
  19. @pytest.mark.octal_psram
  20. @pytest.mark.parametrize(
  21. 'config',
  22. [
  23. 'iram_safe',
  24. 'release',
  25. ],
  26. indirect=True,
  27. )
  28. def test_ledc_psram(dut: IdfDut) -> None:
  29. dut.run_all_single_board_cases()