From a03f9b6fb6cdaf480737faf37b9c244f46cd1a85 Mon Sep 17 00:00:00 2001 From: MerryMage Date: Sun, 20 Mar 2016 14:58:24 +0000 Subject: tests: Infrastructure for unit tests --- src/tests/CMakeLists.txt | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 src/tests/CMakeLists.txt (limited to 'src/tests/CMakeLists.txt') diff --git a/src/tests/CMakeLists.txt b/src/tests/CMakeLists.txt new file mode 100644 index 000000000..dc476616c --- /dev/null +++ b/src/tests/CMakeLists.txt @@ -0,0 +1,14 @@ +set(SRCS + tests.cpp + ) + +set(HEADERS + ) + +create_directory_groups(${SRCS} ${HEADERS}) + +include_directories(../../externals/catch/single_include/) + +add_executable(tests ${SRCS} ${HEADERS}) +target_link_libraries(tests core video_core audio_core common) +target_link_libraries(tests ${PLATFORM_LIBRARIES}) -- cgit v1.2.3 From 87de1ca96810eace7c3609d5b6ab7bfc93976c44 Mon Sep 17 00:00:00 2001 From: MerryMage Date: Thu, 19 May 2016 18:54:50 +0100 Subject: Tests: Run tests on CI --- src/tests/CMakeLists.txt | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/tests/CMakeLists.txt') diff --git a/src/tests/CMakeLists.txt b/src/tests/CMakeLists.txt index dc476616c..457c55571 100644 --- a/src/tests/CMakeLists.txt +++ b/src/tests/CMakeLists.txt @@ -12,3 +12,5 @@ include_directories(../../externals/catch/single_include/) add_executable(tests ${SRCS} ${HEADERS}) target_link_libraries(tests core video_core audio_core common) target_link_libraries(tests ${PLATFORM_LIBRARIES}) + +add_test(NAME tests COMMAND $) -- cgit v1.2.3