diff options
Diffstat (limited to 'testsuites/tmtests/tm02')
-rw-r--r-- | testsuites/tmtests/tm02/Makefile.am | 3 | ||||
-rw-r--r-- | testsuites/tmtests/tm02/task1.c | 4 |
2 files changed, 4 insertions, 3 deletions
diff --git a/testsuites/tmtests/tm02/Makefile.am b/testsuites/tmtests/tm02/Makefile.am index c9c0b5e403..b849babdb5 100644 --- a/testsuites/tmtests/tm02/Makefile.am +++ b/testsuites/tmtests/tm02/Makefile.am @@ -5,7 +5,8 @@ MANAGERS = io semaphore rtems_tests_PROGRAMS = tm02.exe -tm02_exe_SOURCES = task1.c system.h ../include/timesys.h +tm02_exe_SOURCES = task1.c system.h ../include/timesys.h \ + ../../support/src/tmtests_empty_function.c dist_rtems_tests_DATA = tm02.doc diff --git a/testsuites/tmtests/tm02/task1.c b/testsuites/tmtests/tm02/task1.c index 55c4374d54..b26f638167 100644 --- a/testsuites/tmtests/tm02/task1.c +++ b/testsuites/tmtests/tm02/task1.c @@ -117,7 +117,7 @@ rtems_task High_task( { rtems_status_code status; - benchmark_timerinitialize(); /* start blocking rtems_semaphore_obtain time */ + benchmark_timer_initialize(); /* start blocking rtems_semaphore_obtain time */ status = rtems_semaphore_obtain( Semaphore_id, RTEMS_DEFAULT_OPTIONS, @@ -142,7 +142,7 @@ rtems_task Low_task( rtems_task_argument argument ) { - end_time = benchmark_timerread(); + end_time = benchmark_timer_read(); put_time( "rtems_semaphore_obtain: not available -- caller blocks", |