aboutsummaryrefslogtreecommitdiffstats
path: root/test/rt/source/test/test_sequence_004.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/rt/source/test/test_sequence_004.c')
-rw-r--r--test/rt/source/test/test_sequence_004.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/test/rt/source/test/test_sequence_004.c b/test/rt/source/test/test_sequence_004.c
index e4d29ff3b..666d442dc 100644
--- a/test/rt/source/test/test_sequence_004.c
+++ b/test/rt/source/test/test_sequence_004.c
@@ -418,6 +418,10 @@ static const testcase_t test_004_005 = {
* .
*/
+static void test_004_006_teardown(void) {
+ test_wait_threads();
+}
+
static void test_004_006_execute(void) {
binary_semaphore_t bsem;
msg_t msg;
@@ -477,7 +481,7 @@ static void test_004_006_execute(void) {
static const testcase_t test_004_006 = {
"Testing Binary Semaphores special case",
NULL,
- NULL,
+ test_004_006_teardown,
test_004_006_execute
};