mirror of
https://github.com/boostorg/build.git
synced 2026-02-12 12:02:24 +00:00
type and a generator, which relays either to SHARED-LIB or STATIC-LIB, depending of the value of "shared" feature. [SVN r15529]
29 lines
843 B
Python
29 lines
843 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/shared-false/threading-single/" * 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/shared-false/threading-single/c.o",
|
|
"lib/bin/gcc/debug/shared-false/threading-single/auxilliary.a",
|
|
])
|
|
|
|
|
|
t.run_build_system(subdir='lib')
|
|
|
|
t.expect_addition(["lib/bin/gcc/debug/shared-false/threading-single/auxilliary2.a"])
|
|
|
|
t.run_build_system(subdir='lib', extra_args="shared=true")
|
|
|
|
t.expect_addition(["lib/bin/gcc/debug/shared-true/threading-single/auxilliary2.so"])
|
|
|
|
t.cleanup()
|