Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: downloads/boost_1_33_1/tools/build/v2/test/composite.py @ 12

Last change on this file since 12 was 12, checked in by landauf, 17 years ago

added boost

  • Property svn:executable set to *
File size: 686 bytes
Line 
1#!/usr/bin/python
2
3#  Copyright (C) Vladimir Prus 2003. Permission to copy, use, modify, sell and
4#  distribute this software is granted provided this copyright notice appears in
5#  all copies. This software is provided "as is" without express or implied
6#  warranty, and with no claim as to its suitability for any purpose.
7
8#  Test that composite properties are handled correctly.
9from BoostBuild import Tester, List
10
11t = Tester()
12
13t.write("project-root.jam", "")
14t.write("Jamfile", """
15exe hello : hello.cpp : <variant>release ;
16""")
17t.write("hello.cpp", """
18int main()
19{
20    return 0;
21}
22
23""")
24
25t.run_build_system()
26
27t.expect_addition("bin/$toolset/release/hello.exe")
28
29
30t.cleanup()
Note: See TracBrowser for help on using the repository browser.