Update of /cvsroot/boost/boost/tools/build/v2/test
In directory sc8-pr-cvs3.sourceforge.net:/tmp/cvs-serv5929/test
Modified Files:
relative_sources.py
Log Message:
Revert the path for preserving relative names of sources, since it breaks
UBLAS tests. Will reconsider later.
Index: relative_sources.py
===================================================================
RCS file: /cvsroot/boost/boost/tools/build/v2/test/relative_sources.py,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -d -r1.4 -r1.5
--- relative_sources.py 23 May 2006 14:21:58 -0000 1.4
+++ relative_sources.py 8 Jun 2006 05:31:39 -0000 1.5
@@ -5,30 +5,10 @@
from BoostBuild import Tester
t = Tester()
-# Test that relative path to source, 'src', is preserved.
-t.write("Jamroot", "exe a : src/a.cpp ;")
+t.write("project-root.jam", "import gcc ;")
+t.write("Jamfile", "exe a : src/a.cpp ;")
t.write("src/a.cpp", "int main() { return 0; }\n")
t.run_build_system()
-t.expect_addition("bin/$toolset/debug/src/a.obj")
-
-
-# Test that the relative path to source is preserved
-# when using 'glob'.
-t.rm("bin")
-t.write("Jamroot", "exe a : [ glob src/*.cpp ] ;")
-t.run_build_system()
-t.expect_addition("bin/$toolset/debug/src/a.obj")
-
-
-# Test that relative path with ".." is *not* added to
-# target path.
-t.rm(".")
-t.write("Jamroot", "")
-t.write("a.cpp", "int main() { return 0; }\n")
-t.write("build/Jamfile", "exe a : ../a.cpp ; ")
-t.run_build_system(subdir="build")
-t.expect_addition("build/bin/$toolset/debug/a.obj")
-
t.cleanup()
_______________________________________________
Boost-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/boost-cvs