[Boost-bugs] [Boost C++ Libraries] #9564: BOOST_CHECK(true) hangs on OS X 10.9 (Mavericks)

Subject: [Boost-bugs] [Boost C++ Libraries] #9564: BOOST_CHECK(true) hangs on OS X 10.9 (Mavericks)
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2014-01-12 23:48:58


#9564: BOOST_CHECK(true) hangs on OS X 10.9 (Mavericks)
-------------------------------------------+---------------------
 Reporter: Ilya Ivensky <ilya.ivensky@…> | Owner: rogeeff
     Type: Bugs | Status: new
Milestone: To Be Determined | Component: test
  Version: Boost 1.55.0 | Severity: Problem
 Keywords: |
-------------------------------------------+---------------------
 Using compiler:

 g++ -v
 Configured with: --prefix=/Applications/Xcode.app/Contents/Developer/usr
 --with-gxx-include-dir=/usr/include/c++/4.2.1
 Apple LLVM version 5.0 (clang-500.2.79) (based on LLVM 3.3svn)
 Target: x86_64-apple-darwin13.0.2
 Thread model: posix

 Test case: assuming the following test.cpp

 #include <boost/test/included/unit_test.hpp>
 using boost::unit_test_framework::test_suite;

 void foo()
 {
         BOOST_CHECK(true);
 }

 boost::unit_test_framework::test_suite * init_unit_test_suite(int argc,
 char *argv[])
 {
     test_suite* test = BOOST_TEST_SUITE("Matrix test suite");

     test->add(BOOST_TEST_CASE(&foo));

     return test;
 }

 int run_test(int argc, char* argv[])
 {
   boost::unit_test::init_unit_test_func init_func = &init_unit_test_suite;
   return ::boost::unit_test::unit_test_main(init_func, argc, argv );
 }

 Compilation:

 make all
 Building file: ../test.cpp
 Invoking: GCC C++ Compiler
 g++ -I/usr/local/include -O0 -g3 -Wall -c -fmessage-length=0 -MMD -MP
 -MF"test.d" -MT"test.d" -o "test.o" "../test.cpp"
 Finished building: ../test.cpp

 Building target: BoostTest
 Invoking: MacOS X C++ Linker
 g++ -L/usr/local/lib -o "BoostTest" ./test.o
 -lboost_unit_test_framework-mt
 Finished building target: BoostTest

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/9564>
Boost C++ Libraries <http://www.boost.org/>
Boost provides free peer-reviewed portable C++ source libraries.

This archive was generated by hypermail 2.1.7 : 2017-02-16 18:50:15 UTC