From df321f5a3ac1420e8095597ebe52efbce1c1e91c Mon Sep 17 00:00:00 2001 From: Steven Watanabe Date: Tue, 19 Dec 2017 21:52:08 -0700 Subject: [PATCH] Fix python tests. --- src/tools/python.jam | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/tools/python.jam b/src/tools/python.jam index 406d828b7..71feff689 100644 --- a/src/tools/python.jam +++ b/src/tools/python.jam @@ -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