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

Don't use non-existent test projects.

Rene Rivera 9 лет назад
Родитель
Сommit
552fbf002f
1 измененных файлов с 4 добавлено и 1 удалено
  1. 4 1
      status/Jamfile.v2

+ 4 - 1
status/Jamfile.v2

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

粤ICP备19079148号