mirror of
https://github.com/boostorg/build.git
synced 2026-02-02 20:52:13 +00:00
* python3 shebang (cherry picked from commit 9f0d565b06482a90b59d07ef9e7b9aadd698926c) * CI: execute python scripts via shebang (cherry picked from commit cf36b637abe2125cf6895bec593b4cbcf71ae570) --------- Co-authored-by: Nikita Kniazev <nok.raven@gmail.com>
18 lines
443 B
Python
18 lines
443 B
Python
#!/usr/bin/env python3
|
|
|
|
# Copyright (C) Vladimir Prus 2006.
|
|
# Distributed under the Boost Software License, Version 1.0. (See
|
|
# accompanying file LICENSE.txt or copy at
|
|
# https://www.bfgroup.xyz/b2/LICENSE.txt)
|
|
|
|
# Test the 'make' example.
|
|
|
|
import BoostBuild
|
|
import sys
|
|
|
|
t = BoostBuild.Tester(['example.python.interpreter=%s' % sys.executable])
|
|
t.set_tree("../example/make")
|
|
t.run_build_system()
|
|
t.expect_addition(["bin/main.cpp"])
|
|
t.cleanup()
|