diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2016-11-22 11:34:43 +0100 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2016-11-23 12:52:05 +0100 |
commit | 46b534388f0ea6c2e25ef3f1e65ce889057e0276 (patch) | |
tree | 0db7b32ba2cfb1a17200383e2f8fce440247083e /testsuites | |
parent | smptests/smpscheduler02: Fix task initialization (diff) | |
download | rtems-46b534388f0ea6c2e25ef3f1e65ce889057e0276.tar.bz2 |
libtests/cpuuse: Check status only
We may own the allocator mutex during context switches.
Diffstat (limited to 'testsuites')
-rw-r--r-- | testsuites/libtests/cpuuse/tswitch.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/testsuites/libtests/cpuuse/tswitch.c b/testsuites/libtests/cpuuse/tswitch.c index 89dcd83324..09963739fc 100644 --- a/testsuites/libtests/cpuuse/tswitch.c +++ b/testsuites/libtests/cpuuse/tswitch.c @@ -49,8 +49,8 @@ void Task_switch( Run_count[ index ] += 1; status = rtems_clock_get_tod( &time ); - fatal_directive_status_with_level( status, RTEMS_SUCCESSFUL, - "rtems_clock_get_tod", 1 ); + fatal_directive_check_status_only( status, RTEMS_SUCCESSFUL, + "rtems_clock_get_tod" ); if (taskSwitchLogIndex < (sizeof taskSwitchLog / sizeof taskSwitchLog[0])) { |