summaryrefslogtreecommitdiffstats
path: root/testsuites/sptests/sp04
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>1999-11-16 22:55:11 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>1999-11-16 22:55:11 +0000
commit987445baf46ba3638d70911890d465b3e79a7074 (patch)
tree1eaaf20585ca38b40c3442f5a448b874bc36b86c /testsuites/sptests/sp04
parentAdded code so if dispatching level is specified to be -1, then no (diff)
downloadrtems-987445baf46ba3638d70911890d465b3e79a7074.tar.bz2
Added proper nesting level for dispatch disable check.
Diffstat (limited to 'testsuites/sptests/sp04')
-rw-r--r--testsuites/sptests/sp04/tswitch.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/testsuites/sptests/sp04/tswitch.c b/testsuites/sptests/sp04/tswitch.c
index 1301507782..ebc037b052 100644
--- a/testsuites/sptests/sp04/tswitch.c
+++ b/testsuites/sptests/sp04/tswitch.c
@@ -45,7 +45,7 @@ rtems_extension Task_switch(
Run_count[ index ] += 1;
status = rtems_clock_get( RTEMS_CLOCK_GET_TOD, &time );
- directive_failed( status, "rtems_clock_get" );
+ directive_failed_with_level( status, "rtems_clock_get", 1 );
if (taskSwitchLogIndex < (sizeof taskSwitchLog / sizeof taskSwitchLog[0])) {
taskSwitchLog[taskSwitchLogIndex].taskIndex = index;