Manual configuration of Log settings is no longer needed.
This commit is contained in:
@@ -8,7 +8,6 @@
|
||||
* 3-clause BSD license along with mlpack. If not, see
|
||||
* http://www.opensource.org/licenses/BSD-3-Clause for more information.
|
||||
*/
|
||||
#include <iostream>
|
||||
#include <mlpack/core.hpp>
|
||||
|
||||
// #define CATCH_CONFIG_MAIN // catch.hpp will define main()
|
||||
@@ -24,19 +23,10 @@ int main(int argc, char** argv)
|
||||
*/
|
||||
// size_t seed = std::time(NULL);
|
||||
// mlpack::math::RandomSeed(seed);
|
||||
#ifndef TEST_VERBOSE
|
||||
#ifdef DEBUG
|
||||
mlpack::Log::Debug.ignoreInput = true;
|
||||
#endif
|
||||
|
||||
mlpack::Log::Info.ignoreInput = true;
|
||||
mlpack::Log::Warn.ignoreInput = true;
|
||||
#endif
|
||||
|
||||
std::cout << "mlpack version: " << mlpack::util::GetVersion() << std::endl;
|
||||
std::cout << "armadillo version: " << arma::arma_version::as_string()
|
||||
<< std::endl;
|
||||
|
||||
|
||||
return Catch::Session().run(argc, argv);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user