<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>change log for rtems (2011-09-02)</title>
</head>
<body text='#000000' bgcolor='#ffffff'>
<a name='cs1'></a>
<table border='0' cellspacing='0' cellpadding='5' width='100%' bgcolor='#eeeeee'>
<tr><td colspan='3' bgcolor='#dddddd'>
<font color='#bb2222'><strong>sh</strong></font>
</td></tr>
<tr><td colspan='3' bgcolor='#dddddd'><pre>2011-09-02 Sebastian Huber <sebastian.huber@embedded-brains.de>
* sp40/init.c: Avoid unsupported test cases.
</pre></td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/testsuites/sptests/ChangeLog.diff?r1=text&tr1=1.477&r2=text&tr2=1.478&diff_format=h">M</a></td><td width='1%'>1.478</td><td width='100%'>testsuites/sptests/ChangeLog</td></tr>
<tr><td width='1%'><a href="http://www.rtems.com/cgi-bin/viewcvs.cgi//rtems/testsuites/sptests/sp40/init.c.diff?r1=text&tr1=1.7&r2=text&tr2=1.8&diff_format=h">M</a></td><td width='1%'>1.8</td><td width='100%'>testsuites/sptests/sp40/init.c</td></tr>
</table>
<pre>
<font color='#006600'>diff -u rtems/testsuites/sptests/ChangeLog:1.477 rtems/testsuites/sptests/ChangeLog:1.478
--- rtems/testsuites/sptests/ChangeLog:1.477 Mon Aug 22 05:10:55 2011
+++ rtems/testsuites/sptests/ChangeLog Fri Sep 2 07:20:15 2011
</font><font color='#997700'>@@ -1,3 +1,7 @@
</font><font color='#000088'>+2011-09-02 Sebastian Huber <sebastian.huber@embedded-brains.de>
+
+ * sp40/init.c: Avoid unsupported test cases.
+
</font> 2011-08-22 Sebastian Huber <sebastian.huber@embedded-brains.de>
* spfatal13/testcase.h: Fixed test name.
<font color='#006600'>diff -u rtems/testsuites/sptests/sp40/init.c:1.7 rtems/testsuites/sptests/sp40/init.c:1.8
--- rtems/testsuites/sptests/sp40/init.c:1.7 Tue Feb 22 01:37:00 2011
+++ rtems/testsuites/sptests/sp40/init.c Fri Sep 2 07:20:15 2011
</font><font color='#997700'>@@ -62,9 +62,15 @@
</font> rtems_device_major_number registered_not;
rtems_device_major_number invalid_major = _IO_Number_of_drivers + 1;
rtems_interrupt_level level;
<font color='#000088'>+ bool do_interrupt_context_test = true;
</font>
puts( "\n\n*** TEST 40 ***" );
<font color='#000088'>+ /* Ensure that this test works as expected */
+ test_interrupt_context_enter( level );
+ do_interrupt_context_test = rtems_interrupt_is_in_progress();
+ test_interrupt_context_leave( level );
+
</font> /*
* Register a driver with init == NULL and open != NULL
*/
<font color='#997700'>@@ -100,14 +106,16 @@
</font> directive_failed( sc, "rtems_io_register_driver" );
puts( "Init - rtems_io_register_driver - called from interrupt context" );
<font color='#880000'>- test_interrupt_context_enter( level );
- sc = rtems_io_register_driver( 0, NULL, NULL );
- test_interrupt_context_leave( level );
- fatal_directive_status(
- sc,
- RTEMS_CALLED_FROM_ISR,
- "rtems_io_register_driver"
- );
</font><font color='#000088'>+ if ( do_interrupt_context_test ) {
+ test_interrupt_context_enter( level );
+ sc = rtems_io_register_driver( 0, NULL, NULL );
+ test_interrupt_context_leave( level );
+ fatal_directive_status(
+ sc,
+ RTEMS_CALLED_FROM_ISR,
+ "rtems_io_register_driver"
+ );
+ }
</font>
puts( "Init - rtems_io_register_driver - invalid registered major pointer" );
sc = rtems_io_register_driver( 0, NULL, NULL );
<font color='#997700'>@@ -144,14 +152,16 @@
</font> );
puts( "Init - rtems_io_unregister_driver - called from interrupt context" );
<font color='#880000'>- test_interrupt_context_enter( level );
- sc = rtems_io_unregister_driver( 0 );
- test_interrupt_context_leave( level );
- fatal_directive_status(
- sc,
- RTEMS_CALLED_FROM_ISR,
- "rtems_io_unregister_driver"
- );
</font><font color='#000088'>+ if ( do_interrupt_context_test ) {
+ test_interrupt_context_enter( level );
+ sc = rtems_io_unregister_driver( 0 );
+ test_interrupt_context_leave( level );
+ fatal_directive_status(
+ sc,
+ RTEMS_CALLED_FROM_ISR,
+ "rtems_io_unregister_driver"
+ );
+ }
</font>
puts( "Init - rtems_io_unregister_driver - invalid major number" );
sc = rtems_io_unregister_driver( invalid_major );
</pre>
<p> </p>
<p>--<br />
<small>Generated by <a href="http://www.codewiz.org/projects/index.html#loginfo">Deluxe Loginfo</a> 2.122 by Bernardo Innocenti <bernie@develer.com></small></p>
</body>
</html>