zephyr/tests/lib
Kumar Gala a1195ae39b smp: Move for loops to use arch_num_cpus instead of CONFIG_MP_NUM_CPUS
Change for loops of the form:

for (i = 0; i < CONFIG_MP_NUM_CPUS; i++)
   ...

to

unsigned int num_cpus = arch_num_cpus();
for (i = 0; i < num_cpus; i++)
   ...

We do the call outside of the for loop so that it only happens once,
rather than on every iteration.

Signed-off-by: Kumar Gala <kumar.gala@intel.com>
2022-10-21 13:14:58 +02:00
..
c_lib ztest: remove the obsolete NULL appended to zassert macros 2022-09-09 07:05:38 -04:00
cbprintf_fp tests: Add picolibc tests 2022-06-22 13:15:55 +02:00
cbprintf_package trivial: Remove empty files 2022-09-30 09:41:55 +00:00
cmsis_dsp tests: cmsis_dsp: MVE correlate out-of-bounds access workaround 2022-10-20 22:12:42 +09:00
cmsis_nn includes: prefer <zephyr/kernel.h> over <zephyr/zephyr.h> 2022-09-05 16:31:47 +02:00
devicetree tests: devicetree: device: Add bl5340 and bt610 exclusions 2022-10-19 10:46:53 +02:00
fdtable ztest: remove the obsolete NULL appended to zassert macros 2022-09-09 07:05:38 -04:00
gui/lvgl tests: lib: gui: lvgl: Switch to FIXED_PARTITION_ macros 2022-09-06 09:56:37 +02:00
heap includes: prefer <zephyr/kernel.h> over <zephyr/zephyr.h> 2022-09-05 16:31:47 +02:00
heap_align tests: lib: add a tag to uniquely identify mem_blocks test 2022-09-26 08:11:13 +00:00
json test: fix more legacy #include paths 2022-08-02 16:41:41 +01:00
mem_alloc tests: Remove explicit newlib nano override 2022-10-19 16:02:51 +02:00
mem_blocks tests: mem_blocks: remove board configs using dma logging 2022-09-26 10:53:43 +00:00
mem_blocks_stats tests: lib: add a tag to uniquely identify mem_blocks test 2022-09-26 08:11:13 +00:00
mpsc_pbuf ztest: improve some tests 2022-09-09 07:05:38 -04:00
newlib tests: Remove explicit newlib nano override 2022-10-19 16:02:51 +02:00
notify lib: notify: build sys-notify conditionally. 2022-10-03 10:18:15 +02:00
onoff lib: onoff: add a config for on-off and build conditionally 2022-10-03 10:18:15 +02:00
p4workq smp: Move for loops to use arch_num_cpus instead of CONFIG_MP_NUM_CPUS 2022-10-21 13:14:58 +02:00
ringbuffer tests: move to using CONFIG_MP_MAX_NUM_CPUS 2022-10-20 22:04:10 +09:00
smf includes: prefer <zephyr/kernel.h> over <zephyr/zephyr.h> 2022-09-05 16:31:47 +02:00
sprintf tests: lib: sprintf: migrating lib tests to new ZTEST API 2022-08-19 20:45:19 +00:00
spsc_pbuf ztest: remove the obsolete NULL appended to zassert macros 2022-09-09 07:05:38 -04:00
sys_util tests: lib: sysutil: migrating lib tests to new ZTEST API 2022-08-19 20:45:19 +00:00
time test: fix more legacy #include paths 2022-08-02 16:41:41 +01:00
uoscore includes: prefer <zephyr/kernel.h> over <zephyr/zephyr.h> 2022-09-05 16:31:47 +02:00