From aecf60707eba2794a1eec90fd6dc24ec850c051e Mon Sep 17 00:00:00 2001 From: Dave Abrahams Date: Thu, 28 Feb 2002 12:35:05 +0000 Subject: [PATCH] Updates to work on Linux [SVN r12981] --- libs/thread | 2 +- status/Jamfile | 30 ++++++++++++++++++++---------- 2 files changed, 21 insertions(+), 11 deletions(-) diff --git a/libs/thread b/libs/thread index f263f75751..86b608cf41 160000 --- a/libs/thread +++ b/libs/thread @@ -1 +1 @@ -Subproject commit f263f757516be1a900705000301d00bc1f512cb8 +Subproject commit 86b608cf41fae7b41cee2fda22e1937d56857fa6 diff --git a/status/Jamfile b/status/Jamfile index c437c96203..cc69e92095 100644 --- a/status/Jamfile +++ b/status/Jamfile @@ -461,17 +461,27 @@ test-suite static_assert run libs/test/example/test_tools_example.cpp ; run-fail libs/test/test/test_tools_fail2.cpp ; + +{ + local threadmon ; + if $(NT) + { + threadmon = ../libs/thread/build/boost_threadmon ; + } -test-suite threads - : [ - run libs/thread/test/test_thread.cpp ../libs/thread/build/boost_thread - ../libs/thread/build/boost_threadmon - : #args - : #input-files - : #requirements - multi - ] - ; + test-suite threads + : [ + run libs/thread/test/test_thread.cpp + ../libs/thread/build/boost_thread + $(threadmon) + : #args + : #input-files + : #requirements + multi + ] + ; +} + compile libs/timer/timer_test.cpp ;