<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">&lt;<a href="mailto:pbristow@hetp.u-net.com" target="_blank">pbristow@hetp.u-net.com</a>&gt;</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:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:rgb(31,73,125)"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:11pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;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:&quot;Tahoma&quot;,&quot;sans-serif&quot;" lang="EN-US">From:</span></b><span style="font-size:10pt;font-family:&quot;Tahoma&quot;,&quot;sans-serif&quot;" 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&#39;s and user&#39;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 &lt;<a href="mailto:watanabesj@gmail.com" target="_blank">watanabesj@gmail.com</a>&gt; 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>&gt; On Fri, Dec 20, 2013 at 10:43 AM, Steven Watanabe &lt;<a href="mailto:watanabesj@gmail.com" target="_blank">watanabesj@gmail.com</a>&gt;wrote:<br>
&gt;<u></u><u></u></p></div><div><p class="MsoNormal">&gt;&gt; On 12/20/2013 07:10 AM, Beman Dawes wrote:<br>&gt;&gt;&gt; On Thu, Dec 19, 2013 at 10:54 AM, Vladimir Prus &lt;<a href="mailto:ghost@cs.msu.su" target="_blank">ghost@cs.msu.su</a>&gt; wrote:<br>
&gt;&gt;&gt;<u></u><u></u></p></div><div><p class="MsoNormal" style="margin-bottom:12pt">&gt;&gt;&gt;      [ run /boost/tools/inspect//inspect/&lt;variant&gt;release<br>&gt;&gt;&gt;        : .. -text -brief # command line<br>
&gt;&gt;<br>&gt;&gt; You just need to root .. by using path-constant.<br>&gt;&gt;<br>&gt;<br>&gt; Sorry, that&#39;s way above my bjam skill level. And since use of inspect in<br>&gt; this context is almost always going to need command line arguments, the ..<br>
&gt; doesn&#39;t appear to be a problem.<br>&gt;<u></u><u></u></p></div><p class="MsoNormal">What I mean is that passing a literal .. won&#39;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&#39;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&#39;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&#39;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&#39;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/&lt;variant&gt;release<br>       : $(parent) -text -brief # command line<br>
       : # input files<br>       : &lt;dependency&gt;/boost/filesystem//boost_filesystem<br>         &lt;test-info&gt;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>