diff --git a/new/testing.jam b/new/testing.jam index 30e1b32d9..9e6b00e2b 100644 --- a/new/testing.jam +++ b/new/testing.jam @@ -26,13 +26,12 @@ rule unit-test-target-class ( name : project : sources * : requirements * local result = [ typed-target.construct $(source-targets) : $(properties) ] ; local exe = $(result[1]) ; - local exe-action = [ $(exe).action ] ; - local timestamp = [ new file-target $(self.name) : : $(self.project) - ] ; + local exe-action = [ $(exe).action ] ; + local timestamp = [ new file-target $(self.name) : : $(self.project) ] ; $(timestamp).suffix "passed" ; local a = [ new action $(timestamp) : $(exe) : testing.run : - [ $(exe-action).properties ] ] ; + [ $(exe-action).properties-ps ] ] ; $(timestamp).action $(a) ; return $(timestamp) ; } diff --git a/v2/tools/testing.jam b/v2/tools/testing.jam index 30e1b32d9..9e6b00e2b 100644 --- a/v2/tools/testing.jam +++ b/v2/tools/testing.jam @@ -26,13 +26,12 @@ rule unit-test-target-class ( name : project : sources * : requirements * local result = [ typed-target.construct $(source-targets) : $(properties) ] ; local exe = $(result[1]) ; - local exe-action = [ $(exe).action ] ; - local timestamp = [ new file-target $(self.name) : : $(self.project) - ] ; + local exe-action = [ $(exe).action ] ; + local timestamp = [ new file-target $(self.name) : : $(self.project) ] ; $(timestamp).suffix "passed" ; local a = [ new action $(timestamp) : $(exe) : testing.run : - [ $(exe-action).properties ] ] ; + [ $(exe-action).properties-ps ] ] ; $(timestamp).action $(a) ; return $(timestamp) ; }