Skip to content

Commit

Permalink
Merge branch 'feature/qemu-esp-event' into 'master'
Browse files Browse the repository at this point in the history
enabling qemu on esp_event

Closes IDF-7329

See merge request espressif/esp-idf!21098
  • Loading branch information
Zim Kalinowski committed Jun 21, 2023
2 parents f3a19a3 + c472e2e commit 5a1d37d
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 2 deletions.
4 changes: 2 additions & 2 deletions components/esp_event/test_apps/main/test_event.c
Original file line number Diff line number Diff line change
Expand Up @@ -1538,12 +1538,12 @@ static void performance_test(bool dedicated_task)
#endif // CONFIG_ESP_EVENT_LOOP_PROFILING
}

TEST_CASE("performance test - dedicated task", "[event]")
TEST_CASE("performance test - dedicated task", "[event][qemu-ignore]")
{
performance_test(true);
}

TEST_CASE("performance test - no dedicated task", "[event]")
TEST_CASE("performance test - no dedicated task", "[event][qemu-ignore]")
{
performance_test(false);
}
Expand Down
11 changes: 11 additions & 0 deletions components/esp_event/test_apps/pytest_esp_event.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,16 @@
@pytest.mark.esp32s2
@pytest.mark.esp32c3
@pytest.mark.generic
@pytest.mark.nightly_run
def test_esp_event(dut: Dut) -> None:
dut.run_all_single_board_cases()


@pytest.mark.esp32
@pytest.mark.esp32c3
@pytest.mark.host_test
@pytest.mark.qemu
def test_esp_event_qemu(dut: Dut) -> None:
for case in dut.test_menu:
if 'qemu-ignore' not in case.groups and not case.is_ignored and case.type == 'normal':
dut._run_normal_case(case)

0 comments on commit 5a1d37d

Please sign in to comment.