1# Copyright 2018 Steven Watanabe
2# Distributed under the Boost Software License, Version 1.0.
3# (See accompanying file LICENSE_1_0.txt or copy at
4# http://www.boost.org/LICENSE_1_0.txt)
5
6import python ;
7import testing ;
8
9if ! [ python.configured ]
10{
11    using python ;
12}
13
14# Not quite perfect, but good enough for most purposes
15local test-files = [ glob *.py ] ;
16
17local boost-build-files = [ glob
18    ../src/tools/*.jam
19    ../src/tools/*/*.jam
20    ../src/build/*.jam
21    ../src/util/*.jam
22    ../src/kernel/*.jam
23    ../src/options/*.jam
24    ../src/*.jam ] ;
25
26testing.make-test run-pyd : test_all.py :
27    <dependency>$(test-files)
28    <dependency>$(boost-build-files)
29  ;
30