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.hu...@embedded-brains.de
PGP : Public key available on request.
Diese Nachricht ist keine geschäftliche Mitteilung im Sinne des EHUG.
_______________________________________________
rtems-devel mailing list
rtems-devel@rtems.org
http://www.rtems.org/mailman/listinfo/rtems-devel