diff --git a/src/tools/testing.jam b/src/tools/testing.jam index 6913d2a99..f07c92040 100644 --- a/src/tools/testing.jam +++ b/src/tools/testing.jam @@ -211,9 +211,14 @@ rule dump-test ( target ) { if [ class.is-a $(s) : file-reference ] { + local location = + [ path.root + [ path.root [ $(s).name ] [ $(s).location ] ] + [ path.pwd ] ] ; + source-files += [ path.relative - [ path.root [ $(s).location ] [ path.pwd ] ] + $(location) [ path.root $(project-root) [ path.pwd ] ] ] ; } }