<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Thu, Dec 26, 2013 at 5:59 AM, Paul A. Bristow <span dir="ltr"><<a href="mailto:pbristow@hetp.u-net.com" target="_blank">pbristow@hetp.u-net.com</a>></span> wrote:<br> <blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div link="blue" vlink="purple" lang="EN-GB"><div><p class="MsoNormal"><span style="font-size:11pt;font-family:"Calibri","sans-serif";color:rgb(31,73,125)"><u></u> <u></u></span></p> <p class="MsoNormal"><span style="font-size:11pt;font-family:"Calibri","sans-serif";color:rgb(31,73,125)"><u></u> <u></u></span></p><div style="border-width:medium medium medium 1.5pt;border-style:none none none solid;border-color:-moz-use-text-color -moz-use-text-color -moz-use-text-color blue;padding:0mm 0mm 0mm 4pt"> <div><div style="border-width:1pt medium medium;border-style:solid none none;border-color:rgb(181,196,223) -moz-use-text-color -moz-use-text-color;padding:3pt 0mm 0mm"><p class="MsoNormal"><b><span style="font-size:10pt;font-family:"Tahoma","sans-serif"" lang="EN-US">From:</span></b><span style="font-size:10pt;font-family:"Tahoma","sans-serif"" lang="EN-US"> Beman Dawes [mailto:<a href="mailto:bdawes@acm.org" target="_blank">bdawes@acm.org</a>] <br> <b>Sent:</b> Tuesday, December 24, 2013 8:56 PM<br><b>To:</b> steven; Boost.Build developer's and user's list<br><b>Subject:</b> Re: [Boost-build] How to run inspect as part of a test-suite?<u></u><u></u></span></p> </div></div><p class="MsoNormal"><u></u> <u></u></p><div><div><div class="h5"><div><div><p class="MsoNormal">On Fri, Dec 20, 2013 at 11:17 AM, Steven Watanabe <<a href="mailto:watanabesj@gmail.com" target="_blank">watanabesj@gmail.com</a>> wrote:<u></u><u></u></p> <p class="MsoNormal">AMDG<u></u><u></u></p><div><p class="MsoNormal"><br>On 12/20/2013 08:03 AM, Beman Dawes wrote:<br>> On Fri, Dec 20, 2013 at 10:43 AM, Steven Watanabe <<a href="mailto:watanabesj@gmail.com" target="_blank">watanabesj@gmail.com</a>>wrote:<br> ><u></u><u></u></p></div><div><p class="MsoNormal">>> On 12/20/2013 07:10 AM, Beman Dawes wrote:<br>>>> On Thu, Dec 19, 2013 at 10:54 AM, Vladimir Prus <<a href="mailto:ghost@cs.msu.su" target="_blank">ghost@cs.msu.su</a>> wrote:<br> >>><u></u><u></u></p></div><div><p class="MsoNormal" style="margin-bottom:12pt">>>> [ run /boost/tools/inspect//inspect/<variant>release<br>>>> : .. -text -brief # command line<br> >><br>>> You just need to root .. by using path-constant.<br>>><br>><br>> Sorry, that's way above my bjam skill level. And since use of inspect in<br>> this context is almost always going to need command line arguments, the ..<br> > doesn't appear to be a problem.<br>><u></u><u></u></p></div><p class="MsoNormal">What I mean is that passing a literal .. won't work<br>when bjam is run from a different directory<br>(status/ for instance).<br> <br>path-constant parent : .. ;<br># ...<br>run ... : $(parent) -text -brief ;<u></u><u></u></p></div><p class="MsoNormal"><u></u> <u></u></p></div><div><p class="MsoNormal" style="margin-bottom:12pt">I've now tested this and it worked fine, AFAICS.<u></u><u></u></p> </div><div><p class="MsoNormal" style="margin-bottom:12pt">All changes to inspect, timer, and the super have been merged to master.</p></div></div></div></div></div></div></div></blockquote><div>Actually, I didn't push the timer changes to master until a few minutes ago. <br> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div link="blue" vlink="purple" lang="EN-GB"><div><div style="border-width:medium medium medium 1.5pt;border-style:none none none solid;border-color:-moz-use-text-color -moz-use-text-color -moz-use-text-color blue;padding:0mm 0mm 0mm 4pt"> <div><div><div class="h5"><div><p class="MsoNormal" style="margin-bottom:12pt"><u></u><u></u></p></div></div></div><div><p class="MsoNormal" style="margin-bottom:12pt"><span style="color:rgb(31,73,125)">This is a Really Useful Thing.</span><br> </p></div></div></div></div></div></blockquote></div>I'm hoping so.<br><br></div><div class="gmail_extra">Please give it a try and report any problems. Once it is working smoothly, I'll post a note to the main list letting maintainers know how to use it. Basically, what you do is to update your test Jamfile.v2:<br> <br></div><div class="gmail_extra">* Before anything else, add:<br><br><span style="font-family:courier new,monospace"> path-constant parent : .. ; # so that inspect will start in boost-root/libs/timer<br> # when run from another directory, such as boost-root/status<br> </span><br></div><div class="gmail_extra">* In the test-suite section add:<br><br><span style="font-family:courier new,monospace"> [ run /boost/tools/inspect//inspect/<variant>release<br> : $(parent) -text -brief # command line<br> : # input files<br> : <dependency>/boost/filesystem//boost_filesystem<br> <test-info>always_show_run_output # requirements<br> : inspect # test name<br> ]<br></span><br></div><div class="gmail_extra"> Happy New Year,<br><br></div><div class="gmail_extra">--Beman<br></div><div class="gmail_extra"> <br></div><div class="gmail_extra"><br></div><div class="gmail_extra"><br></div></div>