Add server-side unit tests
Former-commit-id: 1db8c846b260cccaa6dc21590554cca469f5ffce [formerly 08a850f788da4d0d8b7c9ce5517fedf096c592d8] [formerly ae83af3d9153471ab88c285a4dd903e50460e1b2 [formerly e744d24dbc26b54a851c4fff0d166ea702fa1c1d]] Former-commit-id: 8b0e0287c6a3f6fb456ff5c4a2f397ee3818d1d4 [formerly 35170cc7321b0bf5dcfe4813cd48b82afdb7ac07] Former-commit-id: 525a0269014feb28795553339ca9d3621a36654a
This commit is contained in:
@@ -38,7 +38,6 @@ TOOL.FilesExcluded = {
|
||||
"../SDK/**/LuaBinding_Renderer.*"
|
||||
}
|
||||
|
||||
|
||||
TOOL.Libraries = {
|
||||
"NazaraCore",
|
||||
"NazaraLua",
|
||||
|
||||
34
build/scripts/tools/unittests_server.lua
Normal file
34
build/scripts/tools/unittests_server.lua
Normal file
@@ -0,0 +1,34 @@
|
||||
TOOL.Name = "UnitTestsServer"
|
||||
|
||||
TOOL.Directory = "../tests"
|
||||
TOOL.EnableConsole = true
|
||||
TOOL.Kind = "Application"
|
||||
TOOL.TargetDirectory = TOOL.Directory
|
||||
|
||||
TOOL.Defines = {
|
||||
"NDK_SERVER"
|
||||
}
|
||||
|
||||
TOOL.Includes = {
|
||||
"../include"
|
||||
}
|
||||
|
||||
TOOL.Files = {
|
||||
"../tests/main.cpp",
|
||||
"../tests/Engine/**.cpp",
|
||||
"../tests/SDK/**.cpp"
|
||||
}
|
||||
|
||||
-- Excludes client-only files
|
||||
TOOL.FilesExcluded = {
|
||||
"../tests/Engine/Audio/**",
|
||||
"../tests/Engine/Graphics/**",
|
||||
"../tests/SDK/NDK/Application.cpp",
|
||||
"../tests/SDK/NDK/Systems/ListenerSystem.cpp",
|
||||
"../tests/SDK/NDK/Systems/RenderSystem.cpp"
|
||||
}
|
||||
|
||||
TOOL.Libraries = {
|
||||
"NazaraNetwork",
|
||||
"NazaraSDKServer"
|
||||
}
|
||||
Reference in New Issue
Block a user