diff options
Diffstat (limited to '')
-rw-r--r-- | src/boost/tools/build/test/composite.py | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/src/boost/tools/build/test/composite.py b/src/boost/tools/build/test/composite.py new file mode 100644 index 000000000..e3a334b4f --- /dev/null +++ b/src/boost/tools/build/test/composite.py @@ -0,0 +1,25 @@ +#!/usr/bin/python + +# Copyright 2003 Vladimir Prus +# Distributed under the Boost Software License, Version 1.0. +# (See accompanying file LICENSE_1_0.txt or http://www.boost.org/LICENSE_1_0.txt) + +# Test that composite properties are handled correctly. + +import BoostBuild + +t = BoostBuild.Tester(use_test_config=False) + +t.write("jamroot.jam", """ +exe hello : hello.cpp : <variant>release ; +""") + +t.write("hello.cpp", """ +int main() {} +""") + +t.run_build_system() + +t.expect_addition("bin/$toolset/release*/hello.exe") + +t.cleanup() |