mirror of
https://github.com/espressif/esp-idf.git
synced 2026-10-01 18:50:34 +03:00
ci(adc): remove ADC runner and move ADC tests to generic
This commit is contained in:
@@ -5,7 +5,7 @@ from pytest_embedded.dut import Dut
|
||||
from pytest_embedded_idf.utils import idf_parametrize
|
||||
|
||||
|
||||
@pytest.mark.adc
|
||||
@pytest.mark.generic
|
||||
@idf_parametrize(
|
||||
'target',
|
||||
['esp32', 'esp32s2', 'esp32s3', 'esp32c3', 'esp32c6', 'esp32h2', 'esp32c5', 'esp32p4', 'esp32c61'],
|
||||
|
||||
@@ -5,7 +5,7 @@ from pytest_embedded.dut import Dut
|
||||
from pytest_embedded_idf.utils import idf_parametrize
|
||||
|
||||
|
||||
@pytest.mark.adc
|
||||
@pytest.mark.generic
|
||||
@idf_parametrize(
|
||||
'target',
|
||||
['esp32', 'esp32s2', 'esp32s3', 'esp32c3', 'esp32c6', 'esp32h2', 'esp32c5', 'esp32p4', 'esp32c61'],
|
||||
@@ -15,7 +15,7 @@ def test_adc_oneshot(dut: Dut) -> None:
|
||||
dut.expect(r'EXAMPLE: ADC1 Channel\[(\d+)\] Raw Data: (\d+)', timeout=5)
|
||||
|
||||
|
||||
@pytest.mark.adc
|
||||
@pytest.mark.generic
|
||||
@pytest.mark.xtal_26mhz
|
||||
@pytest.mark.parametrize(
|
||||
'config, baud',
|
||||
|
||||
@@ -5,7 +5,7 @@ from pytest_embedded import Dut
|
||||
from pytest_embedded_idf.utils import idf_parametrize
|
||||
|
||||
|
||||
@pytest.mark.adc
|
||||
@pytest.mark.generic
|
||||
@idf_parametrize('target', ['esp32'], indirect=['target'])
|
||||
def test_dac_cosine_wave_example_with_12bit_adc(dut: Dut) -> None:
|
||||
res = []
|
||||
@@ -19,7 +19,7 @@ def test_dac_cosine_wave_example_with_12bit_adc(dut: Dut) -> None:
|
||||
assert max(chan0_val) - min(chan0_val) > 1000
|
||||
|
||||
|
||||
@pytest.mark.adc
|
||||
@pytest.mark.generic
|
||||
@idf_parametrize('target', ['esp32s2'], indirect=['target'])
|
||||
def test_dac_cosine_wave_example_with_13bit_adc(dut: Dut) -> None:
|
||||
res = []
|
||||
|
||||
Reference in New Issue
Block a user