1
0
Эх сурвалжийг харах

Updates to work on Linux

[SVN r12981]
Dave Abrahams 24 жил өмнө
parent
commit
aecf60707e
2 өөрчлөгдсөн 21 нэмэгдсэн , 11 устгасан
  1. 1 1
      libs/thread
  2. 20 10
      status/Jamfile

+ 1 - 1
libs/thread

@@ -1 +1 @@
-Subproject commit f263f757516be1a900705000301d00bc1f512cb8
+Subproject commit 86b608cf41fae7b41cee2fda22e1937d56857fa6

+ 20 - 10
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 = <dll>../libs/thread/build/boost_threadmon ;
+    }
     
-test-suite threads
-  : [
-    run libs/thread/test/test_thread.cpp <lib>../libs/thread/build/boost_thread 
-      <dll>../libs/thread/build/boost_threadmon
-      : #args
-      : #input-files
-      : #requirements
-        <threading>multi
-    ]
-  ;
+    test-suite threads
+      : [
+        run libs/thread/test/test_thread.cpp
+          <lib>../libs/thread/build/boost_thread 
+          $(threadmon)
+            : #args
+            : #input-files
+            : #requirements
+            <threading>multi
+      ]
+        ;
+}
+
 
 compile libs/timer/timer_test.cpp ;
 

粤ICP备19079148号