On 15/12/2022 08:19, Prashanth S wrote:
>> +++ b/testsuites/libtests/can01/init.c >> @@ -48,7 +48,7 @@ >> if (c3 == '9') { \ >> if (c2 == 'z') { \ >> if (c1 == 'z') { \>> - printf("not enough task letters for names !!!\n"); \ >> + CAN_ERR("not enough task letters for names !!!\n"); \> >I don't think the print statements need to be macro'd in your test, so >long as they only get printed when the test fails. When it's passing, >then we would prefer it be quiet. The CAN_ERR expands to printing the file name, line number, thread id and error message. Can we have this information printed by expanded macro or change to printf?
The RTEMS Test Framework does all this. Why do we have to implement things specifically for this test?
-- embedded brains GmbH Herr Sebastian HUBER Dornierstr. 4 82178 Puchheim Germany email: [email protected] phone: +49-89-18 94 741 - 16 fax: +49-89-18 94 741 - 08 Registergericht: Amtsgericht München Registernummer: HRB 157899 Vertretungsberechtigte Geschäftsführer: Peter Rasmussen, Thomas Dörfler Unsere Datenschutzerklärung finden Sie hier: https://embedded-brains.de/datenschutzerklaerung/ _______________________________________________ devel mailing list [email protected] http://lists.rtems.org/mailman/listinfo/devel
