diff --git a/src/mlpack/tests/main.cpp b/src/mlpack/tests/main.cpp index 4e5c125475..0ae410c452 100644 --- a/src/mlpack/tests/main.cpp +++ b/src/mlpack/tests/main.cpp @@ -25,7 +25,14 @@ int main(int argc, char** argv) //size_t seed = std::time(NULL); //srand((unsigned int) seed); //arma::arma_rng::set_seed(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 << "run test using Catch2" << std::endl;