zephyr/tests/kernel
Eugeniy Paltsev ea8c4b91b5 tests: exception: workaround agressive optimization
The memset in the 'blow_up_stack' function can be optimized
away as it is called in the end of the function on the buffer
allocated on the stack (so it has 'no' effect on program
execution)

The 'stack_smasher' call can be optimized away as it's results
isn't used anywhere and stack_smasher function has no visible
side effects.

Fix that by disabling optimization on these functions.

Signed-off-by: Eugeniy Paltsev <Eugeniy.Paltsev@synopsys.com>
2020-10-06 11:41:23 -04:00
..
common tests: kernel/common: align time test with system tick 2020-09-29 10:47:03 +02:00
context tests: kernel: context: align timer init on ticks 2020-09-18 13:23:45 -05:00
device tests: device: update test case 2020-10-02 11:38:30 +02:00
early_sleep device: Const-ify all device driver instance pointers 2020-09-02 13:48:13 +02:00
fatal tests: exception: workaround agressive optimization 2020-10-06 11:41:23 -04:00
fifo tests: Apply IRQ offload API change 2020-09-02 13:48:13 +02:00
fpu_sharing tests: Apply dynamic IRQ API change 2020-09-02 13:48:13 +02:00
gen_isr_table toolchain: define __no_optimization attribute across toolchains 2020-10-06 11:41:23 -04:00
interrupt tests: Apply dynamic IRQ API change 2020-09-02 13:48:13 +02:00
lifo tests: Apply IRQ offload API change 2020-09-02 13:48:13 +02:00
mbox tests: mailbox: add new tests 2020-09-16 12:13:05 -04:00
mem_heap/mheap_api_concept tests: copyright message add year to the existing 2020-08-06 07:31:46 -04:00
mem_pool tests: Apply IRQ offload API change 2020-09-02 13:48:13 +02:00
mem_protect tests: mem_protect: avoid RO region access optimization 2020-10-06 11:41:23 -04:00
mem_slab tests: mem protection tests updated tags 2020-08-06 07:31:46 -04:00
mp tests/samples: add tags to some tests 2020-07-20 17:44:16 -04:00
msgq/msgq_api tests: Apply IRQ offload API change 2020-09-02 13:48:13 +02:00
mutex ztest: remove ztest_mem_domain 2020-08-26 20:35:02 -04:00
obj_tracing tests: kernel: remove ram restrictions 2020-06-09 23:36:16 -04:00
pending tests: kernel: remove ram restrictions 2020-06-09 23:36:16 -04:00
pipe Tests: Add and modify testcases for pipe. 2020-06-09 08:13:46 -04:00
poll sys: util: Added separator to FOR_EACH_ macros 2020-06-10 11:58:13 +02:00
profiling/profiling_api tests: explicitly disable HW Stack Protection when needed 2020-09-24 15:42:09 -05:00
queue tests: Apply IRQ offload API change 2020-09-02 13:48:13 +02:00
sched tests: preempt: workaround aggressive oprimization 2020-10-06 11:41:23 -04:00
semaphore/semaphore tests: Apply IRQ offload API change 2020-09-02 13:48:13 +02:00
sleep tests: kernel/sleep: increase maximum threshold for nRF51 2020-09-24 09:52:32 -05:00
smp tests: smp: improving the description for SMP test cases 2020-10-04 14:26:31 -07:00
spinlock tests: spinlock: fix occasional crash 2020-09-03 21:55:05 +02:00
stack/stack tests: kernel: stack: fix for memcmp with wrong length 2020-09-16 12:03:32 +02:00
threads tests: thread_stack: add idle stack size scenario 2020-09-30 14:11:59 -04:00
tickless tests: kernel: tickless: re-enabled test-suite for Qemu Cortex-M0 2020-06-24 18:04:17 -07:00
timer tests: kernel: timer: timer_api: reorder test_timer_remaining step 2020-09-24 13:26:27 -05:00
workq tests: work_queue: wait longer for expired triggering items 2020-10-05 14:36:33 -05:00
xip tests: xip: remove hack and add qemu_x86_xip 2020-07-30 12:25:37 +02:00