testsuite: Update due to API changes

This commit is contained in:
Sebastian Huber
2016-05-25 13:10:22 +02:00
parent 9546d905c2
commit 92e9493726
2 changed files with 9 additions and 6 deletions

View File

@@ -22,10 +22,10 @@ static void default_set_self_prio( rtems_task_priority prio )
static void default_on_exit( int exit_code, void *arg )
{
rtems_stack_checker_report_usage_with_plugin(
NULL,
rtems_printf_plugin
);
rtems_printer printer;
rtems_print_printer_printf(&printer);
rtems_stack_checker_report_usage_with_plugin(&printer);
if ( exit_code == 0 ) {
puts( "*** END OF TEST " TEST_NAME " ***" );

View File

@@ -214,9 +214,12 @@ default_network_dhcpcd(void)
static void
default_network_on_exit(int exit_code, void *arg)
{
rtems_printer printer;
(void)arg;
rtems_stack_checker_report_usage_with_plugin(NULL,
rtems_printf_plugin);
rtems_print_printer_printf(&printer);
rtems_stack_checker_report_usage_with_plugin(&printer);
if (exit_code == 0) {
puts("*** END OF TEST " TEST_NAME " ***");