<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Mar 11, 2016 at 4:21 AM, Ángel Esquinas Fernández <span dir="ltr"><<a href="mailto:aesquinas@fentiss.com" target="_blank">aesquinas@fentiss.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div style="word-wrap:break-word"><br><div>Hi all,<br><font color="#5856d6"><br></font>I have been testing a rtems 4.11 for ARM based platform. But I found that the spintcritical test are failing.<br><font color="#5856d6"><br></font></div></div></blockquote><div>Which one? And which BSP?</div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div style="word-wrap:break-word"><div><font color="#5856d6"></font>I studied the test and the execution and I found that the test expect that THREAD_WAIT_STATE_INTEND_TO_BLOCK was set in thread wait flags.<br>But i found that THREAD_WAIT_STATE_BLOCKED is set instead. <br>So the test execution doesn’t stop.<br><font color="#5856d6"><br></font></div></div></blockquote><div>These are defined in rtems/cpukit/score/include/rtems/score/statesimpl.h<br></div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div style="word-wrap:break-word"><div><font color="#5856d6"></font>I haven’t found information about these flags, <br>Could you help me with those flags and what it is the behaviour expected?<br><font color="#5856d6"><br></font></div></div></blockquote><div>Without knowing the exact test, it is hard to say beyond the test is trying to </div><div>cause an interrupt that unblocks a task (maybe releases a resource) while </div><div>a task is attempting to block (maybe on the same resource).</div><div><br></div><div>The exact combination of task level and ISR level actions vary by task.</div><div><br></div><div>Also some of the spintrcritical tests are hard to get to trigger the conditions. The</div><div>tests are trying to generate an interrupt that occurs during a relatively small</div><div>window.</div><div><br></div><div>--joel</div><div><br></div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div style="word-wrap:break-word"><div><font color="#5856d6"></font>Thanks in advance<br><font color="#5856d6"><br></font>Best regards,<br>Angel<br></div></div><br>_______________________________________________<br>
users mailing list<br>
<a href="mailto:users@rtems.org">users@rtems.org</a><br>
<a href="http://lists.rtems.org/mailman/listinfo/users" rel="noreferrer" target="_blank">http://lists.rtems.org/mailman/listinfo/users</a><br></blockquote></div><br></div></div>