Explorar o código

Don't use non-existent test projects.

Rene Rivera %!s(int64=9) %!d(string=hai) anos
pai
achega
552fbf002f
Modificáronse 1 ficheiros con 4 adicións e 1 borrados
  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 ] ;
             t = [ CALC $(t) + 2 ] ;
             f = [ CALC $(f) + 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 $(include-test) = y
         {
         {
             if $(root) = libs && ( ! ( $(library) in $(libraries) ) )
             if $(root) = libs && ( ! ( $(library) in $(libraries) ) )

粤ICP备19079148号