From fc0756e8d9caf1155e2df1ad4a1282619c6668f1 Mon Sep 17 00:00:00 2001 From: Joel Sherrill Date: Tue, 14 Apr 2015 10:01:05 -0500 Subject: Add test assertion for allocator mutex being unlocked The Allocator Mutex should not be locked outside a tested service call. In an SMP test or heavily multithreaded test, this is possible since another thread could have the lock for an extended period of time but this is not the norm for the tests. updates 2319. --- cpukit/score/Makefile.am | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cpukit/score/Makefile.am') diff --git a/cpukit/score/Makefile.am b/cpukit/score/Makefile.am index dc51e9a691..f0cd67641c 100644 --- a/cpukit/score/Makefile.am +++ b/cpukit/score/Makefile.am @@ -149,7 +149,7 @@ endif ## CORE_APIMUTEX_C_FILES libscore_a_SOURCES += src/apimutex.c \ - src/apimutexlock.c src/apimutexunlock.c + src/apimutexlock.c src/apimutexislocked.c src/apimutexunlock.c ## CORE_BARRIER_C_FILES libscore_a_SOURCES += src/corebarrier.c src/corebarrierrelease.c \ -- cgit v1.2.3