diff options
author | kwolekr <kwolekr@minetest.net> | 2015-04-26 01:24:19 -0400 |
---|---|---|
committer | kwolekr <kwolekr@minetest.net> | 2015-04-26 15:08:54 -0400 |
commit | 7220ca906dfc804bd508336f5bed252bcec62ae0 (patch) | |
tree | 6a61f536227510a57b023019271084450042a7ad /src/CMakeLists.txt | |
parent | 45a77c8bf1a744edc1642d717579281cf988f8dd (diff) | |
download | hax-minetest-server-7220ca906dfc804bd508336f5bed252bcec62ae0.tar.gz hax-minetest-server-7220ca906dfc804bd508336f5bed252bcec62ae0.zip |
Tests: Modularize unit testing
Split unit tests into separate files under src/unittest/
Give better unittest diagnostics
Clean up some code
Diffstat (limited to 'src/CMakeLists.txt')
-rw-r--r-- | src/CMakeLists.txt | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index 13e900647..3a8a432ea 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -278,13 +278,9 @@ add_custom_target(GenerateVersion add_subdirectory(jthread) add_subdirectory(network) add_subdirectory(script) +add_subdirectory(unittest) add_subdirectory(util) - -set (unittests_SRCS - test.cpp -) - set(common_SRCS ban.cpp cavegen.cpp @@ -360,7 +356,7 @@ set(common_SRCS ${JTHREAD_SRCS} ${common_SCRIPT_SRCS} ${UTIL_SRCS} - ${unittests_SRCS} + ${UNITTEST_SRCS} ) |