}
-TEST_CASE("SPI Master test", "[spi]")
+TEST_CASE("SPI Master test", "[spi][ignore]")
{
spi_bus_config_t buscfg={
.mosi_io_num=4,
}
-TEST_CASE("S32C1I vs AHB test (needs I2S)", "[hw]")
+TEST_CASE("S32C1I vs AHB test (needs I2S)", "[hw][ignore]")
{
int i;
TaskHandle_t th[3];
#include "freertos/FreeRTOS.h"
#include "freertos/task.h"
-TEST_CASE("esp_deepsleep works", "[deepsleep]")
+TEST_CASE("esp_deepsleep works", "[deepsleep][ignore]")
{
esp_deep_sleep(2000000);
}
}
}
-TEST_CASE("wake up using timer", "[deepsleep]")
+TEST_CASE("wake up using timer", "[deepsleep][ignore]")
{
esp_deep_sleep_enable_timer_wakeup(2000000);
esp_deep_sleep_start();
}
-TEST_CASE("enter deep sleep on APP CPU and wake up using timer", "[deepsleep]")
+TEST_CASE("enter deep sleep on APP CPU and wake up using timer", "[deepsleep][ignore]")
{
esp_deep_sleep_enable_timer_wakeup(2000000);
do_deep_sleep_from_app_cpu();
}
-TEST_CASE("wake up using ext0 (13 high)", "[deepsleep]")
+TEST_CASE("wake up using ext0 (13 high)", "[deepsleep][ignore]")
{
ESP_ERROR_CHECK(rtc_gpio_init(GPIO_NUM_13));
ESP_ERROR_CHECK(gpio_pullup_dis(GPIO_NUM_13));
esp_deep_sleep_start();
}
-TEST_CASE("wake up using ext0 (13 low)", "[deepsleep]")
+TEST_CASE("wake up using ext0 (13 low)", "[deepsleep][ignore]")
{
ESP_ERROR_CHECK(rtc_gpio_init(GPIO_NUM_13));
ESP_ERROR_CHECK(gpio_pullup_en(GPIO_NUM_13));
esp_deep_sleep_start();
}
-TEST_CASE("wake up using ext1 when RTC_PERIPH is off (13 high)", "[deepsleep]")
+TEST_CASE("wake up using ext1 when RTC_PERIPH is off (13 high)", "[deepsleep][ignore]")
{
// This test needs external pulldown
ESP_ERROR_CHECK(rtc_gpio_init(GPIO_NUM_13));
esp_deep_sleep_start();
}
-TEST_CASE("wake up using ext1 when RTC_PERIPH is off (13 low)", "[deepsleep]")
+TEST_CASE("wake up using ext1 when RTC_PERIPH is off (13 low)", "[deepsleep][ignore]")
{
// This test needs external pullup
ESP_ERROR_CHECK(rtc_gpio_init(GPIO_NUM_13));
esp_deep_sleep_start();
}
-TEST_CASE("wake up using ext1 when RTC_PERIPH is on (13 high)", "[deepsleep]")
+TEST_CASE("wake up using ext1 when RTC_PERIPH is on (13 high)", "[deepsleep][ignore]")
{
ESP_ERROR_CHECK(rtc_gpio_init(GPIO_NUM_13));
ESP_ERROR_CHECK(gpio_pullup_dis(GPIO_NUM_13));
esp_deep_sleep_start();
}
-TEST_CASE("wake up using ext1 when RTC_PERIPH is on (13 low)", "[deepsleep]")
+TEST_CASE("wake up using ext1 when RTC_PERIPH is on (13 low)", "[deepsleep][ignore]")
{
ESP_ERROR_CHECK(rtc_gpio_init(GPIO_NUM_13));
ESP_ERROR_CHECK(gpio_pullup_en(GPIO_NUM_13));
vTaskDelete(NULL);
}
-TEST_CASE("ets_delay produces correct delay on both CPUs", "[delay]")
+TEST_CASE("ets_delay produces correct delay on both CPUs", "[delay][ignore]")
{
int delay_ms = 50;
const delay_test_arg_t args = { .delay_us = delay_ms * 1000, .method = 0 };
// TODO: split this thing into separate orthogonal tests
-TEST_CASE("Fast I/O bus test", "[hw]")
+TEST_CASE("Fast I/O bus test", "[hw][ignore]")
{
int i;
if ((REG_UART_BASE(0) >> 16) != 0x3ff4) {
#define DATASIZE (1024*64)
-TEST_CASE("Test miniz compression/decompression", "[miniz]")
+TEST_CASE("Test miniz compression/decompression", "[miniz][ignore]")
{
int x;
char b;
-TEST_CASE("Unaligned DMA test (needs I2S)", "[hw]")
+TEST_CASE("Unaligned DMA test (needs I2S)", "[hw][ignore]")
{
int x;
char src[2049], dest[2049];
TEST_ASSERT_EQUAL(0, fclose(f));
}
-TEST_CASE("can create and write file on sd card", "[fatfs]")
+TEST_CASE("can create and write file on sd card", "[fatfs][ignore]")
{
HEAP_SIZE_CAPTURE();
sdmmc_host_t host = SDMMC_HOST_DEFAULT();
HEAP_SIZE_CHECK(0);
}
-TEST_CASE("can read file on sd card", "[fatfs]")
+TEST_CASE("can read file on sd card", "[fatfs][ignore]")
{
HEAP_SIZE_CAPTURE();
}
-TEST_CASE("read speed test", "[fatfs]")
+TEST_CASE("read speed test", "[fatfs][ignore]")
{
HEAP_SIZE_CAPTURE();
HEAP_SIZE_CHECK(0);
}
-TEST_CASE("write speed test", "[fatfs]")
+TEST_CASE("write speed test", "[fatfs][ignore]")
{
HEAP_SIZE_CAPTURE();
HEAP_SIZE_CHECK(0);
}
-TEST_CASE("can lseek", "[fatfs]")
+TEST_CASE("can lseek", "[fatfs][ignore]")
{
HEAP_SIZE_CAPTURE();
sdmmc_host_t host = SDMMC_HOST_DEFAULT();
HEAP_SIZE_CHECK(0);
}
-TEST_CASE("stat returns correct values", "[fatfs]")
+TEST_CASE("stat returns correct values", "[fatfs][ignore]")
{
HEAP_SIZE_CAPTURE();
sdmmc_host_t host = SDMMC_HOST_DEFAULT();
HEAP_SIZE_CHECK(0);
}
-TEST_CASE("unlink removes a file", "[fatfs]")
+TEST_CASE("unlink removes a file", "[fatfs][ignore]")
{
HEAP_SIZE_CAPTURE();
sdmmc_host_t host = SDMMC_HOST_DEFAULT();
HEAP_SIZE_CHECK(0);
}
-TEST_CASE("link copies a file, rename moves a file", "[fatfs]")
+TEST_CASE("link copies a file, rename moves a file", "[fatfs][ignore]")
{
HEAP_SIZE_CAPTURE();
sdmmc_host_t host = SDMMC_HOST_DEFAULT();
}
-TEST_CASE("multiple tasks can use same volume", "[fatfs]")
+TEST_CASE("multiple tasks can use same volume", "[fatfs][ignore]")
{
HEAP_SIZE_CAPTURE();
sdmmc_host_t host = SDMMC_HOST_DEFAULT();
HEAP_SIZE_CHECK(0);
}
-TEST_CASE("can create and remove directories", "[fatfs]")
+TEST_CASE("can create and remove directories", "[fatfs][ignore]")
{
HEAP_SIZE_CAPTURE();
sdmmc_host_t host = SDMMC_HOST_DEFAULT();
HEAP_SIZE_CHECK(0);
}
-TEST_CASE("opendir, readdir, rewinddir, seekdir work as expected", "[fatfs]")
+TEST_CASE("opendir, readdir, rewinddir, seekdir work as expected", "[fatfs][ignore]")
{
HEAP_SIZE_CAPTURE();
sdmmc_host_t host = SDMMC_HOST_DEFAULT();
}
// TODO: split this thing into separate orthogonal tests
-TEST_CASE("Bunch of FreeRTOS tests", "[freertos]")
+TEST_CASE("Bunch of FreeRTOS tests", "[freertos][ignore]")
{
char *tst;
TaskHandle_t th[12];
vTaskDelete(NULL);
}
-TEST_CASE("FreeRTOS Event Groups", "[freertos]")
+TEST_CASE("FreeRTOS Event Groups", "[freertos][ignore]")
{
eg = xEventGroupCreate();
vTaskDelete(NULL);
}
-TEST_CASE("FreeRTOS Event Group Sync", "[freertos]")
+TEST_CASE("FreeRTOS Event Group Sync", "[freertos][ignore]")
{
eg = xEventGroupCreate();
vTaskDelete(NULL);
}
-TEST_CASE("FreeRTOS Delete Tasks", "[freertos]")
+TEST_CASE("FreeRTOS Delete Tasks", "[freertos][ignore]")
{
xTaskCreatePinnedToCore(task_delete_self, "tsk_self_a", 4096, NULL, configMAX_PRIORITIES - 1, NULL, 0);
xTaskCreatePinnedToCore(task_delete_self, "tsk_self_a", 4096, NULL, configMAX_PRIORITIES - 1, NULL, 0);
#include "soc/io_mux_reg.h"
-TEST_CASE("Panic handler", "[freertos]")
+TEST_CASE("Panic handler", "[freertos][ignore]")
{
volatile int *i;
i = (volatile int *)0x0;
}
// TODO: split this thing into separate orthogonal tests
-TEST_CASE("FreeRTOS ringbuffer test, no splitting items", "[freertos]")
+TEST_CASE("FreeRTOS ringbuffer test, no splitting items", "[freertos][ignore]")
{
testRingbuffer(0);
}
-TEST_CASE("FreeRTOS ringbuffer test, w/ splitting items", "[freertos]")
+TEST_CASE("FreeRTOS ringbuffer test, w/ splitting items", "[freertos][ignore]")
{
testRingbuffer(1);
}
vTaskDelete(NULL);
}
-TEST_CASE("mbedtls SHA multithreading", "[mbedtls]")
+TEST_CASE("mbedtls SHA multithreading", "[mbedtls][ignore]")
{
done_sem = xSemaphoreCreateCounting(4, 0);
xTaskCreate(tskRunSHA1Test, "SHA1Task1", 8192, NULL, 3, NULL);
TEST_ASSERT_FALSE( isspace('0') || isspace('9') || isspace(')') || isspace('A') || isspace('*') || isspace('\x81') || isspace('a'));
}
-TEST_CASE("test atoX functions", "[newlib]")
+TEST_CASE("test atoX functions", "[newlib][ignore]")
{
TEST_ASSERT_EQUAL_INT(-2147483648, atoi("-2147483648"));
TEST_ASSERT_EQUAL_INT(2147483647, atoi("2147483647"));
TEST_ASSERT_EQUAL(val, sval);
}
#else
-TEST_CASE("test 64bit int formats", "[newlib]")
+TEST_CASE("test 64bit int formats", "[newlib][ignore]")
{
char* res = NULL;
const uint64_t val = 123456789012LL;
printf("%d\n", __builtin_clz(count));
}
-TEST_CASE("Can write, read, mmap partition", "[partition]")
+TEST_CASE("Can write, read, mmap partition", "[partition][ignore]")
{
const esp_partition_t *p = esp_partition_find_first(ESP_PARTITION_TYPE_DATA, ESP_PARTITION_SUBTYPE_ANY, NULL);
TEST_ASSERT_NOT_NULL(p);
#include <sys/time.h>
-TEST_CASE("can probe SD", "[sd]")
+TEST_CASE("can probe SD", "[sd][ignore]")
{
sdmmc_host_t config = SDMMC_HOST_DEFAULT();
sdmmc_slot_config_t slot_config = SDMMC_SLOT_CONFIG_DEFAULT();
free(buffer);
}
-TEST_CASE("can write and read back blocks", "[sd]")
+TEST_CASE("can write and read back blocks", "[sd][ignore]")
{
sdmmc_host_t config = SDMMC_HOST_DEFAULT();
config.max_freq_khz = SDMMC_FREQ_HIGHSPEED;
vTaskDelete(NULL);
}
-TEST_CASE("flash write and erase work both on PRO CPU and on APP CPU", "[spi_flash]")
+TEST_CASE("flash write and erase work both on PRO CPU and on APP CPU", "[spi_flash][ignore]")
{
TaskHandle_t procpu_task;
TaskHandle_t appcpu_task;
TEST_ASSERT_EQUAL(10 + 11, RTC_SLOW_MEM[18] & 0xffff);
}
-TEST_CASE("ulp branch test", "[ulp]")
+TEST_CASE("ulp branch test", "[ulp][ignore]")
{
assert(CONFIG_ULP_COPROC_RESERVE_MEM >= 260 && "this test needs ULP_COPROC_RESERVE_MEM option set in menuconfig");
memset(RTC_SLOW_MEM, 0, CONFIG_ULP_COPROC_RESERVE_MEM);
TEST_ASSERT_EQUAL(0, RTC_SLOW_MEM[64]);
}
-TEST_CASE("ulp wakeup test", "[ulp]")
+TEST_CASE("ulp wakeup test", "[ulp][ignore]")
{
assert(CONFIG_ULP_COPROC_RESERVE_MEM >= 260 && "this test needs ULP_COPROC_RESERVE_MEM option set in menuconfig");
memset(RTC_SLOW_MEM, 0, CONFIG_ULP_COPROC_RESERVE_MEM);
esp_deep_sleep_start();
}
-TEST_CASE("ulp controls RTC_IO", "[ulp]")
+TEST_CASE("ulp controls RTC_IO", "[ulp][ignore]")
{
assert(CONFIG_ULP_COPROC_RESERVE_MEM >= 260 && "this test needs ULP_COPROC_RESERVE_MEM option set in menuconfig");
memset(RTC_SLOW_MEM, 0, CONFIG_ULP_COPROC_RESERVE_MEM);