Boost C++ Libraries: Ticket #1266: Implement -l option on Unix. https://svn.boost.org/trac10/ticket/1266 <p> Implement the time limit bjam option "-lx" on Unix so we can change regression testers, i.e. change regression.py, to use that option universally. </p> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/1266 Trac 1.4.3 Noel Belcourt Sat, 15 Sep 2007 15:34:46 GMT owner changed https://svn.boost.org/trac10/ticket/1266#comment:1 https://svn.boost.org/trac10/ticket/1266#comment:1 <ul> <li><strong>owner</strong> changed from <span class="trac-author">René Rivera</span> to <span class="trac-author">Noel Belcourt</span> </li> </ul> Ticket René Rivera Sun, 16 Sep 2007 21:41:42 GMT milestone changed https://svn.boost.org/trac10/ticket/1266#comment:2 https://svn.boost.org/trac10/ticket/1266#comment:2 <ul> <li><strong>milestone</strong> <span class="trac-field-old">To Be Determined</span> → <span class="trac-field-new">Boost.Jam 3.1.15</span> </li> </ul> Ticket René Rivera Mon, 17 Sep 2007 17:02:48 GMT status changed; resolution set https://svn.boost.org/trac10/ticket/1266#comment:3 https://svn.boost.org/trac10/ticket/1266#comment:3 <ul> <li><strong>status</strong> <span class="trac-field-old">new</span> → <span class="trac-field-new">closed</span> </li> <li><strong>resolution</strong> → <span class="trac-field-new">fixed</span> </li> </ul> Ticket René Rivera Mon, 17 Sep 2007 20:06:58 GMT status, type changed; resolution deleted https://svn.boost.org/trac10/ticket/1266#comment:4 https://svn.boost.org/trac10/ticket/1266#comment:4 <ul> <li><strong>status</strong> <span class="trac-field-old">closed</span> → <span class="trac-field-new">reopened</span> </li> <li><strong>type</strong> <span class="trac-field-old">Tasks</span> → <span class="trac-field-new">Bugs</span> </li> <li><strong>resolution</strong> <span class="trac-field-deleted">fixed</span> </li> </ul> <p> Seems the feature on Linux doesn't work for me. The root/tools/jam/test/option_l.jam test if failing for me in Unbuntu. </p> Ticket anonymous Mon, 17 Sep 2007 20:57:06 GMT <link>https://svn.boost.org/trac10/ticket/1266#comment:5 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/1266#comment:5</guid> <description> <p> Replying to <a class="ticket" href="https://svn.boost.org/trac10/ticket/1266#comment:4" title="Comment 4">grafik</a>: </p> <blockquote class="citation"> <p> Seems the feature on Linux doesn't work for me. The root/tools/jam/test/option_l.jam test if failing for me in Unbuntu. </p> </blockquote> <p> Hi Rene, </p> <p> I only added -lx support to execunix.c. I noticed in option_l.jam that you're using the SHELL command and, to the best of my knowledge, SHELL doesn't call execcmd, it goes directly to /bin/sh. </p> <p> So my question is, should I add support so that -lx works correctly for SHELL as well? </p> <p> -- Noel </p> </description> <category>Ticket</category> </item> <item> <dc:creator>Noel Belcourt</dc:creator> <pubDate>Mon, 17 Sep 2007 21:02:15 GMT</pubDate> <title/> <link>https://svn.boost.org/trac10/ticket/1266#comment:6 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/1266#comment:6</guid> <description> <p> Replying to <a class="ticket" href="https://svn.boost.org/trac10/ticket/1266#comment:5" title="Comment 5">anonymous</a>: </p> <blockquote class="citation"> <p> Replying to <a class="ticket" href="https://svn.boost.org/trac10/ticket/1266#comment:4" title="Comment 4">grafik</a>: </p> <blockquote class="citation"> <p> Seems the feature on Linux doesn't work for me. The root/tools/jam/test/option_l.jam test if failing for me in Unbuntu. </p> </blockquote> <p> Hi Rene, </p> <p> I only added -lx support to execunix.c. I noticed in option_l.jam that you're using the SHELL command and, to the best of my knowledge, SHELL doesn't call execcmd, it goes directly to /bin/sh. </p> </blockquote> <p> I believe builtin_shell calls popen to execute SHELL commands. </p> <blockquote class="citation"> <p> So my question is, should I add support so that -lx works correctly for SHELL as well? </p> </blockquote> </description> <category>Ticket</category> </item> <item> <dc:creator>René Rivera</dc:creator> <pubDate>Mon, 17 Sep 2007 21:08:43 GMT</pubDate> <title/> <link>https://svn.boost.org/trac10/ticket/1266#comment:7 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/1266#comment:7</guid> <description> <p> Replying to <a class="ticket" href="https://svn.boost.org/trac10/ticket/1266#comment:5" title="Comment 5">anonymous</a>: </p> <blockquote class="citation"> <p> Replying to <a class="ticket" href="https://svn.boost.org/trac10/ticket/1266#comment:4" title="Comment 4">grafik</a>: </p> <blockquote class="citation"> <p> Seems the feature on Linux doesn't work for me. The root/tools/jam/test/option_l.jam test if failing for me in Unbuntu. </p> </blockquote> <p> Hi Rene, </p> <p> I only added -lx support to execunix.c. I noticed in option_l.jam that you're using the SHELL command and, to the best of my knowledge, SHELL doesn't call execcmd, it goes directly to /bin/sh. </p> </blockquote> <p> The test uses SHELL to call bjam again so it can pass in the correct options, i.e. it's a recursive execution. </p> <blockquote class="citation"> <p> So my question is, should I add support so that -lx works correctly for SHELL as well? </p> </blockquote> <p> No. You can run the test individually if you want with: </p> <pre class="wiki">bjam -f option_l.jam -sBJAM_SUBTEST=1 -l2 </pre><p> The build action should fail. For me it's intermittent. Sometimes it works, but most times it doesn't. So I'm not sure how to replicate this. </p> </description> <category>Ticket</category> </item> <item> <dc:creator>Noel Belcourt</dc:creator> <pubDate>Mon, 17 Sep 2007 23:13:17 GMT</pubDate> <title/> <link>https://svn.boost.org/trac10/ticket/1266#comment:8 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/1266#comment:8</guid> <description> <p> Hi Rene, </p> <p> Does this test output look right? If so, I'll commit this patch. </p> <p> [kbelco@sahp7645 ~]$ cd /var/scratch/boost/tools/jam/test [kbelco@sahp7645 test]$ ./test.sh --- Testing SHELL builtin... --- Testing W32_GETREGNAMES builtin... --- Testing -d2 option... --- Testing -l option... --- Testing -n option... --- Testing -jN parallel execution of actions... --- Testing -jN parallel execution of multi-file actions... --- Testing var expansion... --- Testing var on target semantics... --- Testing var expansion... no file specified! </p> </description> <category>Ticket</category> </item> <item> <dc:creator>René Rivera</dc:creator> <pubDate>Mon, 17 Sep 2007 23:17:13 GMT</pubDate> <title/> <link>https://svn.boost.org/trac10/ticket/1266#comment:9 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/1266#comment:9</guid> <description> <p> Replying to <a class="ticket" href="https://svn.boost.org/trac10/ticket/1266#comment:8" title="Comment 8">noel_belcourt</a>: </p> <blockquote class="citation"> <p> Hi Rene, </p> <p> Does this test output look right? If so, I'll commit this patch. </p> <p> [kbelco@sahp7645 ~]$ cd /var/scratch/boost/tools/jam/test [kbelco@sahp7645 test]$ ./test.sh --- Testing SHELL builtin... --- Testing W32_GETREGNAMES builtin... --- Testing -d2 option... --- Testing -l option... --- Testing -n option... --- Testing -jN parallel execution of actions... --- Testing -jN parallel execution of multi-file actions... --- Testing var expansion... --- Testing var on target semantics... --- Testing var expansion... no file specified! </p> </blockquote> <p> Except for that last error, which is the test for the building process_jam_log bug I fixed today, it looks OK. So you might want to update to make sure it runs all the way through. At the end it will print a completion summary. </p> </description> <category>Ticket</category> </item> <item> <dc:creator>Noel Belcourt</dc:creator> <pubDate>Mon, 17 Sep 2007 23:24:15 GMT</pubDate> <title/> <link>https://svn.boost.org/trac10/ticket/1266#comment:10 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/1266#comment:10</guid> <description> <p> Replying to <a class="ticket" href="https://svn.boost.org/trac10/ticket/1266#comment:9" title="Comment 9">grafik</a>: </p> <blockquote class="citation"> <p> Replying to <a class="ticket" href="https://svn.boost.org/trac10/ticket/1266#comment:8" title="Comment 8">noel_belcourt</a>: </p> <blockquote class="citation"> <p> Hi Rene, </p> <p> Does this test output look right? If so, I'll commit this patch. </p> <p> [kbelco@sahp7645 ~]$ cd /var/scratch/boost/tools/jam/test [kbelco@sahp7645 test]$ ./test.sh --- Testing SHELL builtin... --- Testing W32_GETREGNAMES builtin... --- Testing -d2 option... --- Testing -l option... --- Testing -n option... --- Testing -jN parallel execution of actions... --- Testing -jN parallel execution of multi-file actions... --- Testing var expansion... --- Testing var on target semantics... --- Testing var expansion... no file specified! </p> </blockquote> <p> Except for that last error, which is the test for the building process_jam_log bug I fixed today, it looks OK. So you might want to update to make sure it runs all the way through. At the end it will print a completion summary. </p> </blockquote> <p> [kbelco@sahp7645 test]$ ./test.sh --- Testing SHELL builtin... --- Testing W32_GETREGNAMES builtin... --- Testing -d2 option... --- Testing -l option... --- Testing -n option... --- Testing -jN parallel execution of actions... --- Testing -jN parallel execution of multi-file actions... --- Testing var expansion... --- Testing var on target semantics... --- Testing var expansion... --- Complete: PASSED(30) *FAILED(0)* </p> <p> Okay, looks better. I'll get this committed soon. </p> </description> <category>Ticket</category> </item> <item> <dc:creator>Noel Belcourt</dc:creator> <pubDate>Tue, 18 Sep 2007 02:20:47 GMT</pubDate> <title>status changed; resolution set https://svn.boost.org/trac10/ticket/1266#comment:11 https://svn.boost.org/trac10/ticket/1266#comment:11 <ul> <li><strong>status</strong> <span class="trac-field-old">reopened</span> → <span class="trac-field-new">closed</span> </li> <li><strong>resolution</strong> → <span class="trac-field-new">fixed</span> </li> </ul> Ticket