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

Fix python tests.

This commit is contained in:
Steven Watanabe
2017-12-19 21:52:08 -07:00
parent 65cd9ce416
commit df321f5a3a

View File

@@ -1255,10 +1255,7 @@ rule capture-output ( target : sources * : properties * )
PYTHONPATH += [ feature.get-values pythonpath : $(properties) ] ;
# After test is run, we remove the Python module, but not the Python script.
local targets-to-remove = $(sources[2-]) ;
targets-to-remove ?= none ;
testing.capture-output $(target) : $(sources[1]) : $(properties) :
$(targets-to-remove) ;
testing.capture-output $(target) : $(sources[1]) : $(properties) ;
# PYTHONPATH is different; it will be interpreted by whichever Python is
# invoked and so must follow path rules for the target os. The only OSes