]> git.proxmox.com Git - ceph.git/blame - ceph/src/boost/tools/build/test/ordered_properties.py
update source to Ceph Pacific 16.2.2
[ceph.git] / ceph / src / boost / tools / build / test / ordered_properties.py
CommitLineData
7c673cae
FG
1#!/usr/bin/python
2
3# Copyright 2004 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)
6
f67539c2 7# This checks that B2 does not reorder <include> properties
7c673cae
FG
8# lexicographically.
9
10import BoostBuild
11
12t = BoostBuild.Tester()
13
14t.write("a.cpp", """
15#include <a.h>
16int main() { foo(); }
17""")
18
19t.write("jamroot.jam", """
20exe a : a.cpp : <include>d2 <include>d1 ;
21""")
22
23t.write("d1/a.h", """
24""")
25
26t.write("d2/a.h", """
27inline void foo() {}
28""")
29
30t.run_build_system()
b32b8144 31t.expect_addition("bin/$toolset/debug*/a.exe")
7c673cae
FG
32
33t.cleanup()