summaryrefslogtreecommitdiff
path: root/src/Makefile.am
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2012-02-12 01:23:48 +0300
committerAndrei Karas <akaras@inbox.ru>2012-02-12 01:23:48 +0300
commit6d3f7abf7fa4502b0de347c69a81e1c65e0cae19 (patch)
tree0dbc6733d861d3bcc71b317972340dd5c6066dbc /src/Makefile.am
parent541bd299d521666d7d02b4f36b75f31dd8a2d64f (diff)
downloadManaVerse-6d3f7abf7fa4502b0de347c69a81e1c65e0cae19.tar.gz
ManaVerse-6d3f7abf7fa4502b0de347c69a81e1c65e0cae19.tar.bz2
ManaVerse-6d3f7abf7fa4502b0de347c69a81e1c65e0cae19.tar.xz
ManaVerse-6d3f7abf7fa4502b0de347c69a81e1c65e0cae19.zip
Add unit tests for stringutils.
Diffstat (limited to 'src/Makefile.am')
-rw-r--r--src/Makefile.am9
1 files changed, 5 insertions, 4 deletions
diff --git a/src/Makefile.am b/src/Makefile.am
index 62b762af6..3fad9f3ce 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -21,10 +21,6 @@ else
manaplus_SOURCES =
endif
-if ENABLE_UNITTESTS
-manaplus_CXXFLAGS += -DUNITTESTS
-endif
-
if USE_INTERNALGUICHAN
manaplus_CXXFLAGS += -DUSE_INTERNALGUICHAN
manaplus_SOURCES += guichan/include/guichan/actionevent.hpp \
@@ -785,6 +781,11 @@ manaplus_SOURCES += \
mumblemanager.cpp \
mumblemanager.h
+if ENABLE_UNITTESTS
+manaplus_CXXFLAGS += -DUNITTESTS
+manaplus_SOURCES += \
+ utils/stringutils_unittest.cc
+endif
EXTRA_DIST = CMakeLists.txt \
winver.h.in \