1#!/usr/local/bin/python3.8 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 7# This checks that B2 does not reorder <include> properties 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() 31t.expect_addition("bin/$toolset/debug*/a.exe") 32 33t.cleanup() 34