<meta http-equiv="Content-Type" content="text/html; charset=utf-8"><div dir="ltr"><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, Aug 17, 2023 at 7:25 PM Chris Johns <<a href="mailto:chrisj@rtems.org">chrisj@rtems.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">On 17/8/2023 10:43 pm, Kinsey Moore wrote:<br>
> On Wed, Aug 16, 2023 at 9:47 PM Chris Johns <<a href="mailto:chrisj@rtems.org" target="_blank">chrisj@rtems.org</a><br>
> <mailto:<a href="mailto:chrisj@rtems.org" target="_blank">chrisj@rtems.org</a>>> wrote:<br>
> <br>
> On 17/8/2023 7:36 am, Kinsey Moore wrote:<br>
> > Before the fatal-error test result type was introduced, minimum.exe was<br>
> > classified as an invalid test since it lacked a proper test header and<br>
> > trailer. This applies the test exclusions to all test states to avoid<br>
> > this happening again in the future.<br>
> <br>
> I do not think this right. What state are you seeing?<br>
> <br>
> <br>
> The minimum test fails with a fatal error:<br>
> "*** FATAL ***",<br>
> "fatal source: 0 (INTERNAL_ERROR_CORE)",<br>
> "fatal code: 5 (INTERNAL_ERROR_THREAD_EXITTED)",<br>
> "RTEMS version: 6.0.0.c76c98c344d803fa80361884c4cc79f0b3607ec8",<br>
> "RTEMS tools: 12.3.1 20230626 (RTEMS 6, RSB<br>
> 8e568b2ca3489d6bfa48e1d29618ea9b48a5b408, Newlib 4c7d0df)",<br>
> "executing thread ID: 0x09010001",<br>
> <br>
> As far as I'm aware, this is a normal exit for minimum since it does nothing<br>
> which includes not properly exiting the test by allowing Init() to return.<br>
> <br>
> <br>
> While we cannot determine the pass state because there is no end message we can<br>
> determine if the test has timed out or is too long and they should be a fail.<br>
> <br>
> <br>
> This is not timing out or taking too long as per the above. I could move the<br>
> check to cover just the invalid/fatal-error checks instead of all of them if you<br>
> prefer.<br>
<br>
This looks to me like an issue in minimum and it looks to me like minimal has<br>
some other issue. What is printing out the message? If there is code in minimal<br>
to print this error then why not print a normal test start and end banner?<br>
<br>
My understanding is minimal has not means to output anything.<br></blockquote><div><br></div><div><div>It seems to be intentional:</div><div>static void *Init( uintptr_t ignored )<br>{<br> /* initialize application */<br><br> /* Real application would call idle loop functionality */<br><br> /* but in this case, just return and fall into a fatal error */<br><br> return NULL;<br>}</div><div><br></div><div>Even if no console is requested (not even simple console), BSP_output_char is still available.</div><div><br></div><div>Kinsey</div> </div></div></div>