build/test/Jamfile.jam
Steven Watanabe e350366096 Add a Jamfile in the test directory which runs test_all.py. Refs #268.
* python.jam: Allow run-pyd to work with just a python script.
* BoostBuild.py: Adjust paths to work regardless of the current
  working directory.
2018-01-09 07:49:59 -07:00

30 lines
673 B
Plaintext

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