aboutsummaryrefslogtreecommitdiff
path: root/tests/CMakeLists.txt
diff options
context:
space:
mode:
authorAndreas Schneider <asn@cryptomilk.org>2013-12-23 16:00:07 +0100
committerAndreas Schneider <asn@cryptomilk.org>2013-12-23 16:00:07 +0100
commit3fca34362115c256fffce3dd68ff878c86153c95 (patch)
tree9110b50243fd614a6e829c765d3e107ae6d3b776 /tests/CMakeLists.txt
parent417b92df7023a32c0b2775d59f1816b629e0a9b9 (diff)
downloadcmocka-3fca34362115c256fffce3dd68ff878c86153c95.tar.gz
cmocka-3fca34362115c256fffce3dd68ff878c86153c95.tar.xz
cmocka-3fca34362115c256fffce3dd68ff878c86153c95.zip
tests: Add test_assert_macros.
Diffstat (limited to 'tests/CMakeLists.txt')
-rw-r--r--tests/CMakeLists.txt14
1 files changed, 14 insertions, 0 deletions
diff --git a/tests/CMakeLists.txt b/tests/CMakeLists.txt
new file mode 100644
index 0000000..019cb3e
--- /dev/null
+++ b/tests/CMakeLists.txt
@@ -0,0 +1,14 @@
+project(tests C)
+
+include_directories(
+ ${CMAKE_BINARY_DIR}
+ ${CMAKE_CURRENT_SOURCE_DIR}
+ ${CMAKE_SOURCE_DIR}/include
+)
+
+set(CMOCKA_TESTS
+ test_assert_macros)
+
+foreach(_CMOCKA_TEST ${CMOCKA_TESTS})
+ add_cmocka_test(${_CMOCKA_TEST} ${_CMOCKA_TEST}.c ${CMOCKA_SHARED_LIBRARY})
+endforeach()