summaryrefslogtreecommitdiffstats
path: root/vespamalloc/src/tests/allocfree/CMakeLists.txt
diff options
context:
space:
mode:
Diffstat (limited to 'vespamalloc/src/tests/allocfree/CMakeLists.txt')
-rw-r--r--vespamalloc/src/tests/allocfree/CMakeLists.txt23
1 files changed, 23 insertions, 0 deletions
diff --git a/vespamalloc/src/tests/allocfree/CMakeLists.txt b/vespamalloc/src/tests/allocfree/CMakeLists.txt
new file mode 100644
index 00000000000..1dc36f8dec7
--- /dev/null
+++ b/vespamalloc/src/tests/allocfree/CMakeLists.txt
@@ -0,0 +1,23 @@
+# Copyright 2016 Yahoo Inc. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
+vespa_add_executable(vespamalloc_creatingmanythreads_test_app
+ SOURCES
+ creatingmanythreads.cpp
+)
+vespa_add_executable(vespamalloc_allocfree_shared_test_app
+ SOURCES
+ allocfree.cpp
+ producerconsumer.cpp
+)
+vespa_add_test(NAME vespamalloc_allocfree_shared_test_app NO_VALGRIND COMMAND sh allocfree_test.sh BENCHMARK)
+vespa_add_executable(vespamalloc_realloc_test_app
+ SOURCES
+ realloc.cpp
+)
+vespa_add_executable(vespamalloc_linklist_test_app
+ SOURCES
+ linklist.cpp
+ producerconsumer.cpp
+ ../../vespamalloc/malloc/allocchunk.cpp
+ ../../vespamalloc/malloc/common.cpp
+ $<TARGET_OBJECTS:vespamalloc_util>
+)