2
0
mirror of https://github.com/boostorg/build.git synced 2026-02-15 00:52:16 +00:00

Don't remove python scripts for Python tests.

[SVN r36073]
This commit is contained in:
Vladimir Prus
2006-11-18 08:56:43 +00:00
parent f2e4ab9ae9
commit be5b9377d6
2 changed files with 24 additions and 5 deletions

View File

@@ -613,7 +613,10 @@ rule capture-output ( target : sources * : properties * )
# over explicitly.
RUN_PATH on $(sources[1]) = [ on $(sources[2]) return $(RUN_PATH) ] ;
PYTHONPATH = [ on $(sources[2]) return $(LOCATE) ] ;
testing.capture-output $(target) : $(sources[1]) : $(properties) ;
# After test is run, we remove the Python module, but not the Python
# script.
testing.capture-output $(target) : $(sources[1]) : $(properties)
: $(sources[2]) ;
local c = [ common.prepend-path-variable-command PYTHONPATH : $(PYTHONPATH) ] ;
LAUNCHER on $(target) = $(c) [ on $(target) return $(PYTHON) ] ;
}