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.txt3
1 files changed, 2 insertions, 1 deletions
diff --git a/vespamalloc/src/tests/allocfree/CMakeLists.txt b/vespamalloc/src/tests/allocfree/CMakeLists.txt
index 08588fa6aa6..494e2ac3640 100644
--- a/vespamalloc/src/tests/allocfree/CMakeLists.txt
+++ b/vespamalloc/src/tests/allocfree/CMakeLists.txt
@@ -8,7 +8,8 @@ vespa_add_executable(vespamalloc_allocfree_shared_test_app
allocfree.cpp
producerconsumer.cpp
)
-vespa_add_test(NAME vespamalloc_allocfree_shared_test_app NO_VALGRIND COMMAND sh allocfree_test.sh BENCHMARK)
+vespa_add_test(NAME vespamalloc_allocfree_shared_test_app NO_VALGRIND COMMAND ${CMAKE_CURRENT_SOURCE_DIR}/allocfree_test.sh BENCHMARK
+ DEPENDS vespamalloc_allocfree_shared_test_app)
vespa_add_executable(vespamalloc_realloc_test_app
SOURCES
realloc.cpp