[rtems commit] tests/fatal: Fix test names

Sebastian Huber sebh at rtems.org
Mon Mar 31 08:09:15 UTC 2014


Module:    rtems
Branch:    master
Commit:    ecd8c8add299197a05376e498f3a9063de40d00b
Changeset: http://git.rtems.org/rtems/commit/?id=ecd8c8add299197a05376e498f3a9063de40d00b

Author:    Sebastian Huber <sebastian.huber at embedded-brains.de>
Date:      Fri Mar 28 11:58:20 2014 +0100

tests/fatal: Fix test names

---

 testsuites/libtests/devnullfatal01/testcase.h |    2 +-
 testsuites/psxtests/psxfatal_support/init.c   |    2 +-
 testsuites/sptests/spfatal22/testcase.h       |    2 +-
 testsuites/sptests/spfatal27/testcase.h       |    2 +-
 testsuites/sptests/spfatal_support/init.c     |    2 +-
 5 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/testsuites/libtests/devnullfatal01/testcase.h b/testsuites/libtests/devnullfatal01/testcase.h
index a7e8c62..87a098e 100644
--- a/testsuites/libtests/devnullfatal01/testcase.h
+++ b/testsuites/libtests/devnullfatal01/testcase.h
@@ -7,7 +7,7 @@
  *  http://www.rtems.org/license/LICENSE.
  */
 
-#define FATAL_ERROR_TEST_NAME            "/DEV/NULL FATAL 01"
+#define FATAL_ERROR_TEST_NAME            "/DEV/NULL 1"
 #define FATAL_ERROR_DESCRIPTION          "/dev/null already registered"
 #define FATAL_ERROR_EXPECTED_SOURCE      INTERNAL_ERROR_RTEMS_API
 #define FATAL_ERROR_EXPECTED_IS_INTERNAL FALSE
diff --git a/testsuites/psxtests/psxfatal_support/init.c b/testsuites/psxtests/psxfatal_support/init.c
index edbba48..350b3a2 100644
--- a/testsuites/psxtests/psxfatal_support/init.c
+++ b/testsuites/psxtests/psxfatal_support/init.c
@@ -14,7 +14,7 @@
 #define CONFIGURE_INIT
 #include "system.h"
 
-const char rtems_test_name[] = FATAL_ERROR_TEST_NAME;
+const char rtems_test_name[] = "PSXFATAL " FATAL_ERROR_TEST_NAME;
 
 static void print_test_begin_message(void)
 {
diff --git a/testsuites/sptests/spfatal22/testcase.h b/testsuites/sptests/spfatal22/testcase.h
index d0bb9fa..195b7ec 100644
--- a/testsuites/sptests/spfatal22/testcase.h
+++ b/testsuites/sptests/spfatal22/testcase.h
@@ -7,7 +7,7 @@
  *  http://www.rtems.org/license/LICENSE.
  */
 
-#define FATAL_ERROR_TEST_NAME            "FATAL 22"
+#define FATAL_ERROR_TEST_NAME            "22"
 #define FATAL_ERROR_DESCRIPTION          "libio init out of memory"
 #define FATAL_ERROR_EXPECTED_SOURCE      INTERNAL_ERROR_RTEMS_API
 #define FATAL_ERROR_EXPECTED_IS_INTERNAL FALSE
diff --git a/testsuites/sptests/spfatal27/testcase.h b/testsuites/sptests/spfatal27/testcase.h
index 4dc4f9d..29ef327 100644
--- a/testsuites/sptests/spfatal27/testcase.h
+++ b/testsuites/sptests/spfatal27/testcase.h
@@ -12,7 +12,7 @@
  * http://www.rtems.org/license/LICENSE.
  */
 
-#define FATAL_ERROR_TEST_NAME            "FATAL 27"
+#define FATAL_ERROR_TEST_NAME            "27"
 #define FATAL_ERROR_DESCRIPTION          "libio init no posix key left"
 #define FATAL_ERROR_EXPECTED_SOURCE      INTERNAL_ERROR_RTEMS_API
 #define FATAL_ERROR_EXPECTED_IS_INTERNAL FALSE
diff --git a/testsuites/sptests/spfatal_support/init.c b/testsuites/sptests/spfatal_support/init.c
index 5f390ad..1052da4 100644
--- a/testsuites/sptests/spfatal_support/init.c
+++ b/testsuites/sptests/spfatal_support/init.c
@@ -14,7 +14,7 @@
 #define CONFIGURE_INIT
 #include "system.h"
 
-const char rtems_test_name[] = FATAL_ERROR_TEST_NAME;
+const char rtems_test_name[] = "SPFATAL " FATAL_ERROR_TEST_NAME;
 
 static void print_test_begin_message(void)
 {




More information about the vc mailing list