2
0
mirror of https://github.com/boostorg/build.git synced 2026-02-14 00:32:11 +00:00
Files
build/test/stage.py
Vladimir Prus d9217ebe21 Make stage.py work on NT/MinGW.
[SVN r16835]
2003-01-09 16:08:51 +00:00

20 lines
330 B
Python

#!/usr/bin/python
# Test staging
from BoostBuild import Tester, dll_suffix
t = Tester()
t.write("project-root.jam", "import gcc ;")
t.write("Jamfile", """
lib a : a.cpp ;
stage dist : a a.h ;
""")
t.write("a.cpp", "")
t.write("a.h", "")
t.run_build_system()
t.expect_addition(["dist/a" + dll_suffix, "dist/a.h"])
t.cleanup()