mirror of
https://git.rtems.org/rtems-libbsd/
synced 2025-10-15 20:21:19 +08:00
testsuite: Update due to API changes
This commit is contained in:
@@ -22,10 +22,10 @@ static void default_set_self_prio( rtems_task_priority prio )
|
|||||||
|
|
||||||
static void default_on_exit( int exit_code, void *arg )
|
static void default_on_exit( int exit_code, void *arg )
|
||||||
{
|
{
|
||||||
rtems_stack_checker_report_usage_with_plugin(
|
rtems_printer printer;
|
||||||
NULL,
|
|
||||||
rtems_printf_plugin
|
rtems_print_printer_printf(&printer);
|
||||||
);
|
rtems_stack_checker_report_usage_with_plugin(&printer);
|
||||||
|
|
||||||
if ( exit_code == 0 ) {
|
if ( exit_code == 0 ) {
|
||||||
puts( "*** END OF TEST " TEST_NAME " ***" );
|
puts( "*** END OF TEST " TEST_NAME " ***" );
|
||||||
|
@@ -214,9 +214,12 @@ default_network_dhcpcd(void)
|
|||||||
static void
|
static void
|
||||||
default_network_on_exit(int exit_code, void *arg)
|
default_network_on_exit(int exit_code, void *arg)
|
||||||
{
|
{
|
||||||
|
rtems_printer printer;
|
||||||
|
|
||||||
(void)arg;
|
(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) {
|
if (exit_code == 0) {
|
||||||
puts("*** END OF TEST " TEST_NAME " ***");
|
puts("*** END OF TEST " TEST_NAME " ***");
|
||||||
|
Reference in New Issue
Block a user