mirror of
https://github.com/espressif/esp-idf.git
synced 2024-09-20 00:36:01 -04:00
Merge branch 'ci/enable_bootloader_sup_tests' into 'master'
change(bootloader-support): enable tests for P4 and QEMU Closes QEMU-149 and IDF-8114 See merge request espressif/esp-idf!28018
This commit is contained in:
commit
1606d60c07
@ -22,7 +22,7 @@
|
||||
#include "esp_ota_ops.h"
|
||||
#include "esp_image_format.h"
|
||||
|
||||
TEST_CASE("Verify bootloader image in flash", "[bootloader_support][qemu-ignore-c3]")
|
||||
TEST_CASE("Verify bootloader image in flash", "[bootloader_support]")
|
||||
{
|
||||
const esp_partition_pos_t fake_bootloader_partition = {
|
||||
.offset = ESP_BOOTLOADER_OFFSET,
|
||||
@ -37,7 +37,7 @@ TEST_CASE("Verify bootloader image in flash", "[bootloader_support][qemu-ignore-
|
||||
TEST_ASSERT_EQUAL(data.image_len, bootloader_length);
|
||||
}
|
||||
|
||||
TEST_CASE("Verify unit test app image", "[bootloader_support][qemu-ignore-c3]")
|
||||
TEST_CASE("Verify unit test app image", "[bootloader_support]")
|
||||
{
|
||||
esp_image_metadata_t data = { 0 };
|
||||
const esp_partition_t *running = esp_ota_get_running_partition();
|
||||
|
@ -12,5 +12,6 @@ from pytest_embedded import Dut
|
||||
@pytest.mark.esp32h2
|
||||
@pytest.mark.esp32s2
|
||||
@pytest.mark.esp32s3
|
||||
@pytest.mark.esp32p4
|
||||
def test_rtc_reserved_memory(dut: Dut) -> None:
|
||||
dut.expect_exact('SUCCESS: data were saved across reboot', timeout=10)
|
||||
|
Loading…
Reference in New Issue
Block a user