[prev in list] [next in list] [prev in thread] [next in thread]
List: boost-testing
Subject: [Boost-testing] Error in docs or code when trying zero unit tests
From: Daryle Walker <darylew () hotmail ! com>
Date: 2011-12-14 0:57:11
Message-ID: BLU165-W18ADB551F0003F4DCD9216BFA20 () phx ! gbl
[Download RAW message or body]
[Woah, Hotmail's Web interface doesn't do unformatted mail; it implements it as \
formatted mail surrounded by <pre> tags and hex-conversion to almost all the \
punctuation!] When I tried the example on \
<http://www.boost.org/doc/libs/1_48_0/libs/test/doc/html/tutorials/new-year-resolution.html>:
//===#define BOOST_TEST_MODULE const_string test#include \
<boost/test/unit_test.hpp>//=== Instead of getting:
//===*** No errors detected//===
I got:
//===[Session started at 2011-12-11 18:18:15 -0500.]Test setup error: test tree is \
empty CRC Unit Test has exited with status 200.//===
(The first and last lines are from my compiler's IDE.) Either the docs are wrong \
claiming that an empty test program is OK, or the code is wrong for choking when \
running with zero unit tests. It's probably the former but I personally prefer the \
latter to be fixed instead.
_______________________________________________
Boost-Testing mailing list
Boost-Testing@lists.boost.org
http://lists.boost.org/mailman/listinfo.cgi/boost-testing
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic