Zephyr Project API  3.3.0
A Scalable Open Source RTOS
Thread Context Tests

Test the thread context. More...

Functions

 ZTEST (common_errno, test_thread_context)
 Verify thread context. More...
 
 ZTEST_USER (common_errno, test_errno)
 Verify errno works well. More...
 

Detailed Description

Test the thread context.

Function Documentation

◆ ZTEST()

ZTEST ( common_errno  ,
test_thread_context   
)

#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

◆ ZTEST_USER()

ZTEST_USER ( common_errno  ,
test_errno   
)

#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.