>> >> +++ 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?
Ok, updating CAN_ERR to printf. Regards Prashanth S
_______________________________________________ devel mailing list devel@rtems.org http://lists.rtems.org/mailman/listinfo/devel