Wandbox
SettingsLog
SettingsLog
Language
GitHubLogin
Ran/Viewed Log

Author

anonymous

over 7 years ago

Language

Compiler

Options
Raw runtime options
--log_level=message

Author

anonymous

over 7 years ago

$ --log_level=message
In file included from /opt/wandbox/boost-1.66.0/gcc-7.2.0/include/boost/test/included/unit_test.hpp:18:0,
                 from prog.cc:8:
/opt/wandbox/boost-1.66.0/gcc-7.2.0/include/boost/test/impl/compiler_log_formatter.ipp: In member function 'virtual void boost::unit_test::output::compiler_log_formatter::log_entry_context(std::ostream&, boost::unit_test::log_level, boost::unit_test::const_string)':
/opt/wandbox/boost-1.66.0/gcc-7.2.0/include/boost/test/impl/compiler_log_formatter.ipp:285:76: warning: unused parameter 'l' [-Wunused-parameter]
 compiler_log_formatter::log_entry_context( std::ostream& output, log_level l, const_string context_descr )
                                                                            ^
In file included from /opt/wandbox/boost-1.66.0/gcc-7.2.0/include/boost/test/included/unit_test.hpp:19:0,
                 from prog.cc:8:
/opt/wandbox/boost-1.66.0/gcc-7.2.0/include/boost/test/impl/junit_log_formatter.ipp: In member function 'virtual void boost::unit_test::output::junit_log_formatter::log_entry_start(std::ostream&, const boost::unit_test::log_entry_data&, boost::unit_test::unit_test_log_formatter::log_entry_types)':
/opt/wandbox/boost-1.66.0/gcc-7.2.0/include/boost/test/impl/junit_log_formatter.ipp:645:9: warning: this statement may fall through [-Wimplicit-fallthrough=]
         if(m_log_level_internal > log_successful_tests) {
         ^~
/opt/wandbox/boost-1.66.0/gcc-7.2.0/include/boost/test/impl/junit_log_formatter.ipp:651:7: note: here
       case unit_test_log_formatter::BOOST_UTL_ET_MESSAGE:
       ^~~~
/opt/wandbox/boost-1.66.0/gcc-7.2.0/include/boost/test/impl/junit_log_formatter.ipp:653:9: warning: this statement may fall through [-Wimplicit-fallthrough=]
         if(m_log_level_internal > log_messages) {
         ^~
/opt/wandbox/boost-1.66.0/gcc-7.2.0/include/boost/test/impl/junit_log_formatter.ipp:659:7: note: here
       case unit_test_log_formatter::BOOST_UTL_ET_WARNING:
       ^~~~
In file included from /opt/wandbox/boost-1.66.0/gcc-7.2.0/include/boost/test/included/unit_test.hpp:22:0,
                 from prog.cc:8:
/opt/wandbox/boost-1.66.0/gcc-7.2.0/include/boost/test/impl/framework.ipp: In function 'void boost::unit_test::framework::run(boost::unit_test::test_unit_id, bool)':
/opt/wandbox/boost-1.66.0/gcc-7.2.0/include/boost/test/impl/framework.ipp:1570:18: warning: this statement may fall through [-Wimplicit-fallthrough=]
             seed = static_cast<unsigned>( std::rand() ^ std::time( 0 ) ); // better init using std::rand() ^ ...
             ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/opt/wandbox/boost-1.66.0/gcc-7.2.0/include/boost/test/impl/framework.ipp:1571:9: note: here
         default:
         ^~~~~~~
Running 1 test case...
test message!
prog.cc(60): error: in "test_plus": check result[0] == 100 has failed [1 != 100]
prog.cc(65): error: in "test_plus": check s == "World" has failed [hello != World]

*** 2 failures are detected in the test module "test_module"
Exit Code:
201