qa: Don't compile the expression match tests
authorManuel Nickschas <sputnick@quassel-irc.org>
Wed, 5 Sep 2018 20:11:56 +0000 (22:11 +0200)
committerManuel Nickschas <sputnick@quassel-irc.org>
Thu, 6 Sep 2018 06:02:07 +0000 (08:02 +0200)
Those are not used unless manually hacked in, and compiling them
causes warnings in some compiler setups, so don't compile the
tests at all.

They're still referenced in the CMakeLists.txt and can easily be
added back if desired. Longer term, they'll move into a real
test framework.

src/common/CMakeLists.txt

index 6a22061..d9bc71a 100644 (file)
@@ -16,7 +16,7 @@ set(SOURCES
     event.cpp
     eventmanager.cpp
     expressionmatch.cpp
     event.cpp
     eventmanager.cpp
     expressionmatch.cpp
-    expressionmatchtests.cpp
+    expressionmatchtests.cpp
     highlightrulemanager.cpp
     identity.cpp
     ignorelistmanager.cpp
     highlightrulemanager.cpp
     identity.cpp
     ignorelistmanager.cpp