libtests/devfs: Use printk()

This avoids problems with console drivers that use generic nodes of the
IMFS.
This commit is contained in:
Sebastian Huber
2016-09-19 07:52:33 +02:00
parent caf4064680
commit 610b9ef120
3 changed files with 5 additions and 5 deletions
+1 -1
View File
@@ -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
+2 -2
View File
@@ -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
+2 -2
View File
@@ -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