rtems_test_end()/TEST_END() issues

Sebastian Huber sebastian.huber at embedded-brains.de
Fri May 16 12:09:01 UTC 2014


Hello Joel,

I think this rtems_test_* stuff is a hack.  What we really need in the long run 
is a proper test framework.

On 2014-05-15 17:53, Joel Sherrill wrote:
> Hi
>
> Some tests call rtems_test_end() directly. I haven't
> checked all but some just need to change to call
> TEST_END().
>
> But the samples may need to follow their own rules.
>
> And the block* tests appear to have their own TEST_END()
> macro in bdbuf_tests.h.  And it calls rtems_test_end() or
> rtems_test_endk() directly.

I converted this mostly using some scripts.  The goal was to use TEST_END() as 
much as possible.

>
> This started with an examination of leon3 test output.
> At least sp39 can exit with a "END OF" message and
> a failure message. That needs to be fixed and is pretty
> easy.

Yes, tests printing "END OF" in case of a test failure are broken.

>
> Any thoughts on all this?
>


-- 
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.



More information about the devel mailing list