diff options
author | Andrei Karas <akaras@inbox.ru> | 2012-02-12 01:23:48 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2012-02-12 01:23:48 +0300 |
commit | 6d3f7abf7fa4502b0de347c69a81e1c65e0cae19 (patch) | |
tree | 0dbc6733d861d3bcc71b317972340dd5c6066dbc /src/Makefile.am | |
parent | 541bd299d521666d7d02b4f36b75f31dd8a2d64f (diff) | |
download | manaplus-6d3f7abf7fa4502b0de347c69a81e1c65e0cae19.tar.gz manaplus-6d3f7abf7fa4502b0de347c69a81e1c65e0cae19.tar.bz2 manaplus-6d3f7abf7fa4502b0de347c69a81e1c65e0cae19.tar.xz manaplus-6d3f7abf7fa4502b0de347c69a81e1c65e0cae19.zip |
Add unit tests for stringutils.
Diffstat (limited to 'src/Makefile.am')
-rw-r--r-- | src/Makefile.am | 9 |
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 \ |