Boost C++ Libraries: Ticket #13149: Dependency decorators on parent suites https://svn.boost.org/trac10/ticket/13149 <p> Dependency decorators on parent suites are not honored when a nested test selected to run via command line </p> <p> Given the following code: </p> <pre class="wiki"> #define BOOST_TEST_DYN_LINK #define BOOST_TEST_MODULE my_tests #include &lt;boost/test/unit_test.hpp&gt; BOOST_AUTO_TEST_SUITE(suite1, *boost::unit_test::depends_on("suite2")) BOOST_AUTO_TEST_SUITE(suite1_nested) BOOST_AUTO_TEST_CASE(suite1_test1) { BOOST_CHECK(true); } BOOST_AUTO_TEST_SUITE_END() BOOST_AUTO_TEST_SUITE_END() BOOST_AUTO_TEST_SUITE(suite2) BOOST_AUTO_TEST_CASE(suite2_test2) { BOOST_CHECK(true); } BOOST_AUTO_TEST_SUITE_END() </pre><p> And running with the following command line: </p> <p> ./test.o --log_level=all --run_test=suite1/suite1_nested </p> <p> The output is as follows: </p> <hr /> <p> Running 1 test case... </p> <p> Entering test module "my_tests" </p> <p> main.cpp(7): Test suite "suite1" is skipped because dependency test suite "suite2" is disabled </p> <p> Leaving test module "my_tests"; testing time: 24us </p> <p> <strong>* Errors were detected in the test module "my_tests"; see standard output for details </strong></p> <hr /> <p> <strong>Expected:</strong> The parent's suite (suite1) dependency is honored, and the tests are run. </p> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/13149 Trac 1.4.3 namezero@… Sun, 06 Aug 2017 11:09:01 GMT <link>https://svn.boost.org/trac10/ticket/13149#comment:1 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/13149#comment:1</guid> <description> <p> See running example: </p> <p> <a class="ext-link" href="http://coliru.stacked-crooked.com/a/018bd236999a68f3"><span class="icon">​</span>http://coliru.stacked-crooked.com/a/018bd236999a68f3</a> </p> </description> <category>Ticket</category> </item> <item> <dc:creator>anonymous</dc:creator> <pubDate>Sun, 06 Aug 2017 11:13:41 GMT</pubDate> <title/> <link>https://svn.boost.org/trac10/ticket/13149#comment:2 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/13149#comment:2</guid> <description> <p> Pull request <a class="closed ticket" href="https://svn.boost.org/trac10/ticket/117" title="#117: Bugs: GCC fails w/lagged_fibonacci (closed: Rejected)">#117</a> with patch: </p> <p> <a class="ext-link" href="https://github.com/boostorg/test/pull/117/commits/6b7e8dcb2517c3fd00e8a4818d20a03d1c053e38"><span class="icon">​</span>https://github.com/boostorg/test/pull/117/commits/6b7e8dcb2517c3fd00e8a4818d20a03d1c053e38</a> </p> </description> <category>Ticket</category> </item> <item> <dc:creator>Raffi Enficiaud</dc:creator> <pubDate>Tue, 29 Aug 2017 21:39:32 GMT</pubDate> <title>milestone changed https://svn.boost.org/trac10/ticket/13149#comment:3 https://svn.boost.org/trac10/ticket/13149#comment:3 <ul> <li><strong>milestone</strong> <span class="trac-field-old">To Be Determined</span> → <span class="trac-field-new">Boost 1.66.0</span> </li> </ul> Ticket Raffi Enficiaud Wed, 06 Sep 2017 10:32:59 GMT owner, status changed https://svn.boost.org/trac10/ticket/13149#comment:4 https://svn.boost.org/trac10/ticket/13149#comment:4 <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">new</span> → <span class="trac-field-new">assigned</span> </li> </ul> Ticket Raffi Enficiaud Thu, 18 Jan 2018 08:25:29 GMT milestone changed https://svn.boost.org/trac10/ticket/13149#comment:5 https://svn.boost.org/trac10/ticket/13149#comment:5 <ul> <li><strong>milestone</strong> <span class="trac-field-old">Boost 1.66.0</span> → <span class="trac-field-new">Boost 1.67.0</span> </li> </ul> Ticket Raffi Enficiaud Mon, 22 Jan 2018 13:07:13 GMT status changed; resolution set https://svn.boost.org/trac10/ticket/13149#comment:6 https://svn.boost.org/trac10/ticket/13149#comment:6 <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> On master </p> Ticket