2
0
mirror of https://github.com/boostorg/build.git synced 2026-02-14 12:42:11 +00:00

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.
This commit is contained in:
Steven Watanabe
2018-01-09 07:24:58 -07:00
parent c01182064e
commit e350366096
3 changed files with 34 additions and 4 deletions

View File

@@ -1272,7 +1272,7 @@ rule capture-output ( target : sources * : properties * )
}
local path-separator = [ os.path-separator [ translate-os $(target-os) ] ] ;
local set-PYTHONPATH = [ common.variable-setting-command PYTHONPATH :
$(PYTHONPATH:J=$(path-separator)) ] ;
$(PYTHONPATH:E=:J=$(path-separator)) ] ;
LAUNCHER on $(target) = $(set-PYTHONPATH) [ on $(target) return \"$(PYTHON)\" ] ;
}