Zephyr Project API 3.7.0-rc1
A Scalable Open Source RTOS
Loading...
Searching...
No Matches
Thread Context Tests

Test the thread context. More...

Functions

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

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.