Zephyr API Documentation  2.7.0-rc2
A Scalable Open Source RTOS
Thread Context Tests

Test the thread context. More...

Functions

void test_thread_context (void)
 Verify thread context. More...
 
void test_errno (void)
 Verify errno works well. More...
 

Detailed Description

Test the thread context.

Function Documentation

◆ test_errno()

void test_errno ( void  )

#include <tests/kernel/common/src/errno.c>

Verify errno works well.

Check whether a C standard errno can be stored successfully, no matter it is using tls or not.

◆ test_thread_context()

void test_thread_context ( void  )

#include <tests/kernel/common/src/errno.c>

Verify thread context.

Check whether variable value per-thread are saved during context switch

TESTPOINT: thread- threads stacks are separate