diff options
author | Tomasz Swierczek <t.swierczek@samsung.com> | 2020-01-30 09:45:14 +0100 |
---|---|---|
committer | Tomasz Swierczek <t.swierczek@samsung.com> | 2020-01-30 11:37:40 +0100 |
commit | f40b597d613e4296621ee4c6a5c1951bc3479fb1 (patch) | |
tree | 02491c08ef54d7c135d6c29972474f72f2f0d041 | |
parent | 9a14623f4506cd3bbe6ad87b8be252c281c33209 (diff) | |
download | cert-checker-tizen_6.0.m2_release.tar.gz cert-checker-tizen_6.0.m2_release.tar.bz2 cert-checker-tizen_6.0.m2_release.zip |
Fix build break with boost 1.71.0tizen_6.0.m2_releasesubmit/tizen_6.0_hotfix/20201103.115105submit/tizen_6.0_hotfix/20201102.192905submit/tizen_6.0/20211029.144301submit/tizen_6.0/20201029.205505submit/tizen/20200130.112941accepted/tizen/unified/20200131.050454accepted/tizen/6.0/unified/hotfix/20201103.045511accepted/tizen/6.0/unified/20211029.081211accepted/tizen/6.0/unified/20201030.103110tizen_6.0_hotfixtizen_6.0accepted/tizen_6.0_unified_hotfixaccepted/tizen_6.0_unified
Change-Id: Ib05c9fdd7eb9f94a7226ae3ade32edccf5b1cac3
-rw-r--r-- | tests/colour_log_formatter.cpp | 14 | ||||
-rw-r--r-- | tests/colour_log_formatter.h | 1 |
2 files changed, 15 insertions, 0 deletions
diff --git a/tests/colour_log_formatter.cpp b/tests/colour_log_formatter.cpp index 4a9ea4f..dbf080c 100644 --- a/tests/colour_log_formatter.cpp +++ b/tests/colour_log_formatter.cpp @@ -124,6 +124,20 @@ colour_log_formatter::log_build_info(std::ostream &output) //____________________________________________________________________________// 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 colour_log_formatter::test_unit_start( std::ostream &output, test_unit const &tu) diff --git a/tests/colour_log_formatter.h b/tests/colour_log_formatter.h index 0717a6c..b617ce0 100644 --- a/tests/colour_log_formatter.h +++ b/tests/colour_log_formatter.h @@ -27,6 +27,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 &, |