summaryrefslogtreecommitdiffstats
path: root/src/boost/tools/build/test/example_make.py
blob: 7036a9772a57e666b1db41387d9a9137c0dfe92f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#!/usr/bin/python

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