Opened 9 years ago
Closed 7 years ago
#9564 closed Bugs (worksforme)
BOOST_CHECK(true) hangs on OS X 10.9 (Mavericks)
Reported by: | 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)
Change History (2)
by , 9 years ago
comment:1 by , 7 years ago
Milestone: | To Be Determined → Boost 1.59.0 |
---|---|
Resolution: | → worksforme |
Status: | new → closed |
I can't reproduce this issue with new release. can you please give it a try
test case code