From a0a8ea66722ff75109eecb12a48b2487f103142a Mon Sep 17 00:00:00 2001 From: Andreas Schneider Date: Tue, 28 May 2013 14:53:40 +0200 Subject: tests: Add test as cmocka test. --- tests/CMakeLists.txt | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 tests/CMakeLists.txt (limited to 'tests/CMakeLists.txt') diff --git a/tests/CMakeLists.txt b/tests/CMakeLists.txt new file mode 100644 index 0000000..a93f450 --- /dev/null +++ b/tests/CMakeLists.txt @@ -0,0 +1,9 @@ +project(tests C) + +include_directories( + ${CMAKE_BINARY_DIR} + ${CMAKE_CURRENT_SOURCE_DIR} + ${CMOCKA_INCLUDE_DIR} +) + +add_cmocka_test(testsuite testsuite.c ${CMOCKA_LIBRARY}) -- cgit