summaryrefslogtreecommitdiffstats
path: root/searchcorespi
diff options
context:
space:
mode:
authorArnstein Ressem <aressem@gmail.com>2016-09-14 08:45:26 +0200
committerGitHub <noreply@github.com>2016-09-14 08:45:26 +0200
commit4b194fbcf79d5af1731d960ce4abbc2574ba397d (patch)
tree49934000a4d61790615c7c7b71cbe415478c073d /searchcorespi
parent4bf517333b0616ce3e7947c28afb378cd10fe5c9 (diff)
Revert "Revert "Aressem/move messagebus test tests to separate module""
Diffstat (limited to 'searchcorespi')
-rw-r--r--searchcorespi/src/tests/plugin/CMakeLists.txt24
1 files changed, 14 insertions, 10 deletions
diff --git a/searchcorespi/src/tests/plugin/CMakeLists.txt b/searchcorespi/src/tests/plugin/CMakeLists.txt
index ef7f0ad316f..333f927c3d2 100644
--- a/searchcorespi/src/tests/plugin/CMakeLists.txt
+++ b/searchcorespi/src/tests/plugin/CMakeLists.txt
@@ -1,14 +1,28 @@
# Copyright 2016 Yahoo Inc. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
+vespa_add_library(searchcorespi_tplugin
+ SOURCES
+ plugin.cpp
+ DEPENDS
+)
+vespa_add_library(searchcorespi_illegal-plugin
+ SOURCES
+ empty.cpp
+ DEPENDS
+)
vespa_add_executable(searchcorespi_plugin_test_app TEST
SOURCES
plugin_test.cpp
DEPENDS
searchcorespi
+ AFTER
+ searchcorespi_tplugin
+ searchcorespi_illegal-plugin
)
vespa_add_test(
NAME searchcorespi_plugin_test_app
COMMAND searchcorespi_plugin_test_app
ENVIRONMENT "LD_LIBRARY_PATH=."
+ DEPENDS searchcorespi_tplugin searchcorespi_illegal-plugin
)
vespa_add_executable(searchcorespi_factoryregistry_test_app TEST
SOURCES
@@ -17,13 +31,3 @@ vespa_add_executable(searchcorespi_factoryregistry_test_app TEST
searchcorespi
)
vespa_add_test(NAME searchcorespi_factoryregistry_test_app COMMAND searchcorespi_factoryregistry_test_app)
-vespa_add_library(searchcorespi_tplugin
- SOURCES
- plugin.cpp
- DEPENDS
-)
-vespa_add_library(searchcorespi_illegal-plugin
- SOURCES
- empty.cpp
- DEPENDS
-)