Boost C++ Libraries: Ticket #6859: Boost.Test eats away last empty command line parameter https://svn.boost.org/trac10/ticket/6859 <p> If I create a unit test using Boost.Test framework and run it like this: </p> <p> ./unit_test -some_param "" -other_param "" </p> <p> then after framework initialization I get argc == 4 and argv containing only 3 command line parameters: "-some_param", "" and "-other_param". The last empty parameter gets eaten away. If the last parameters is not empty then everything works normally. </p> <p> I believe removing check "if (index != argc-1)" from argv_traverser::init in boost/test/utils/runtime/cla/argv_traverser.ipp should fix the problem. </p> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/6859 Trac 1.4.3 Gennadiy Rozental Wed, 30 Sep 2015 22:31:10 GMT status, milestone changed; resolution set https://svn.boost.org/trac10/ticket/6859#comment:1 https://svn.boost.org/trac10/ticket/6859#comment:1 <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> <li><strong>milestone</strong> <span class="trac-field-old">To Be Determined</span> → <span class="trac-field-new">Boost 1.60.0</span> </li> </ul> <p> This is addressed in trunk and is going to be released with next version of Boost </p> Ticket Raffi Enficiaud Tue, 27 Oct 2015 12:40:51 GMT status changed; resolution deleted https://svn.boost.org/trac10/ticket/6859#comment:2 https://svn.boost.org/trac10/ticket/6859#comment:2 <ul> <li><strong>status</strong> <span class="trac-field-old">closed</span> → <span class="trac-field-new">reopened</span> </li> <li><strong>resolution</strong> <span class="trac-field-deleted">fixed</span> </li> </ul> Ticket Raffi Enficiaud Tue, 27 Oct 2015 12:41:16 GMT owner, status changed https://svn.boost.org/trac10/ticket/6859#comment:3 https://svn.boost.org/trac10/ticket/6859#comment:3 <ul> <li><strong>owner</strong> changed from <span class="trac-author">Gennadiy Rozental</span> to <span class="trac-author">Raffi Enficiaud</span> </li> <li><strong>status</strong> <span class="trac-field-old">reopened</span> → <span class="trac-field-new">new</span> </li> </ul> <p> reopening for keeping track of the changes </p> Ticket Raffi Enficiaud Tue, 27 Oct 2015 12:53:50 GMT status changed https://svn.boost.org/trac10/ticket/6859#comment:4 https://svn.boost.org/trac10/ticket/6859#comment:4 <ul> <li><strong>status</strong> <span class="trac-field-old">new</span> → <span class="trac-field-new">assigned</span> </li> </ul> Ticket Raffi Enficiaud Mon, 02 Nov 2015 10:10:32 GMT status changed; resolution set https://svn.boost.org/trac10/ticket/6859#comment:5 https://svn.boost.org/trac10/ticket/6859#comment:5 <ul> <li><strong>status</strong> <span class="trac-field-old">assigned</span> → <span class="trac-field-new">closed</span> </li> <li><strong>resolution</strong> → <span class="trac-field-new">fixed</span> </li> </ul> <p> merged to master </p> Ticket