Просмотр исходного кода

Less greedy about declaring tests.

Only declared tests that are filtered in for actual testing.
Rene Rivera 9 лет назад
Родитель
Сommit
9fce53724e
1 измененных файлов с 4 добавлено и 4 удалено
  1. 4 4
      status/Jamfile.v2

+ 4 - 4
status/Jamfile.v2

@@ -106,12 +106,12 @@ local rule run-tests ( root : tests * )
             t = [ CALC $(t) + 2 ] ;
             f = [ CALC $(f) + 2 ] ;
         }
-        if [ path.exists ../$(root)/$(test) ]
-        {
-            use-project /boost/$(test) : ../$(root)/$(test) ;
-        }
         if $(include-test) = y
         {
+            if [ path.exists ../$(root)/$(test) ]
+            {
+                use-project /boost/$(test) : ../$(root)/$(test) ;
+            }
             if $(root) = libs && ( ! ( $(library) in $(libraries) ) )
             {
                 libraries += $(library) ;

粤ICP备19079148号