i2s: fixed duplicated test case name

This commit is contained in:
laokaiyao 2022-08-08 16:15:20 +08:00
parent 73a1d3b1bf
commit 18356cd124
3 changed files with 8 additions and 8 deletions

View File

@ -243,7 +243,7 @@ static bool whether_contains_exapected_data(uint16_t *src, uint32_t src_len, uin
* 2. Check rx right mono and left mono (requiring tx works in stereo mode) * 2. Check rx right mono and left mono (requiring tx works in stereo mode)
* 3. Check tx mono (requiring rx works in stereo mode) * 3. Check tx mono (requiring rx works in stereo mode)
*/ */
TEST_CASE("I2S_mono_stereo_loopback_test", "[i2s_legacy]") TEST_CASE("I2S_legacy_mono_stereo_loopback_test", "[i2s_legacy]")
{ {
#define WRITE_BUF_LEN 2000 #define WRITE_BUF_LEN 2000
#define READ_BUF_LEN 4000 #define READ_BUF_LEN 4000

View File

@ -11,6 +11,6 @@ from pytest_embedded import Dut
@pytest.mark.esp32c3 @pytest.mark.esp32c3
@pytest.mark.generic @pytest.mark.generic
def test_i2s_es8311_example_generic(dut: Dut) -> None: def test_i2s_es8311_example_generic(dut: Dut) -> None:
dut.expect('i2s es8311 codec example start', timeout=30) dut.expect('i2s es8311 codec example start')
dut.expect('-----------------------------', timeout=30) dut.expect('-----------------------------')
dut.expect('I \\(([0-9]+)\\) i2s_es8311: i2s driver init success', timeout=30) dut.expect('I \\(([0-9]+)\\) i2s_es8311: i2s driver init success')

View File

@ -7,7 +7,7 @@ from pytest_embedded import Dut
@pytest.mark.esp32 @pytest.mark.esp32
@pytest.mark.esp32s3 @pytest.mark.esp32s3
@pytest.mark.generic @pytest.mark.generic
def test_i2s_es8311_example_generic(dut: Dut) -> None: def test_i2s_recoder_generic(dut: Dut) -> None:
dut.expect('PDM microphone recording example start', timeout=30) dut.expect('PDM microphone recording example start')
dut.expect('--------------------------------------', timeout=30) dut.expect('--------------------------------------')
dut.expect('I \\(([0-9]+)\\) pdm_rec_example: Initializing SD card', timeout=30) dut.expect('I \\(([0-9]+)\\) pdm_rec_example: Initializing SD card')