Opened 9 years ago

Closed 7 years ago

#9564 closed Bugs (worksforme)

BOOST_CHECK(true) hangs on OS X 10.9 (Mavericks)

Reported by: Ilya Ivensky <ilya.ivensky@…> Owned by: Gennadiy Rozental
Milestone: Boost 1.59.0 Component: test
Version: Boost 1.55.0 Severity: Problem
Keywords: Cc:

Description

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

Attachments (1)

test.cpp (590 bytes ) - added by Ilya Ivensky <ilya.ivensky@…> 9 years ago.
test case code

Download all attachments as: .zip

Change History (2)

by Ilya Ivensky <ilya.ivensky@…>, 9 years ago

Attachment: test.cpp added

test case code

comment:1 by Gennadiy Rozental, 7 years ago

Milestone: To Be DeterminedBoost 1.59.0
Resolution: worksforme
Status: newclosed

I can't reproduce this issue with new release. can you please give it a try

Note: See TracTickets for help on using tickets.