]>
git.proxmox.com Git - ceph.git/blob - ceph/src/boost/tools/build/test/wrapper.py
1adeb2c90308e6d039fbce030b36447cb67a6e35
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)
7 # Test that the user can define his own rule that will call built-in main target
8 # rule and that this will work.
13 t
= BoostBuild
.Tester(use_test_config
=False)
15 t
.write("jamfile.jam", """
19 t
.write("test.cpp", """
23 t
.write("jamroot.jam", """
26 rule my-test ( name ? : sources + )
29 unit-test $(name) : $(sources) ; # /site-config//cppunit /util//testMain ;
32 IMPORT $(__name__) : my-test : : my-test ;
36 t
.expect_addition("bin/$toolset/debug*/test.passed")