aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authoripknHama <ipknhama@gmail.com>2014-09-14 20:04:27 +0900
committeripknHama <ipknhama@gmail.com>2014-09-14 20:04:27 +0900
commit532eb71e2bb7784dd3091fcb57d878de09ab75b8 (patch)
treee2bdfaef23b8cb53ffc0f258ce1b093738decc59 /tests
parentcfc3705ea4b53b30ad2022a7aa88aa752d85d2df (diff)
downloadcrow-532eb71e2bb7784dd3091fcb57d878de09ab75b8.tar.gz
crow-532eb71e2bb7784dd3091fcb57d878de09ab75b8.zip
add pragma once to settings.h, set log level to DEBUG for unittest
Diffstat (limited to 'tests')
-rw-r--r--tests/unittest.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/unittest.cpp b/tests/unittest.cpp
index b552ddc..818032f 100644
--- a/tests/unittest.cpp
+++ b/tests/unittest.cpp
@@ -2,6 +2,9 @@
#define CROW_ENABLE_DEBUG
#include <iostream>
#include <vector>
+#include "settings.h"
+#undef CROW_LOG_LEVEL
+#define CROW_LOG_LEVEL 0
#include "routing.h"
#include "utility.h"
#include "crow.h"