From 1729793f2a5e9bd78138e86084a6efc386badfd0 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Remko=20Tron=C3=A7on?= <git@el-tramo.be>
Date: Sat, 28 May 2011 09:40:20 +0200
Subject: Added --debug flag to checker.


diff --git a/QA/Checker/checker.cpp b/QA/Checker/checker.cpp
index 1870b5d..12237dc 100644
--- a/QA/Checker/checker.cpp
+++ b/QA/Checker/checker.cpp
@@ -13,6 +13,8 @@
 #include <cppunit/TextTestProgressListener.h>
 #include <cppunit/TextOutputter.h>
 
+#include <Swiften/Base/Log.h>
+
 int main(int argc, char* argv[]) {
 	bool verbose = false;
 	bool outputXML = false;
@@ -27,6 +29,9 @@ int main(int argc, char* argv[]) {
 		else if (param == "--xml") {
 			outputXML = true;
 		}
+		else if (param == "--debug") {
+			Swift::logging = true;
+		}
 		else {
 			testsToRun.push_back(param);
 		}
-- 
cgit v0.10.2-6-g49f6