zephyr/tests/kernel
Nicolas Pitre 91e8a17be4 tests/semaphore: fix "cpu test took too long" assertion failure
The SMP config for RISC-V on QEMU triggers this:

|START - test_sem_queue_mutual_exclusion
|
|Assertion failed at
| WEST_TOPDIR/zephyr/subsys/testsuite/ztest/src/ztest_new.c:155:
| cpu_hold: (dt < 3000 is false)
|1cpu test took too long (4090 ms)
|ERROR: cannot fail in test 'after()', bailing

Looping 10000 times is maybe a bit excessive.

Signed-off-by: Nicolas Pitre <npitre@baylibre.com>
2022-09-28 07:53:56 +00:00
..
common tests: kernel: common: remove the nop test case 2022-09-21 13:38:09 -05:00
condvar/condvar_api test: fix more legacy #include paths 2022-08-02 16:41:41 +01:00
context tests: kernel: context: move to new ztest API 2022-08-04 13:42:47 +02:00
device ztest: improve some tests 2022-09-09 07:05:38 -04:00
early_sleep tests: kernel: early_sleep: move to new ztest API 2022-08-23 20:57:04 -04:00
events ztest: remove the obsolete NULL appended to zassert macros 2022-09-09 07:05:38 -04:00
fatal includes: prefer <zephyr/kernel.h> over <zephyr/zephyr.h> 2022-09-05 16:31:47 +02:00
fifo ztest: remove the obsolete NULL appended to zassert macros 2022-09-09 07:05:38 -04:00
fpu_sharing ztest: remove the obsolete NULL appended to zassert macros 2022-09-09 07:05:38 -04:00
gen_isr_table Revert "tests: kernel: gen_isr_table: Disable RISC-V direct ISR test" 2022-09-08 10:39:31 +02:00
interrupt Revert "tests: kernel: interrupt: Disable on ARM64 QEMU targets" 2022-09-23 12:10:25 +02:00
lifo ztest: improve some tests 2022-09-09 07:05:38 -04:00
mbox ztest: remove the obsolete NULL appended to zassert macros 2022-09-09 07:05:38 -04:00
mem_heap ztest: remove the obsolete NULL appended to zassert macros 2022-09-09 07:05:38 -04:00
mem_protect tests: mem_protect: sys_sem: move a test case to new ztest API 2022-09-22 16:42:51 +00:00
mem_slab ztest: remove the obsolete NULL appended to zassert macros 2022-09-09 07:05:38 -04:00
mp tests: kernel: move the multiprocessing test to new ztest 2022-08-11 12:19:59 +02:00
msgq ztest: remove the obsolete NULL appended to zassert macros 2022-09-09 07:05:38 -04:00
mutex ztest: remove the obsolete NULL appended to zassert macros 2022-09-09 07:05:38 -04:00
obj_tracking tests: Add CONFIG_PIPES to tests that use pipes 2022-08-17 19:31:25 +02:00
pending test: fix more legacy #include paths 2022-08-02 16:41:41 +01:00
pipe ztest: remove the obsolete NULL appended to zassert macros 2022-09-09 07:05:38 -04:00
poll ztest: remove the obsolete NULL appended to zassert macros 2022-09-09 07:05:38 -04:00
profiling/profiling_api test: fix more legacy #include paths 2022-08-02 16:41:41 +01:00
queue ztest: remove the obsolete NULL appended to zassert macros 2022-09-09 07:05:38 -04:00
sched ztest: remove the obsolete NULL appended to zassert macros 2022-09-09 07:05:38 -04:00
semaphore tests/semaphore: fix "cpu test took too long" assertion failure 2022-09-28 07:53:56 +00:00
sleep includes: prefer <zephyr/kernel.h> over <zephyr/zephyr.h> 2022-09-05 16:31:47 +02:00
smp tests/kernel/smp: Correct parameter name 2022-09-19 09:19:02 +02:00
smp_boot_delay includes: prefer <zephyr/kernel.h> over <zephyr/zephyr.h> 2022-09-05 16:31:47 +02:00
spinlock includes: prefer <zephyr/kernel.h> over <zephyr/zephyr.h> 2022-09-05 16:31:47 +02:00
stack/stack ztest: remove the obsolete NULL appended to zassert macros 2022-09-09 07:05:38 -04:00
threads ztest: remove the obsolete NULL appended to zassert macros 2022-09-09 07:05:38 -04:00
tickless/tickless_concept tests: kernel: tickless: Don't run on nucleo_l073rz 2022-09-21 18:39:07 +00:00
timer tests: timer_behavior: nsim_em is now marked as simulator 2022-09-26 16:49:58 +00:00
usage/thread_runtime_stats ztest: remove the obsolete NULL appended to zassert macros 2022-09-09 07:05:38 -04:00
workq tests: work_queue: initialize msg 2022-09-19 19:15:59 +00:00
xip test: fix more legacy #include paths 2022-08-02 16:41:41 +01:00