CONFIG_ZTEST_RULE_1CPU

Run all the tests on a single CPU

Type: bool

Help

This rule will call z_test_1cpu_start before each unit test and
ztest_1cpu_stop after each test.

Direct dependencies

ZTEST_NEW_API && ZTEST

(Includes any dependencies from ifs and menus.)

Defaults

No defaults. Implicitly defaults to n.

Kconfig definition

At <Subsystem>/testsuite/ztest/Kconfig:86

Included via Kconfig:8Kconfig.zephyr:44<Subsystem>/Kconfig:61<Subsystem>/testsuite/Kconfig:6

Menu path: (Top) → Sub Systems and OS Services → Testing → Zephyr testing framework → ztest provided rules

config ZTEST_RULE_1CPU
    bool "Run all the tests on a single CPU"
    depends on ZTEST_NEW_API && ZTEST
    help
      This rule will call z_test_1cpu_start before each unit test and
      ztest_1cpu_stop after each test.

(The ‘depends on’ condition includes propagated dependencies from ifs and menus.)