BOOST_MESSAGE got replaced by BOOST_TEST_MESSAGE in newer versions of boost
authorGerd von Egidy <gerd.von.egidy@intra2net.com>
Tue, 27 Jun 2017 09:05:00 +0000 (11:05 +0200)
committerGerd von Egidy <gerd.von.egidy@intra2net.com>
Tue, 27 Jun 2017 09:05:00 +0000 (11:05 +0200)
test/test_filefunc.cpp

index bf4e7e6..f3fa0c5 100644 (file)
@@ -158,7 +158,7 @@ BOOST_AUTO_TEST_CASE(DirTest1)
     BOOST_CHECK( ! names.empty() );
     BOOST_CHECK_EQUAL(I2n::get_dir_count(test_dir), names.size());
 
-    BOOST_MESSAGE("Looking for " << basename(__FILE__) << " in " << test_dir);
+    BOOST_TEST_MESSAGE("Looking for " << basename(__FILE__) << " in " << test_dir);
     StringVector::iterator it = std::find( names.begin(), names.end(), basename(__FILE__));
     BOOST_CHECK( it != names.end() );