suyu/externals/vcpkg/packages/boost-build_x64-windows/tools/boost-build/test/test1.py

19 lines
395 B
Python
Raw Normal View History

2024-03-05 08:42:40 +00:00
#!/usr/bin/python
# Copyright 2002 Vladimir Prus
# Distributed under the Boost Software License, Version 1.0.
# (See accompanying file LICENSE.txt or https://www.bfgroup.xyz/b2/LICENSE.txt)
import BoostBuild
t = BoostBuild.Tester(pass_toolset=0)
t.write("test.jam", """
actions unbuilt { }
unbuilt all ;
ECHO "Hi" ;
""")
t.run_build_system(["-ftest.jam", "-d0"], stdout="Hi\n")
t.cleanup()