add unit testcase for tarscpp

This commit is contained in:
huiyongchen 2019-01-16 20:50:55 +08:00
parent 0ba2cecacb
commit 22693bdf1b
49 changed files with 8 additions and 0 deletions

3
.gitmodules vendored
View File

@ -1,3 +1,6 @@
[submodule "servant/protocol"] [submodule "servant/protocol"]
path = servant/protocol path = servant/protocol
url = https://github.com/TarsCloud/TarsProtocol.git url = https://github.com/TarsCloud/TarsProtocol.git
[submodule "unittest"]
path = unittest
url = https://github.com/TarsCloud/tars-unittest.git

View File

@ -10,6 +10,10 @@ set(MYSQL_DIR_LIB "/usr/local/mysql/lib")
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11 -g -O2 -Wall -Wno-deprecated") set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11 -g -O2 -Wall -Wno-deprecated")
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -g -O2 -Wall -Wno-deprecated") set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -g -O2 -Wall -Wno-deprecated")
#for coverage statistics
#set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11 -g -O2 -Wall -Wno-deprecated -fprofile-arcs -ftest-coverage")
#set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -g -O2 -Wall -Wno-deprecated -fprofile-arcs -ftest-coverage")
#set(CMAKE_BUILD_TYPE "Debug") #set(CMAKE_BUILD_TYPE "Debug")
set(TARS_VERSION "1.1.0") set(TARS_VERSION "1.1.0")

1
unittest Submodule

@ -0,0 +1 @@
Subproject commit e663956b02aa72f9491f759263da89d62502f7e8