]>
git.proxmox.com Git - ceph.git/blob - ceph/src/boost/tools/build/test/dependency_property.py
3 # Copyright 2003 Vladimir Prus
4 # Distributed under the Boost Software License, Version 1.0.
5 # (See accompanying file LICENSE_1_0.txt or http://www.boost.org/LICENSE_1_0.txt)
7 # Regression test: virtual targets with different dependency properties were
8 # considered different by 'virtual-target.register', but the code which
9 # determined the actual target paths ignored dependency properties so both
10 # targets ended up being in the same location.
15 t
= BoostBuild
.Tester()
17 t
.write("jamroot.jam", """\
19 exe hello : hello.cpp ;
20 exe hello2 : hello.cpp : <library>foo ;
23 t
.write("hello.cpp", "int main() {}\n")
25 t
.write("foo.cpp", """\
32 t
.run_build_system(["--no-error-backtrace"], status
=1)
35 "Tried to build the target twice" not in output
and
36 "Duplicate name of actual target" not in output