change log for rtems (2011-09-05)
rtems-vc at rtems.org
rtems-vc at rtems.org
Mon Sep 5 10:11:52 UTC 2011
*sh*:
2011-09-05 Sebastian Huber <sebastian.huber at embedded-brains.de>
* psxfatal01/psxfatal01.scn, psxfatal01/testcase.h,
psxfatal02/psxfatal02.scn, psxfatal02/testcase.h,
psxfatal_support/init.c: Print proper begin and end message.
M 1.354 testsuites/psxtests/ChangeLog
M 1.3 testsuites/psxtests/psxfatal01/psxfatal01.scn
M 1.3 testsuites/psxtests/psxfatal01/testcase.h
M 1.3 testsuites/psxtests/psxfatal02/psxfatal02.scn
M 1.4 testsuites/psxtests/psxfatal02/testcase.h
M 1.11 testsuites/psxtests/psxfatal_support/init.c
diff -u rtems/testsuites/psxtests/ChangeLog:1.353 rtems/testsuites/psxtests/ChangeLog:1.354
--- rtems/testsuites/psxtests/ChangeLog:1.353 Sun Aug 21 14:59:51 2011
+++ rtems/testsuites/psxtests/ChangeLog Mon Sep 5 04:49:52 2011
@@ -1,3 +1,9 @@
+2011-09-05 Sebastian Huber <sebastian.huber at embedded-brains.de>
+
+ * psxfatal01/psxfatal01.scn, psxfatal01/testcase.h,
+ psxfatal02/psxfatal02.scn, psxfatal02/testcase.h,
+ psxfatal_support/init.c: Print proper begin and end message.
+
2011-08-21 Joel Sherrill <joel.sherrilL at OARcorp.com>
PR 1890/cpukit
diff -u rtems/testsuites/psxtests/psxfatal01/psxfatal01.scn:1.2 rtems/testsuites/psxtests/psxfatal01/psxfatal01.scn:1.3
--- rtems/testsuites/psxtests/psxfatal01/psxfatal01.scn:1.2 Wed Jul 7 04:11:24 2010
+++ rtems/testsuites/psxtests/psxfatal01/psxfatal01.scn Mon Sep 5 04:49:52 2011
@@ -1,2 +1,3 @@
+*** TEST POSIX FATAL 1 ***
Fatal error (POSIX API Init thread create failure - NULL entry) hit
-*** END OF TEST ***
+*** END OF TEST POSIX FATAL 1 ***
diff -u rtems/testsuites/psxtests/psxfatal01/testcase.h:1.2 rtems/testsuites/psxtests/psxfatal01/testcase.h:1.3
--- rtems/testsuites/psxtests/psxfatal01/testcase.h:1.2 Sun Oct 25 01:25:04 2009
+++ rtems/testsuites/psxtests/psxfatal01/testcase.h Mon Sep 5 04:49:52 2011
@@ -24,6 +24,7 @@
sizeof(CONFIGURE_POSIX_INIT_THREAD_TABLE_NAME) / \
sizeof(posix_initialization_threads_table)
+#define FATAL_ERROR_TEST_NAME "1"
#define FATAL_ERROR_DESCRIPTION \
"POSIX API Init thread create failure - NULL entry"
#define FATAL_ERROR_EXPECTED_SOURCE INTERNAL_ERROR_POSIX_API
diff -u rtems/testsuites/psxtests/psxfatal02/psxfatal02.scn:1.2 rtems/testsuites/psxtests/psxfatal02/psxfatal02.scn:1.3
--- rtems/testsuites/psxtests/psxfatal02/psxfatal02.scn:1.2 Wed Jul 7 04:11:25 2010
+++ rtems/testsuites/psxtests/psxfatal02/psxfatal02.scn Mon Sep 5 04:49:52 2011
@@ -1,2 +1,3 @@
+*** TEST POSIX FATAL 2 ***
Fatal error (POSIX API Init thread create failure -- no memory for stack) hit
-*** END OF TEST ***
+*** END OF TEST POSIX FATAL 2 ***
diff -u rtems/testsuites/psxtests/psxfatal02/testcase.h:1.3 rtems/testsuites/psxtests/psxfatal02/testcase.h:1.4
--- rtems/testsuites/psxtests/psxfatal02/testcase.h:1.3 Fri Oct 30 05:33:43 2009
+++ rtems/testsuites/psxtests/psxfatal02/testcase.h Mon Sep 5 04:49:52 2011
@@ -28,6 +28,7 @@
sizeof(CONFIGURE_POSIX_INIT_THREAD_TABLE_NAME) / \
sizeof(posix_initialization_threads_table)
+#define FATAL_ERROR_TEST_NAME "2"
#define FATAL_ERROR_DESCRIPTION \
"POSIX API Init thread create failure -- no memory for stack"
#define FATAL_ERROR_EXPECTED_SOURCE INTERNAL_ERROR_POSIX_API
diff -u rtems/testsuites/psxtests/psxfatal_support/init.c:1.10 rtems/testsuites/psxtests/psxfatal_support/init.c:1.11
--- rtems/testsuites/psxtests/psxfatal_support/init.c:1.10 Thu Aug 18 02:47:38 2011
+++ rtems/testsuites/psxtests/psxfatal_support/init.c Mon Sep 5 04:49:52 2011
@@ -16,10 +16,21 @@
#define CONFIGURE_INIT
#include "system.h"
+static void print_test_begin_message(void)
+{
+ static bool done = false;
+
+ if (!done) {
+ done = true;
+ printk( "\n\n\n*** TEST POSIX FATAL " FATAL_ERROR_TEST_NAME " ***\n" );
+ }
+}
+
void *POSIX_Init(
void *argument
)
{
+ print_test_begin_message();
force_error();
printk( "Fatal error (%s) NOT hit\n", FATAL_ERROR_DESCRIPTION );
rtems_test_exit(0);
@@ -115,6 +126,7 @@
uint32_t error
)
{
+ print_test_begin_message();
printk( "Fatal error (%s) hit\n", FATAL_ERROR_DESCRIPTION );
if ( source != FATAL_ERROR_EXPECTED_SOURCE ){
@@ -146,7 +158,7 @@
&& is_internal == FATAL_ERROR_EXPECTED_IS_INTERNAL
&& error == FATAL_ERROR_EXPECTED_ERROR
) {
- printk( "*** END OF TEST ***\n" );
+ printk( "*** END OF TEST POSIX FATAL " FATAL_ERROR_TEST_NAME " ***\n" );
}
if ( _System_state_Is_up( _System_state_Get() ) )
*sh*:
2011-09-05 Sebastian Huber <sebastian.huber at embedded-brains.de>
* spfatal01/spfatal01.scn, spfatal02/spfatal02.scn,
spfatal13/spfatal13.scn, spfatal14/spfatal14.scn,
spfatal15/spfatal15.scn, spfatal16/spfatal16.scn,
spfatal17/spfatal17.scn, spfatal18/spfatal18.scn,
spfatal19/spfatal19.scn, spfatal20/spfatal20.scn,
spfatal_support/init.c: Print proper begin message.
M 1.479 testsuites/sptests/ChangeLog
M 1.5 testsuites/sptests/spfatal01/spfatal01.scn
M 1.5 testsuites/sptests/spfatal02/spfatal02.scn
M 1.4 testsuites/sptests/spfatal13/spfatal13.scn
M 1.4 testsuites/sptests/spfatal14/spfatal14.scn
M 1.4 testsuites/sptests/spfatal15/spfatal15.scn
M 1.4 testsuites/sptests/spfatal16/spfatal16.scn
M 1.4 testsuites/sptests/spfatal17/spfatal17.scn
M 1.4 testsuites/sptests/spfatal18/spfatal18.scn
M 1.4 testsuites/sptests/spfatal19/spfatal19.scn
M 1.4 testsuites/sptests/spfatal20/spfatal20.scn
M 1.15 testsuites/sptests/spfatal_support/init.c
diff -u rtems/testsuites/sptests/ChangeLog:1.478 rtems/testsuites/sptests/ChangeLog:1.479
--- rtems/testsuites/sptests/ChangeLog:1.478 Fri Sep 2 07:20:15 2011
+++ rtems/testsuites/sptests/ChangeLog Mon Sep 5 04:54:33 2011
@@ -1,3 +1,12 @@
+2011-09-05 Sebastian Huber <sebastian.huber at embedded-brains.de>
+
+ * spfatal01/spfatal01.scn, spfatal02/spfatal02.scn,
+ spfatal13/spfatal13.scn, spfatal14/spfatal14.scn,
+ spfatal15/spfatal15.scn, spfatal16/spfatal16.scn,
+ spfatal17/spfatal17.scn, spfatal18/spfatal18.scn,
+ spfatal19/spfatal19.scn, spfatal20/spfatal20.scn,
+ spfatal_support/init.c: Print proper begin message.
+
2011-09-02 Sebastian Huber <sebastian.huber at embedded-brains.de>
* sp40/init.c: Avoid unsupported test cases.
diff -u rtems/testsuites/sptests/spfatal01/spfatal01.scn:1.4 rtems/testsuites/sptests/spfatal01/spfatal01.scn:1.5
--- rtems/testsuites/sptests/spfatal01/spfatal01.scn:1.4 Mon Aug 22 05:10:56 2011
+++ rtems/testsuites/sptests/spfatal01/spfatal01.scn Mon Sep 5 04:54:33 2011
@@ -1,2 +1,3 @@
+*** TEST FATAL 1 ***
Fatal error (Classic API Init task create failure) hit
*** END OF TEST FATAL 1 ***
diff -u rtems/testsuites/sptests/spfatal02/spfatal02.scn:1.4 rtems/testsuites/sptests/spfatal02/spfatal02.scn:1.5
--- rtems/testsuites/sptests/spfatal02/spfatal02.scn:1.4 Mon Aug 22 05:10:56 2011
+++ rtems/testsuites/sptests/spfatal02/spfatal02.scn Mon Sep 5 04:54:33 2011
@@ -1,2 +1,3 @@
+*** TEST FATAL 2 ***
Fatal error (Classic API Init task start failure) hit
*** END OF TEST FATAL 2 ***
diff -u rtems/testsuites/sptests/spfatal13/spfatal13.scn:1.3 rtems/testsuites/sptests/spfatal13/spfatal13.scn:1.4
--- rtems/testsuites/sptests/spfatal13/spfatal13.scn:1.3 Mon Aug 22 05:10:56 2011
+++ rtems/testsuites/sptests/spfatal13/spfatal13.scn Mon Sep 5 04:54:33 2011
@@ -1,2 +1,3 @@
+*** TEST FATAL 13 ***
Fatal error (Configuration of unlimited and maximum of 0) hit
*** END OF TEST FATAL 13 ***
diff -u rtems/testsuites/sptests/spfatal14/spfatal14.scn:1.3 rtems/testsuites/sptests/spfatal14/spfatal14.scn:1.4
--- rtems/testsuites/sptests/spfatal14/spfatal14.scn:1.3 Mon Aug 22 05:10:56 2011
+++ rtems/testsuites/sptests/spfatal14/spfatal14.scn Mon Sep 5 04:54:33 2011
@@ -1,2 +1,3 @@
+*** TEST FATAL 14 ***
Fatal error (fail to open stdout) hit
*** END OF TEST FATAL 14 ***
diff -u rtems/testsuites/sptests/spfatal15/spfatal15.scn:1.3 rtems/testsuites/sptests/spfatal15/spfatal15.scn:1.4
--- rtems/testsuites/sptests/spfatal15/spfatal15.scn:1.3 Mon Aug 22 05:10:56 2011
+++ rtems/testsuites/sptests/spfatal15/spfatal15.scn Mon Sep 5 04:54:33 2011
@@ -1,2 +1,3 @@
+*** TEST FATAL 15 ***
Fatal error (fail to open stderr) hit
*** END OF TEST FATAL 15 ***
diff -u rtems/testsuites/sptests/spfatal16/spfatal16.scn:1.3 rtems/testsuites/sptests/spfatal16/spfatal16.scn:1.4
--- rtems/testsuites/sptests/spfatal16/spfatal16.scn:1.3 Mon Aug 22 05:10:56 2011
+++ rtems/testsuites/sptests/spfatal16/spfatal16.scn Mon Sep 5 04:54:33 2011
@@ -1,2 +1,3 @@
+*** TEST FATAL 16 ***
Fatal error (termios sem create #1) hit
*** END OF TEST FATAL 16 ***
diff -u rtems/testsuites/sptests/spfatal17/spfatal17.scn:1.3 rtems/testsuites/sptests/spfatal17/spfatal17.scn:1.4
--- rtems/testsuites/sptests/spfatal17/spfatal17.scn:1.3 Mon Aug 22 05:10:56 2011
+++ rtems/testsuites/sptests/spfatal17/spfatal17.scn Mon Sep 5 04:54:33 2011
@@ -1,2 +1,3 @@
+*** TEST FATAL 17 ***
Fatal error (termios sem create #2) hit
*** END OF TEST FATAL 17 ***
diff -u rtems/testsuites/sptests/spfatal18/spfatal18.scn:1.3 rtems/testsuites/sptests/spfatal18/spfatal18.scn:1.4
--- rtems/testsuites/sptests/spfatal18/spfatal18.scn:1.3 Mon Aug 22 05:10:56 2011
+++ rtems/testsuites/sptests/spfatal18/spfatal18.scn Mon Sep 5 04:54:34 2011
@@ -1,2 +1,3 @@
+*** TEST FATAL 18 ***
Fatal error (termios sem create #3) hit
*** END OF TEST FATAL 18 ***
diff -u rtems/testsuites/sptests/spfatal19/spfatal19.scn:1.3 rtems/testsuites/sptests/spfatal19/spfatal19.scn:1.4
--- rtems/testsuites/sptests/spfatal19/spfatal19.scn:1.3 Mon Aug 22 05:10:56 2011
+++ rtems/testsuites/sptests/spfatal19/spfatal19.scn Mon Sep 5 04:54:34 2011
@@ -1,2 +1,3 @@
+*** TEST FATAL 19 ***
Fatal error (termios sem create #4) hit
*** END OF TEST FATAL 19 ***
diff -u rtems/testsuites/sptests/spfatal20/spfatal20.scn:1.3 rtems/testsuites/sptests/spfatal20/spfatal20.scn:1.4
--- rtems/testsuites/sptests/spfatal20/spfatal20.scn:1.3 Mon Aug 22 05:10:56 2011
+++ rtems/testsuites/sptests/spfatal20/spfatal20.scn Mon Sep 5 04:54:34 2011
@@ -1,2 +1,3 @@
+*** TEST FATAL 20 ***
Fatal error (rtems_termios_initialize cannot create semaphore) hit
*** END OF TEST FATAL 20 ***
diff -u rtems/testsuites/sptests/spfatal_support/init.c:1.14 rtems/testsuites/sptests/spfatal_support/init.c:1.15
--- rtems/testsuites/sptests/spfatal_support/init.c:1.14 Mon Aug 22 05:10:56 2011
+++ rtems/testsuites/sptests/spfatal_support/init.c Mon Sep 5 04:54:34 2011
@@ -16,11 +16,21 @@
#define CONFIGURE_INIT
#include "system.h"
+static void print_test_begin_message(void)
+{
+ static bool done = false;
+
+ if (!done) {
+ done = true;
+ printk( "\n\n\n*** TEST FATAL " FATAL_ERROR_TEST_NAME " ***\n" );
+ }
+}
+
rtems_task Init(
rtems_task_argument argument
)
{
- printk( "\n\n\n*** TEST FATAL " FATAL_ERROR_TEST_NAME " ***\n" );
+ print_test_begin_message();
force_error();
printk( "Fatal error (%s) NOT hit\n", FATAL_ERROR_DESCRIPTION );
rtems_test_exit(0);
@@ -114,6 +124,7 @@
uint32_t error
)
{
+ print_test_begin_message();
printk( "Fatal error (%s) hit\n", FATAL_ERROR_DESCRIPTION );
if ( source != FATAL_ERROR_EXPECTED_SOURCE ){
--
Generated by Deluxe Loginfo [http://www.codewiz.org/projects/index.html#loginfo] 2.122 by Bernardo Innocenti <bernie at develer.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/vc/attachments/20110905/ed30c836/attachment-0001.html>
More information about the vc
mailing list