# Copyright 2018 Steven Watanabe
# Distributed under the Boost Software License, Version 1.0.
# (See accompanying file LICENSE_1_0.txt or copy at
# http://www.boost.org/LICENSE_1_0.txt)

import python ;
import testing ;

if ! [ python.configured ]
{
    using python ;
}

# Not quite perfect, but good enough for most purposes
local test-files = [ glob *.py ] ;

local boost-build-files = [ glob
    ../src/tools/*.jam
    ../src/tools/*/*.jam
    ../src/build/*.jam
    ../src/util/*.jam
    ../src/kernel/*.jam
    ../src/options/*.jam
    ../src/*.jam ] ;

testing.make-test run-pyd : test_all.py :
    <dependency>$(test-files)
    <dependency>$(boost-build-files)
  ;
