diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2016-09-19 07:51:07 +0200 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2016-09-19 07:52:33 +0200 |
commit | 610b9ef120d78461cd175c479a58f44b915bf1c9 (patch) | |
tree | dfab91a193ab3df78c7e41da6b91b4546a963ca1 | |
parent | caf406468072bb438b7591a869f00a36a1cb3b3b (diff) |
libtests/devfs: Use printk()
This avoids problems with console drivers that use generic nodes of the
IMFS.
-rw-r--r-- | testsuites/libtests/devfs01/init.c | 2 | ||||
-rw-r--r-- | testsuites/libtests/devfs02/init.c | 4 | ||||
-rw-r--r-- | testsuites/libtests/devfs04/init.c | 4 |
3 files changed, 5 insertions, 5 deletions
diff --git a/testsuites/libtests/devfs01/init.c b/testsuites/libtests/devfs01/init.c index ae1d3129a1..1bfae95e97 100644 --- a/testsuites/libtests/devfs01/init.c +++ b/testsuites/libtests/devfs01/init.c @@ -11,6 +11,7 @@ #include "config.h" #endif +#define TESTS_USE_PRINTK #include <tmacros.h> #include "test_support.h" #include <rtems/devfs.h> @@ -37,7 +38,6 @@ rtems_task Init( /* configuration information */ -#define CONFIGURE_APPLICATION_NEEDS_CONSOLE_DRIVER #define CONFIGURE_APPLICATION_NEEDS_CLOCK_DRIVER #define CONFIGURE_MAXIMUM_TASKS 1 diff --git a/testsuites/libtests/devfs02/init.c b/testsuites/libtests/devfs02/init.c index 28ed373fc7..95ea10ddd6 100644 --- a/testsuites/libtests/devfs02/init.c +++ b/testsuites/libtests/devfs02/init.c @@ -16,6 +16,7 @@ #include "test_support.h" +#define TESTS_USE_PRINTK #include <tmacros.h> #include <errno.h> #include <unistd.h> @@ -89,7 +90,6 @@ rtems_task Init( /* configuration information */ -#define CONFIGURE_APPLICATION_NEEDS_CONSOLE_DRIVER #define CONFIGURE_APPLICATION_NEEDS_CLOCK_DRIVER #define CONFIGURE_MAXIMUM_TASKS 1 @@ -97,7 +97,7 @@ rtems_task Init( #define CONFIGURE_RTEMS_INIT_TASKS_TABLE -#define CONFIGURE_LIBIO_MAXIMUM_FILE_DESCRIPTORS 5 +#define CONFIGURE_LIBIO_MAXIMUM_FILE_DESCRIPTORS 2 /* Make sure that we have enough devices for all BSPs */ #define CONFIGURE_MAXIMUM_DEVICES 64 diff --git a/testsuites/libtests/devfs04/init.c b/testsuites/libtests/devfs04/init.c index 4db2d9a455..707deeccbe 100644 --- a/testsuites/libtests/devfs04/init.c +++ b/testsuites/libtests/devfs04/init.c @@ -11,6 +11,7 @@ #include "config.h" #endif +#define TESTS_USE_PRINTK #include <tmacros.h> #include "test_support.h" #include <rtems/devfs.h> @@ -78,14 +79,13 @@ rtems_task Init( /* configuration information */ -#define CONFIGURE_APPLICATION_NEEDS_CONSOLE_DRIVER #define CONFIGURE_APPLICATION_NEEDS_CLOCK_DRIVER #define CONFIGURE_APPLICATION_EXTRA_DRIVERS TEST_DRIVER_TABLE_ENTRY /* include an extra slot for registering the termios one dynamically */ #define CONFIGURE_MAXIMUM_DRIVERS 3 -#define CONFIGURE_LIBIO_MAXIMUM_FILE_DESCRIPTORS 5 +#define CONFIGURE_LIBIO_MAXIMUM_FILE_DESCRIPTORS 2 #define CONFIGURE_MAXIMUM_TASKS 1 #define CONFIGURE_INITIAL_EXTENSIONS RTEMS_TEST_INITIAL_EXTENSION |