[PATCH] [RTEMS] Update RTEMS thread model

Joel Sherrill joel.sherrill at oarcorp.com
Tue Sep 22 14:15:33 UTC 2015



On September 22, 2015 10:01:49 AM EDT, Aurelio Remonda <aurelio.remonda at tallertechnologies.com> wrote:
>Thank you Sebastian! We were able to reproduce the tests. 
>The test we were interested in was
>25_algorithms/random_shuffle/moveable, this one fails, as we saw in
>your results (and ours as well). We debugged it and find out that all
>three VERIFY pass (cout of the same line gave us 1, is an equal) but we
>didn't get the exit code 0 at the end of the simulation. Apparently,
>this is making DejaGNU think something's wrong.
>
>We find out that if we reduce the size of A (the array that contains
>the values being shuffled) the test runs correctly.
>

This change to the test needs to be discussed on the appropriate GCC mailing list with Sebastian and I cc'ed.

How large was it? When it works? Is it on the stack?

Gcc tests already accommodate small targets on some tests so there may be an existing define to test or the size really doesn't matter and can be reduced for all targets. These are normally acceptable options to the GCC community.

Or we might be able to change the stack of main() in our harness.

So simple but multiple ways to solve. Just need to figure out the best way.  


>
>On Fri, Sep 18, 2015 at 5:24 AM, Sebastian Huber
><sebastian.huber at embedded-brains.de> wrote:
>
>
>
>On 17/09/15 16:36, Aurelio Remonda wrote:
>
>It is printing the "real time" but the time is set to a date early
>>in the RTEMS development history. Look at the year. That's about the
>>time the test was initially written.
>>
>>It is likely running faster than "real time" because it is a
>simulator.
>>The numbers not ending in "5" is a bit unusual. The test consists of
>>four tasks:
>>
>>+ one runs every 5 seconds
>>+ one every 10
>>+ one every 15
>>+ IDLE
>>
>>It exits when one notices it has gone over 30 seconds.
>
>Thank you Joel! I have another question if you don't mind: where i can
>find the realview_pbx_a9_qemu.exp file?
>I can't find it in dejagnu/boards.
>
>
>Sorry, I check this file in.
>
>-- 
>Sebastian Huber, embedded brains GmbH
>
>Address : Dornierstr. 4, D-82178 Puchheim, Germany
>Phone   : +49 89 189 47 41-16
>Fax     : +49 89 189 47 41-09
>E-Mail  : sebastian.huber at embedded-brains.de
>PGP     : Public key available on request.
>
>Diese Nachricht ist keine geschäftliche Mitteilung im Sinne des EHUG.
>
>
>
>
>-- 
>
>Aurelio Remonda
>
>Software Engineer
>
>San Lorenzo 47, 3rd Floor, Office 5
>Córdoba, Argentina 
>Phone: +54-351-4217888 / 4218211
> 

--joel



More information about the devel mailing list