Commit 03bcd203 authored by math's avatar math
Browse files


 * Added cxxtest to OTHER_LIBS in our brainLinter
 * Added new cocheck target to check all things before commiting
 * fixed some style issues which I forgot
parent dbb7517c
......@@ -85,6 +85,13 @@ ADD_CUSTOM_TARGET(stylecheck
COMMENT "Check if code complies to CodingStandard" )
# Prints the verbose output of the test runners, so you may identify the source of error early, if any
COMMAND make test ARGS="-V"
COMMENT "Runs the test in verboseness to see what actually went wrong" )
# Checks if all is well to commit (aka commitCheck, cocheck)
COMMAND make test && make stylecheck
COMMENT "Checks if all is well to commit" )
......@@ -24,6 +24,8 @@
#include <string>
#include <cxxtest/TestSuite.h>
#include "../WOptionHandler.h"
......@@ -74,7 +76,7 @@ public:
WOptionHandler th( argc, arg );
TS_ASSERT_THROWS_EQUALS( th.parseOptions(), po::error &e, std::string( e.what() ),
"unknown option thisoptiondoesnotexist");
"unknown option thisoptiondoesnotexist" );
......@@ -198,7 +198,7 @@ _CPP_HEADERS = frozenset([
# Other heders which are include like system headers, starting with a '<'
_OTHER_HEADERS = frozenset([
'QtGui', 'GL'
'QtGui', 'GL', 'cxxtest'
# Assertion macros. These are defined in base/logging.h and
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment