Boost logo

Boost-Build :

From: Jurko Gospodnetiæ (jurko.gospodnetic_at_[hidden])
Date: 2007-12-22 23:39:19


[Seems I forgot the attachment again. :-)]

    Hi.

    Attached patch makes the inherit_toolset.py test pass. That's one
down... :-)

    Best regards,
      Jurko Gospodnetiæ


--- X:\Boost_Build\20071222_nightly_build\Original\boost-build\test\inherit_toolset.py 2007-12-21 15:33:44.000000000 +-0100
+++ X:\Boost_Build\20071222_nightly_build\Modified\boost-build\test\inherit_toolset.py 2007-12-23 05:24:25.000000000 +-0100
@@ -10,16 +10,16 @@
 t = Tester(pass_toolset=0)
 
 t.write("a.cpp", """
 """)
 
 t.write("yfc1.jam", """
-import toolset ;
-import generators ;
+import feature : extend ;
+import generators : register-standard ;
 
-toolset.register yfc1 ;
+feature.extend toolset : yfc1 ;
 
 rule init ( )
 {
 }
 
 generators.register-standard yfc1.compile : CPP : OBJ : <toolset>yfc1 ;
@@ -31,20 +31,19 @@
 }
 
 actions link
 {
     yfc1-link
 }
-
-
 """)
 
 t.write("yfc2.jam", """
-import toolset ;
+import feature : extend ;
+import toolset : inherit ;
 
-toolset.register yfc2 ;
+feature.extend toolset : yfc2 ;
 toolset.inherit yfc2 : yfc1 ;
 
 rule init ( )
 {
 }
 


Boost-Build list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk