Pre-processor magic or test library?

Sebastian Huber sebastian.huber at embedded-brains.de
Sat Oct 28 11:42:35 UTC 2017


Hello,

we have currently some pre-processor magic to map the standard output functions to the RTEMS test printer. This works only if you include <tmacros.h> in every test file in the right spot. An alternative would be to use a separate library for all tests, e.g. librtemstest.a which provides puts(), printf(), fprintf(), etc. How do you think about 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  : [ http://lists.rtems.org/mailman/listinfo/devel | 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