|
Boost-Commit : |
Subject: [Boost-commit] svn:boost r80087 - trunk/tools/build/v2/test
From: jurko.gospodnetic_at_[hidden]
Date: 2012-08-19 14:46:14
Author: jurko
Date: 2012-08-19 14:46:14 EDT (Sun, 19 Aug 2012)
New Revision: 80087
URL: http://svn.boost.org/trac/boost/changeset/80087
Log:
Made Boost Build's internal project_id.py test more detailed regarding registering the same project id for the same project, but with the project module specified in different ways.
Text files modified:
trunk/tools/build/v2/test/project_id.py | 11 +++++++++++
1 files changed, 11 insertions(+), 0 deletions(-)
Modified: trunk/tools/build/v2/test/project_id.py
==============================================================================
--- trunk/tools/build/v2/test/project_id.py (original)
+++ trunk/tools/build/v2/test/project_id.py 2012-08-19 14:46:14 EDT (Sun, 19 Aug 2012)
@@ -164,6 +164,7 @@
def test_repeated_ids_for_same_project():
t = BoostBuild.Tester()
+
t.write("jamroot.jam", "project foo ; project foo ;")
t.run_build_system()
@@ -181,6 +182,16 @@
""")
t.run_build_system()
+ t.write("a/fOo bAr/b/jamfile.jam", "")
+ t.write("jamroot.jam", r"""
+use-project bar : "a/foo bar/b" ;
+use-project bar : "a/foO Bar/b" ;
+use-project bar : "a/foo BAR/b/" ;
+use-project bar : "a\\.\\FOO bar\\b\\" ;
+""")
+ t.run_build_system()
+ t.rm("a")
+
t.write("bar/jamfile.jam", "")
t.write("jamroot.jam", """\
use-project bar : bar ;
Boost-Commit 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