summaryrefslogtreecommitdiffstats
path: root/testsuites/sptests/sp31/task1.c
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2009-12-08 17:52:56 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2009-12-08 17:52:56 +0000
commit9e7d02a3dcd0b4b38f13c11214a597d67c6aeb94 (patch)
tree6947be73e333886d3388289cbcb5efbf58234f9b /testsuites/sptests/sp31/task1.c
parent2009-12-08 Joel Sherrill <joel.sherrill@oarcorp.com> (diff)
downloadrtems-9e7d02a3dcd0b4b38f13c11214a597d67c6aeb94.tar.bz2
2009-12-08 Joel Sherrill <joel.sherrill@oarcorp.com>
* sp18/init.c, sp31/task1.c, sp43/init.c, sp63/init.c, sp64/init.c, spfatal10/testcase.h, spfatal11/testcase.h, spobjgetnext/init.c, spwkspace/init.c: Use rtems_test_assert() consistently instead of system assert(). rtems_test_assert() is designed to integrate into the RTEMS test suite infrastructure.
Diffstat (limited to 'testsuites/sptests/sp31/task1.c')
-rw-r--r--testsuites/sptests/sp31/task1.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/testsuites/sptests/sp31/task1.c b/testsuites/sptests/sp31/task1.c
index 67f06f821a..4ad1de7d46 100644
--- a/testsuites/sptests/sp31/task1.c
+++ b/testsuites/sptests/sp31/task1.c
@@ -140,7 +140,7 @@ rtems_task Task_1(
info.start_time + info.initial );
printf( "Timer Server scheduled for %" PRIdWatchdog_Interval " ticks since boot\n",
schedule_time() );
- assert( (info.start_time + info.initial) == schedule_time() );
+ rtems_test_assert( (info.start_time + info.initial) == schedule_time() );
puts( "TA1 - rtems_task_wake_after - 1 second" );
status = rtems_task_wake_after( 1 * rtems_clock_get_ticks_per_second() );
@@ -157,7 +157,7 @@ rtems_task Task_1(
info.start_time + info.initial );
printf( "Timer Server scheduled for %" PRIdWatchdog_Interval " ticks since boot\n",
schedule_time() );
- assert( (info.start_time + info.initial) == schedule_time() );
+ rtems_test_assert( (info.start_time + info.initial) == schedule_time() );
puts( "TA1 - rtems_timer_cancel - timer 1" );
status = rtems_timer_cancel( tmid );