diff options
author | Tomasz Swierczek <t.swierczek@samsung.com> | 2020-01-30 10:08:22 +0100 |
---|---|---|
committer | Tomasz Swierczek <t.swierczek@samsung.com> | 2020-01-30 11:34:16 +0100 |
commit | 1755a4961e937408117970332cd6acd17ae3a5e4 (patch) | |
tree | fb09f9741ddabb047a4ff9a4ea05f80d9231b019 | |
parent | 2b3a28ccc014b2c836baf6377df398533e8615d8 (diff) | |
download | libwebappenc-submit/tizen/20200130.113030.tar.gz libwebappenc-submit/tizen/20200130.113030.tar.bz2 libwebappenc-submit/tizen/20200130.113030.zip |
Fix build for boost 1.71.0tizen_6.5.m2_releasetizen_6.0.m2_releasesubmit/tizen_6.5/20211028.162401submit/tizen_6.0_hotfix/20201103.114804submit/tizen_6.0_hotfix/20201102.192504submit/tizen_6.0/20201029.205104submit/tizen/20200130.113030accepted/tizen/unified/20200131.050459accepted/tizen/6.5/unified/20211028.122549accepted/tizen/6.0/unified/hotfix/20201103.004249accepted/tizen/6.0/unified/20201030.115204tizen_6.5tizen_6.0_hotfixtizen_6.0accepted/tizen_6.5_unifiedaccepted/tizen_6.0_unified_hotfixaccepted/tizen_6.0_unified
Change-Id: I5ed6e278880e1dfee014b0275008cd73059a0683
-rw-r--r-- | tests/colour_log_formatter.cpp | 17 | ||||
-rw-r--r-- | tests/colour_log_formatter.h | 1 |
2 files changed, 18 insertions, 0 deletions
diff --git a/tests/colour_log_formatter.cpp b/tests/colour_log_formatter.cpp index 041fef8..baa8b9d 100644 --- a/tests/colour_log_formatter.cpp +++ b/tests/colour_log_formatter.cpp @@ -120,6 +120,23 @@ colour_log_formatter::log_build_info(std::ostream &output) << BOOST_VERSION % 100 << std::endl; } + + +//____________________________________________________________________________// + +void +colour_log_formatter::log_build_info(std::ostream &output, bool log_build_info) +{ + if (log_build_info) + output << "Platform: " << BOOST_PLATFORM << '\n' + << "Compiler: " << BOOST_COMPILER << '\n' + << "STL : " << BOOST_STDLIB << '\n'; + + output << "Boost : " << BOOST_VERSION / 100000 << '.' + << BOOST_VERSION / 100 % 1000 << '.' + << BOOST_VERSION % 100 << std::endl; +} + //____________________________________________________________________________// void diff --git a/tests/colour_log_formatter.h b/tests/colour_log_formatter.h index 3de5899..37c2f7c 100644 --- a/tests/colour_log_formatter.h +++ b/tests/colour_log_formatter.h @@ -25,6 +25,7 @@ public: boost::unit_test::counter_t test_cases_amount); void log_finish(std::ostream &); void log_build_info(std::ostream &); + void log_build_info(std::ostream &output, bool log_build_info = true); void test_unit_start( std::ostream &, |