From 7d675c89b7e5d43429ce607344a44a1e01324da1 Mon Sep 17 00:00:00 2001 From: Arnstein Ressem Date: Wed, 24 Aug 2016 11:18:47 +0200 Subject: Fixed benchmarks to run out of source (except those not working in source). --- vespamalloc/src/tests/allocfree/CMakeLists.txt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'vespamalloc') 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 -- cgit v1.2.3