summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemko Tronçon <git@el-tramo.be>2011-05-28 07:40:20 (GMT)
committerRemko Tronçon <git@el-tramo.be>2011-05-28 07:40:27 (GMT)
commit1729793f2a5e9bd78138e86084a6efc386badfd0 (patch)
tree017c0203c1ce94374ad9a77d485a051551c36e54 /QA/Checker/checker.cpp
parent1e459a94523e5cc71c21ce1a31645d174c1fabe3 (diff)
downloadswift-contrib-1729793f2a5e9bd78138e86084a6efc386badfd0.zip
swift-contrib-1729793f2a5e9bd78138e86084a6efc386badfd0.tar.bz2
Added --debug flag to checker.
Diffstat (limited to 'QA/Checker/checker.cpp')
-rw-r--r--QA/Checker/checker.cpp5
1 files changed, 5 insertions, 0 deletions
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);
}