# Copyright 2018 Steven Watanabe
# Distributed under the Boost Software License, Version 1.0.
# (See accompanying file LICENSE.txt or copy at
# https://www.bfgroup.xyz/b2/LICENSE.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)
  ;