summaryrefslogtreecommitdiffstats
path: root/testsuites/tmtests/tm07
diff options
context:
space:
mode:
Diffstat (limited to 'testsuites/tmtests/tm07')
-rw-r--r--testsuites/tmtests/tm07/Makefile.am3
-rw-r--r--testsuites/tmtests/tm07/task1.c4
2 files changed, 4 insertions, 3 deletions
diff --git a/testsuites/tmtests/tm07/Makefile.am b/testsuites/tmtests/tm07/Makefile.am
index b2a1fd479d..5e92732660 100644
--- a/testsuites/tmtests/tm07/Makefile.am
+++ b/testsuites/tmtests/tm07/Makefile.am
@@ -5,7 +5,8 @@
MANAGERS = io semaphore
rtems_tests_PROGRAMS = tm07.exe
-tm07_exe_SOURCES = task1.c system.h ../include/timesys.h
+tm07_exe_SOURCES = task1.c system.h ../include/timesys.h \
+ ../../support/src/tmtests_empty_function.c
dist_rtems_tests_DATA = tm07.doc
diff --git a/testsuites/tmtests/tm07/task1.c b/testsuites/tmtests/tm07/task1.c
index 4aed10ea68..f6247f4a2b 100644
--- a/testsuites/tmtests/tm07/task1.c
+++ b/testsuites/tmtests/tm07/task1.c
@@ -80,7 +80,7 @@ rtems_task High_task(
)
{
if ( argument != 0 ) {
- end_time = benchmark_timerread();
+ end_time = benchmark_timer_read();
put_time(
"rtems_task_restart: suspended task -- preempts caller",
@@ -114,6 +114,6 @@ rtems_task Low_task(
{
task_index = 1;
- benchmark_timerinitialize();
+ benchmark_timer_initialize();
(void) rtems_task_restart( Task_id[ task_index ], 0xffffffff );
}