ci: update configs to include/exclude esp_pm in unit test

This commit is contained in:
Renz Bagaporo
2020-07-22 15:23:39 +08:00
committed by bot
parent 6462f9bfe1
commit f33f49331f
15 changed files with 29 additions and 12 deletions

View File

@@ -5,6 +5,7 @@
#include <sys/param.h>
#include "unity.h"
#include "esp_pm.h"
#include "esp_sleep.h"
#include "freertos/FreeRTOS.h"
#include "freertos/task.h"
#include "freertos/semphr.h"
@@ -143,6 +144,7 @@ TEST_CASE("Automatic light occurs when tasks are suspended", "[pm]")
light_sleep_disable();
}
#if !TEMPORARY_DISABLED_FOR_TARGETS(ESP32S2, ESP32S3)
TEST_CASE("Can wake up from automatic light sleep by GPIO", "[pm]")
{
#if CONFIG_IDF_TARGET_ESP32
@@ -213,8 +215,7 @@ TEST_CASE("Can wake up from automatic light sleep by GPIO", "[pm]")
light_sleep_disable();
}
#endif
typedef struct {
int delay_us;
int result;