[net-legacy PATCH] tests: Add header for RTEMS test printer

Gedare Bloom gedare at rtems.org
Thu Oct 5 14:55:22 UTC 2023


OK

On Wed, Oct 4, 2023 at 4:13 PM <chrisj at rtems.org> wrote:
>
> From: Chris Johns <chrisj at rtems.org>
>
> ---
>  libtest/testbeginend.c     | 1 +
>  libtest/testwrappers.c     | 1 +
>  testsuites/loopback/init.c | 1 +
>  testsuites/pppd/init.c     | 4 +++-
>  4 files changed, 6 insertions(+), 1 deletion(-)
>
> diff --git a/libtest/testbeginend.c b/libtest/testbeginend.c
> index 89b2468..83f1d3c 100644
> --- a/libtest/testbeginend.c
> +++ b/libtest/testbeginend.c
> @@ -19,6 +19,7 @@
>  #endif
>
>  #include <rtems/test-info.h>
> +#include <rtems/test-printer.h>
>  #include <rtems/bspIo.h>
>  #include <rtems/version.h>
>
> diff --git a/libtest/testwrappers.c b/libtest/testwrappers.c
> index 9679f75..052ebf8 100644
> --- a/libtest/testwrappers.c
> +++ b/libtest/testwrappers.c
> @@ -11,6 +11,7 @@
>  #endif
>
>  #include <rtems/test-info.h>
> +#include <rtems/test-printer.h>
>
>  int __wrap_printf(const char* format, ...);
>  int __wrap_puts(const char *str);
> diff --git a/testsuites/loopback/init.c b/testsuites/loopback/init.c
> index 891225c..d2aafcc 100644
> --- a/testsuites/loopback/init.c
> +++ b/testsuites/loopback/init.c
> @@ -8,6 +8,7 @@
>  #include "config.h"
>  #endif
>
> +#include <rtems/test-printer.h>
>  #include <tmacros.h>
>
>  const char rtems_test_name[] = "LOOPBACK";
> diff --git a/testsuites/pppd/init.c b/testsuites/pppd/init.c
> index 95e0d53..12a57e0 100644
> --- a/testsuites/pppd/init.c
> +++ b/testsuites/pppd/init.c
> @@ -21,9 +21,11 @@
>  #include <rtems/rtems_bsdnet.h>
>  #include <rtems/rtemspppd.h>
>  #include <rtems/shell.h>
> -#include "netconfig.h"
> +#include <rtems/test-printer.h>
>  #include <tmacros.h>
>
> +#include "netconfig.h"
> +
>  const char rtems_test_name[] = "PPPD";
>
>  static void notification(int fd, int seconds_remaining, void *arg)
> --
> 2.37.1
>
> _______________________________________________
> devel mailing list
> devel at rtems.org
> http://lists.rtems.org/mailman/listinfo/devel


More information about the devel mailing list