suyu/externals/vcpkg/packages/boost-build_x64-windows/tools/boost-build/test/test1.py
2024-03-05 16:42:40 +08:00

19 lines
395 B
Python
Executable file

#!/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()