mirror of
https://github.com/espressif/esp-idf.git
synced 2024-10-05 20:47:46 -04:00
f8b5c29346
Add ignore tag on unit test cases that are not supported in CI yet
27 lines
524 B
C
27 lines
524 B
C
/*
|
|
Test for multicore FreeRTOS. This test spins up threads, fiddles with queues etc.
|
|
*/
|
|
|
|
#include <esp_types.h>
|
|
#include <stdio.h>
|
|
#include "rom/ets_sys.h"
|
|
|
|
#include "freertos/FreeRTOS.h"
|
|
#include "freertos/task.h"
|
|
#include "freertos/semphr.h"
|
|
#include "freertos/queue.h"
|
|
#include "freertos/xtensa_api.h"
|
|
#include "unity.h"
|
|
#include "soc/uart_reg.h"
|
|
#include "soc/dport_reg.h"
|
|
#include "soc/io_mux_reg.h"
|
|
|
|
|
|
TEST_CASE("Panic handler", "[freertos][ignore]")
|
|
{
|
|
volatile int *i;
|
|
i = (volatile int *)0x0;
|
|
*i = 1;
|
|
}
|
|
|