Zephyr API Documentation 4.1.99
A Scalable Open Source RTOS
Loading...
Searching...
No Matches
Common Tests

Functions

void test_version (void)
 Test sys_kernel_version_get() functionality.
 
void test_multilib (void)
 Test if correct multilib is selected.
 
void * common_setup (void)
 
 ZTEST_SUITE (multilib, NULL, common_setup, NULL, NULL, NULL)
 
void test_fatal_on_smp (void)
 Test fatal error can be triggered on different core.
 
void test_workq_on_smp (void)
 Test system workq run on different core.
 

Detailed Description

Function Documentation

◆ common_setup()

void * common_setup ( void )
extern

◆ test_fatal_on_smp()

void test_fatal_on_smp ( void )

#include </home/runner/work/safety-doc/zephyr/tests/kernel/smp/src/main.c>

Test fatal error can be triggered on different core.

When CONFIG_SMP is enabled, on some multiprocessor platforms, exception can be triggered on different core at the same time.

◆ test_multilib()

void test_multilib ( void )

#include </home/runner/work/safety-doc/zephyr/tests/kernel/common/src/multilib.c>

Test if correct multilib is selected.

◆ test_version()

◆ test_workq_on_smp()

void test_workq_on_smp ( void )

#include </home/runner/work/safety-doc/zephyr/tests/kernel/smp/src/main.c>

Test system workq run on different core.

When macro CONFIG_SMP is enabled, workq can be run on different core.

◆ ZTEST_SUITE()