mirror of
https://github.com/boostorg/build.git
synced 2026-02-11 11:42:14 +00:00
* builtin.jam (variant): New rule.
* build-system.jam: Unconditionally add <toolset>gcc to build
request. Will be fixed when toolset support is ready.
* feature.jam (extend-feature): Bugfix.
[SVN r15678]
29 lines
706 B
Python
29 lines
706 B
Python
#!/usr/bin/python
|
|
|
|
from BoostBuild import Tester, List
|
|
|
|
t = Tester()
|
|
|
|
t.set_tree("generators-test")
|
|
t.run_build_system()
|
|
|
|
t.expect_addition("bin/gcc/debug/" * List(
|
|
"a.o b.o c.h c.cpp c.o d_parser.whl d_lexer.dlp d_parser.cpp d_lexer.cpp " +
|
|
"d_parser.lr0 x.c x.o y.x1 y.x2 " +
|
|
"y.cpp y.o a e.marked.cpp e.positions e.target.cpp e.o e"))
|
|
|
|
t.expect_addition(["lib/bin/gcc/debug/c.o",
|
|
"lib/bin/gcc/debug/auxilliary.a",
|
|
])
|
|
|
|
|
|
t.run_build_system(subdir='lib')
|
|
|
|
t.expect_addition(["lib/bin/gcc/debug/auxilliary2.a"])
|
|
|
|
t.run_build_system(subdir='lib', extra_args="shared=true")
|
|
|
|
t.expect_addition(["lib/bin/gcc/debug/shared-true/auxilliary2.so"])
|
|
|
|
t.cleanup()
|