From: <mr...@bl...> - 2004-09-12 05:24:29
|
Author: mrowe Date: 2004-09-12 17:24:24 +1200 (Sun, 12 Sep 2004) New Revision: 229 Modified: branches/libmsn-experimental/python/Jamfile Log: Remove now that this has hit Boost CVS. Modified: branches/libmsn-experimental/python/Jamfile =================================================================== --- branches/libmsn-experimental/python/Jamfile 2004-09-08 12:47:31 UTC (rev 228) +++ branches/libmsn-experimental/python/Jamfile 2004-09-12 05:24:24 UTC (rev 229) @@ -16,47 +16,6 @@ <sysinclude>/../.. ; -rule boost-python-runtest ( - target : sources + : requirements * : local-build * : args * ) -{ - local gRUN_TEST_ARGS = $(args) ; - local pyfiles = [ MATCH ^(.*[.]py)$ : $(sources) ] ; - sources = [ difference $(sources) : $(pyfiles) ] ; - local gRUN_TEST_INPUT_FILES = [ FGristFiles $(pyfiles) ] ; - - # tell Jam that the python script is relative to this directory - SEARCH on $(gRUN_TEST_INPUT_FILES) = $(SEARCH_SOURCE) ; - - # The user can add additional arguments in PYTHON_TEST_ARGS. - local gRUN_TEST_ARGS2 = $(PYTHON_TEST_ARGS) ; - gRUN_TEST_ARGS2 ?= -v ; - - # - # Stick the names of the python script and source files used in - # testing into $(source-files) on the main target. This is kind - # of a hack, because boost-test will be returning the name of the - # main target, but unfortunatedly dump-tests runs during the - # evaluation of boost-test and not during the build phase :( - # - local main-target = [ FGristFiles [ expand-target-names $(target) : RUN_PYD ] ] ; - source-files on $(main-target) = $(gRUN_TEST_INPUT_FILES) ; - - local dependencies = [ FGristFiles [ expand-source-names $(sources) ] ] ; - source-files on $(main-target) += $(gTARGET_SOURCES($(dependencies))) ; - - local result = [ - boost-test $(sources) - : RUN_PYD - : $(requirements) - boost-python-disable-borland - <default>python-intel-use-gcc-stdlib # unless otherwise - # specified, assume the GCC standard - # library is needed for intel - : $(target) - : $(local-build) - ] ; -} - # Declare a test for the extension module boost-python-runtest testMSN : # Python test driver |