Update of /cvsroot/boost/boost/tools/build/v2/test
In directory sc8-pr-cvs3.sourceforge.net:/tmp/cvs-serv26284

Modified Files:
        remove_requirement.py 
Log Message:
Test that project's path requirements can be removed by a main target.

Index: remove_requirement.py
===================================================================
RCS file: /cvsroot/boost/boost/tools/build/v2/test/remove_requirement.py,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- remove_requirement.py       18 Sep 2006 19:56:19 -0000      1.1
+++ remove_requirement.py       8 Nov 2006 09:59:42 -0000       1.2
@@ -78,5 +78,38 @@
 t.expect_addition("sub3/bin/$toolset/debug/threading-multi/hello.exe")
 t.expect_addition("sub4/bin/$toolset/debug/threading-multi/hello.exe")
 
+t.rm(".")
+
+# No test that path requirements can be removed as well.
+t.write("Jamroot", """ 
+build-project sub ;
+
+""")
+
+t.write("sub/Jamfile", """ 
+project : requirements <include>broken ;
+
+exe hello : hello.cpp : -<include>broken ; 
+""")
+
+t.write("sub/hello.cpp", """ 
+#include "math.h"
+
+int main()
+{
+    return 0;
+}
+
+""")
+
+t.write("sub/broken/math.h", """ 
+Broken 
+""")
+
+
+t.run_build_system()
+
+t.expect_addition("bin/$toolset/debug/hello.exe")
+
 t.cleanup()
 


-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Boost-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/boost-cvs

Reply via email to