Skip to content
Snippets Groups Projects
Commit b159eb39 authored by armatusmiles's avatar armatusmiles
Browse files

[+] test module

parent 0b34239c
No related branches found
No related tags found
No related merge requests found
...@@ -50,3 +50,5 @@ modules.order ...@@ -50,3 +50,5 @@ modules.order
Module.symvers Module.symvers
Mkfile.old Mkfile.old
dkms.conf dkms.conf
*.txt.user
[submodule "libdap"]
path = libdap
url = https://github.com/kelvinblockchain/libdap
[submodule "libdap-server-core"]
path = libdap-server-core
url = https://github.com/kelvinblockchain/libdap-server-core
[submodule "libdap-server"]
path = libdap-server
url = https://github.com/kelvinblockchain/libdap-server
[submodule "libdap-server-udp"]
path = libdap-server-udp
url = https://github.com/kelvinblockchain/libdap-server-udp
[submodule "test/libdap-test"]
path = test/libdap-test
url = https://github.com/kelvinblockchain/libdap-test
[submodule "test/libdap-stream-ch"]
path = libdap-stream-ch
url = https://github.com/kelvinblockchain/libdap-stream-ch
[submodule "libdap-stream-ch"]
path = libdap-stream-ch
url = https://github.com/kelvinblockchain/libdap-stream-ch
project(libdap-stream C) project(libdap-stream C)
cmake_minimum_required(VERSION 2.8) cmake_minimum_required(VERSION 2.8)
if(NOT (${SUBMODULES_NO_BUILD} MATCHES ON))
set(SUBMODULES_NO_BUILD ON)
add_subdirectory(libdap)
add_subdirectory(libdap-server)
add_subdirectory(libdap-server-core)
add_subdirectory(libdap-server-udp)
add_subdirectory(libdap-stream-ch)
endif()
#if(BUILD_DAP_STREAM_TESTS)
enable_testing()
add_subdirectory(test)
#endif()
add_subdirectory(session) add_subdirectory(session)
add_subdirectory(stream) add_subdirectory(stream)
Subproject commit 842029d3892f8794ff7f1a85af6d024ce62e1796
Subproject commit 2d675d9e6d94ae8961f97af0ee7e16c2816a24af
Subproject commit a655fc5695e7da0b58c7cb5188d287dcf83f6939
Subproject commit 2564d01f7663a9b3fd0c30d9f2aefe0580b327cd
Subproject commit e12cd24dfca8b778cf63d1c957d04f7d2471f75c
if(TARGET libdap_stream_test)
return() # The project has already been built.
endif()
project(libdap_stream_test)
add_subdirectory(libdap-test)
file(GLOB SOURCES *.c)
file(GLOB HEADERS *.h)
add_executable(${PROJECT_NAME} ${SOURCES} ${HEADERS})
target_link_libraries(${PROJECT_NAME} dap_test dap_core)
add_test(
NAME libdap_stream_test
COMMAND libdap_stream_test
)
Subproject commit d2257789e0c796a5a3b637e14dcbaf8a8c7880cc
#include "dap_common.h"
int main(void) {
// switch off debug info from library
set_log_level(L_CRITICAL);
return 0;
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment