diff options
| author | Tatsuhiro Tsujikawa <tatsuhiro.t@gmail.com> | 2013-07-05 21:08:03 +0900 |
|---|---|---|
| committer | Tatsuhiro Tsujikawa <tatsuhiro.t@gmail.com> | 2013-07-06 15:56:08 +0900 |
| commit | e823fe8bb5efb018648934ed6e047a515b4018bb (patch) | |
| tree | 894328d7f7e2d4bf1b7bd051153885f35d2f5d52 /test | |
| parent | 28d5c7408f82d051019ca8f29dc309c73e539bbe (diff) | |
Set log level DEBUG for unittests
Diffstat (limited to 'test')
| -rw-r--r-- | test/AllTest.cc | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/test/AllTest.cc b/test/AllTest.cc index e0cf13db..1522c6ee 100644 --- a/test/AllTest.cc +++ b/test/AllTest.cc @@ -10,6 +10,8 @@ #include "SocketCore.h" #include "util.h" #include "console.h" +#include "LogFactory.h" +#include "prefs.h" int main(int argc, char* argv[]) { aria2::global::initConsole(false); @@ -33,6 +35,9 @@ int main(int argc, char* argv[]) { // Create output directory aria2::util::mkdirs(A2_TEST_OUT_DIR); + aria2::LogFactory::setConsoleLogLevel(aria2::V_DEBUG); + aria2::LogFactory::reconfigure(); + CppUnit::Test* suite = CppUnit::TestFactoryRegistry::getRegistry().makeTest(); CppUnit::TextUi::TestRunner runner; runner.addTest(suite); |
