[PATCH 2/3] testsuite: User input define added
Moyano, Gabriel
gabriel.moyano at dlr.de
Tue Mar 31 08:57:55 UTC 2020
---
testsuite/arphole/test_main.c | 1 +
testsuite/debugger01/test_main.c | 1 +
testsuite/evdev01/init.c | 3 ++-
testsuite/foobarclient/test_main.c | 1 +
testsuite/foobarserver/test_main.c | 1 +
testsuite/ftpd01/test_main.c | 1 +
testsuite/ipsec01/test_main.c | 1 +
testsuite/media01/test_main.c | 1 +
testsuite/netshell01/test_main.c | 1 +
testsuite/nfs01/test_main.c | 1 +
testsuite/pf02/test_main.c | 1 +
testsuite/ppp01/test_main.c | 1 +
testsuite/telnetd01/test_main.c | 1 +
testsuite/termios/test_main.c | 1 +
testsuite/usb01/init.c | 3 ++-
testsuite/usbkbd01/init.c | 3 ++-
testsuite/usbmouse01/init.c | 3 ++-
testsuite/usbserial01/init.c | 3 ++-
testsuite/zerocopy01/test_main.c | 1 +
19 files changed, 24 insertions(+), 5 deletions(-)
diff --git a/testsuite/arphole/test_main.c b/testsuite/arphole/test_main.c
index 19d67b89..45a28cc0 100644
--- a/testsuite/arphole/test_main.c
+++ b/testsuite/arphole/test_main.c
@@ -54,6 +54,7 @@
#include <rtems/bsd/util.h>
#define TEST_NAME "LIBBSD ARP HOLE"
+#define TEST_STATE_USER_INPUT 1
typedef struct {
struct ether_header eh;
diff --git a/testsuite/debugger01/test_main.c b/testsuite/debugger01/test_main.c
index 6a4095c8..777e8a76 100644
--- a/testsuite/debugger01/test_main.c
+++ b/testsuite/debugger01/test_main.c
@@ -35,6 +35,7 @@
#include <rtems/rtems-debugger-remote-tcp.h>
#define TEST_NAME "LIBBSD DEBUGGER 1"
+#define TEST_STATE_USER_INPUT 1
extern rtems_shell_cmd_t rtems_shell_DEBUGGER_Command;
diff --git a/testsuite/evdev01/init.c b/testsuite/evdev01/init.c
index 7e55d727..af375ee4 100644
--- a/testsuite/evdev01/init.c
+++ b/testsuite/evdev01/init.c
@@ -39,9 +39,10 @@
#include <rtems/console.h>
#include <rtems/shell.h>
#include <rtems/bsd/bsd.h>
-#include <rtems/test.h>
#define TEST_NAME "LIBBSD EVDEV"
+#define TEST_STATE_USER_INPUT 1
+#include <rtems/test.h>
#define PRIO_OPEN (RTEMS_MAXIMUM_PRIORITY - 12)
#define PRIO_KEYBOARD (RTEMS_MAXIMUM_PRIORITY - 11)
diff --git a/testsuite/foobarclient/test_main.c b/testsuite/foobarclient/test_main.c
index e2e017f1..85007ee8 100644
--- a/testsuite/foobarclient/test_main.c
+++ b/testsuite/foobarclient/test_main.c
@@ -47,6 +47,7 @@
#include <rtems/mdns.h>
#define TEST_NAME "LIBBSD FOOBAR CLIENT"
+#define TEST_STATE_USER_INPUT 1
static CacheEntity rr_cache[64];
diff --git a/testsuite/foobarserver/test_main.c b/testsuite/foobarserver/test_main.c
index f00a1030..a239a561 100644
--- a/testsuite/foobarserver/test_main.c
+++ b/testsuite/foobarserver/test_main.c
@@ -47,6 +47,7 @@
#include <pthread.h>
#define TEST_NAME "LIBBSD FOOBAR SERVER"
+#define TEST_STATE_USER_INPUT 1
#define FOOBAR_PORT_BEGIN 10815
diff --git a/testsuite/ftpd01/test_main.c b/testsuite/ftpd01/test_main.c
index 76e64f9c..98eb47ef 100644
--- a/testsuite/ftpd01/test_main.c
+++ b/testsuite/ftpd01/test_main.c
@@ -37,6 +37,7 @@
#include <rtems/console.h>
#define TEST_NAME "LIBBSD FTPD 1"
+#define TEST_STATE_USER_INPUT 1
struct rtems_ftpd_configuration rtems_ftpd_configuration = {
/* FTPD task priority */
diff --git a/testsuite/ipsec01/test_main.c b/testsuite/ipsec01/test_main.c
index 4bce3be7..651a4056 100644
--- a/testsuite/ipsec01/test_main.c
+++ b/testsuite/ipsec01/test_main.c
@@ -30,6 +30,7 @@
*/
#define TEST_NAME "LIBBSD IPSEC 1"
+#define TEST_STATE_USER_INPUT 1
#include <stdio.h>
#include <stdlib.h>
diff --git a/testsuite/media01/test_main.c b/testsuite/media01/test_main.c
index 732f34e9..942664cd 100644
--- a/testsuite/media01/test_main.c
+++ b/testsuite/media01/test_main.c
@@ -46,6 +46,7 @@
#include <rtems/telnetd.h>
#define TEST_NAME "LIBBSD MEDIA 1"
+#define TEST_STATE_USER_INPUT 1
struct rtems_ftpd_configuration rtems_ftpd_configuration = {
/* FTPD task priority */
diff --git a/testsuite/netshell01/test_main.c b/testsuite/netshell01/test_main.c
index 5fda46c2..13d8a31c 100644
--- a/testsuite/netshell01/test_main.c
+++ b/testsuite/netshell01/test_main.c
@@ -41,6 +41,7 @@
#include <rtems/termiostypes.h>
#define TEST_NAME "LIBBSD NETSHELL 1"
+#define TEST_STATE_USER_INPUT 1
static void
change_serial_settings(int fd, const struct termios *current, bool icanon)
diff --git a/testsuite/nfs01/test_main.c b/testsuite/nfs01/test_main.c
index 37d48ac4..d50edc37 100644
--- a/testsuite/nfs01/test_main.c
+++ b/testsuite/nfs01/test_main.c
@@ -40,6 +40,7 @@
#include <rtems/bsd/test/network-config.h>
#define TEST_NAME "LIBBSD NFS 1"
+#define TEST_STATE_USER_INPUT 1
static void
test_main(void)
diff --git a/testsuite/pf02/test_main.c b/testsuite/pf02/test_main.c
index 98c512b1..3e71ebb4 100644
--- a/testsuite/pf02/test_main.c
+++ b/testsuite/pf02/test_main.c
@@ -39,6 +39,7 @@
#include <rtems/shell.h>
#define TEST_NAME "LIBBSD PF 2"
+#define TEST_STATE_USER_INPUT 1
/* Block all input except telnet. */
#define ETC_PF_CONF "/etc/pf.conf"
diff --git a/testsuite/ppp01/test_main.c b/testsuite/ppp01/test_main.c
index b01f6796..550039e9 100644
--- a/testsuite/ppp01/test_main.c
+++ b/testsuite/ppp01/test_main.c
@@ -59,6 +59,7 @@
#include <rtems/rtemspppd.h>
#define TEST_NAME "LIBBSD PPP 1"
+#define TEST_STATE_USER_INPUT 1
#ifndef RTEMS_SMP
diff --git a/testsuite/telnetd01/test_main.c b/testsuite/telnetd01/test_main.c
index 489f2440..8fca493e 100644
--- a/testsuite/telnetd01/test_main.c
+++ b/testsuite/telnetd01/test_main.c
@@ -37,6 +37,7 @@
#include <rtems/telnetd.h>
#define TEST_NAME "LIBBSD TELNETD 1"
+#define TEST_STATE_USER_INPUT 1
static void
telnet_shell(char *name, void *arg)
diff --git a/testsuite/termios/test_main.c b/testsuite/termios/test_main.c
index e188ca45..68a15c6f 100644
--- a/testsuite/termios/test_main.c
+++ b/testsuite/termios/test_main.c
@@ -21,6 +21,7 @@
#include "test_termios_driver.h"
#define TEST_NAME "LIBBSD TERMIOS"
+#define TEST_STATE_USER_INPUT 1
/* forward declarations to avoid warnings */
void print_32bits(unsigned long bits, unsigned char size, char * names[]);
diff --git a/testsuite/usb01/init.c b/testsuite/usb01/init.c
index 438a0541..c719e193 100644
--- a/testsuite/usb01/init.c
+++ b/testsuite/usb01/init.c
@@ -38,9 +38,10 @@
#include <rtems/media.h>
#include <rtems/shell.h>
#include <rtems/bsd/bsd.h>
-#include <rtems/test.h>
#define TEST_NAME "LIBBSD USB 1"
+#define TEST_STATE_USER_INPUT 1
+#include <rtems/test.h>
static rtems_status_code
media_listener(rtems_media_event event, rtems_media_state state,
diff --git a/testsuite/usbkbd01/init.c b/testsuite/usbkbd01/init.c
index d7927a6e..e6fe2560 100644
--- a/testsuite/usbkbd01/init.c
+++ b/testsuite/usbkbd01/init.c
@@ -34,9 +34,10 @@
#include <rtems/console.h>
#include <rtems/shell.h>
#include <rtems/bsd/bsd.h>
-#include <rtems/test.h>
#define TEST_NAME "LIBBSD USB KEYBOARD"
+#define TEST_STATE_USER_INPUT 1
+#include <rtems/test.h>
#define USB_SERIAL_TEST_BUFFER_SIZE 48
#define PRIO_OPEN (RTEMS_MAXIMUM_PRIORITY - 12)
diff --git a/testsuite/usbmouse01/init.c b/testsuite/usbmouse01/init.c
index 39432dd8..4d33241d 100644
--- a/testsuite/usbmouse01/init.c
+++ b/testsuite/usbmouse01/init.c
@@ -39,9 +39,10 @@
#include <rtems/console.h>
#include <rtems/shell.h>
#include <rtems/bsd/bsd.h>
-#include <rtems/test.h>
#define TEST_NAME "LIBBSD USB MOUSE"
+#define TEST_STATE_USER_INPUT 1
+#include <rtems/test.h>
#define USB_SERIAL_TEST_BUFFER_SIZE 48
#define PRIO_OPEN (RTEMS_MAXIMUM_PRIORITY - 12)
diff --git a/testsuite/usbserial01/init.c b/testsuite/usbserial01/init.c
index 6afef59f..ef3a45f6 100644
--- a/testsuite/usbserial01/init.c
+++ b/testsuite/usbserial01/init.c
@@ -35,9 +35,10 @@
#include <rtems/console.h>
#include <rtems/shell.h>
#include <rtems/bsd/bsd.h>
-#include <rtems/test.h>
#define TEST_NAME "LIBBSD USB SERIAL"
+#define TEST_STATE_USER_INPUT 1
+#include <rtems/test.h>
#define USB_SERIAL_TEST_BUFFER_SIZE 48
#define PRIO_OPEN (RTEMS_MAXIMUM_PRIORITY - 12)
diff --git a/testsuite/zerocopy01/test_main.c b/testsuite/zerocopy01/test_main.c
index e528257f..54051259 100644
--- a/testsuite/zerocopy01/test_main.c
+++ b/testsuite/zerocopy01/test_main.c
@@ -57,6 +57,7 @@
#include <rtems/bsd/test/network-config.h>
#define TEST_NAME "LIBBSD ZEROCOPY 1"
+#define TEST_STATE_USER_INPUT 1
#define BUFFER_COUNT 128
--
2.12.3
More information about the devel
mailing list