diff --git a/testing.jam b/testing.jam index 01dbb7561..de04410b8 100755 --- a/testing.jam +++ b/testing.jam @@ -313,6 +313,7 @@ rule capture-run-output ( target : executable + ) INCLUDES $(target) : $(target:S=.output) ; MakeLocate $(test-file:S=.failure) : $(LOCATE_TARGET) ; MakeLocate $(test-file:S=.output) : $(LOCATE_TARGET) ; + Clean clean $(test-file:S=.output) ; capture-run-output1 $(target) : $(executable) ; } diff --git a/v1/testing.jam b/v1/testing.jam index 01dbb7561..de04410b8 100755 --- a/v1/testing.jam +++ b/v1/testing.jam @@ -313,6 +313,7 @@ rule capture-run-output ( target : executable + ) INCLUDES $(target) : $(target:S=.output) ; MakeLocate $(test-file:S=.failure) : $(LOCATE_TARGET) ; MakeLocate $(test-file:S=.output) : $(LOCATE_TARGET) ; + Clean clean $(test-file:S=.output) ; capture-run-output1 $(target) : $(executable) ; }