Closed cinlyooi-intel closed 5 years ago
I think this is expected. Try to execute with CONFIG_HW_STACK_PROTECTION=y (I think it is set in the alternative prj.conf). You should expect not to see: "Test not passed".
@cinlyooi-intel building with:
cmake -DBOARD=frdm_k64f -DCONF_FILE=prj_stack_guard.conf ..
Will make the test pass as mentioned above. I can't reproduce HARD FAULT part.
@ioannisg : You are right. Examining sample.yaml says we are expecting the console output I am seeing.
@agansari : With CONF_FILE=prj_stack_guard.conf (sample.yaml's test_stack_guard testcase ) I don't see the Hard Fault
either. Hard Fault
only with "sample.yaml's test testcase"
I am closing this test case.
I am reopenning this because I noticed the "Test not passed" mentioned by @ianisg on the same line as "Canary = 0x0000000f". Missed that initially. I also only see that line with the "test" testcase, and not seeing it with the "test_stack_guard" testcase
I consider -DCONF_FILE=prj_stack_guard.conf case, i.e. sample.yaml's test_stack_guard testcase as a Pass because I am not seeing "Test not passed".
Also updated the title and bug description
Description For "test" Test case in sample.yaml, i.e. no prj_stack_guard.conf, we see
Test not passed
.To Reproduce Steps to reproduce the behavior:
Screenshots or console output
Environment (please complete the following information):