Browse files

cmake: add dependency from plugin tests to plugins

  • Loading branch information...
kodebach committed Oct 10, 2018
1 parent 7623f73 commit 46a23c47cfcf4e53fc235bae77296efd5fbe962f
Showing with 8 additions and 0 deletions.
  1. +6 −0 cmake/Modules/LibAddPlugin.cmake
  2. +2 −0 doc/news/
@@ -124,6 +124,12 @@ function (add_plugintest testname)
add_executable (${testexename} ${TEST_SOURCES})
add_dependencies (${testexename} kdberrors_generated)
add_dependencies (${testexename} elektra-${ARG_LINK_PLUGIN})
else ()
add_dependencies (${testexename} elektra-${testname})
endif ()
# ~~~
# alternative approach to restore_variable
@@ -237,6 +237,8 @@ you up to date with the multi-language support provided by Elektra.
Currently, the tests are only active for `dump` and `mmapstorage`. *(Mihael Pranjić)*
- The test `testcpp_contextual_basic` now compiles without warnings, if we use Clang 7 as compiler. *(René Schwaiger)*
- crypto, fcrypt and gpgme properly shut down the gpg-agent after the unit test is done. See #1973 . *(Peter Nirschl)*
- The CMake targets for plugin tests (`testmod_[plugin]`) now depend on the respective CMake targets for the plugins themselves
(`elektra-[plugin]`). *(Klemens Böswirth)*
[Markdown Shell Recorder]:

0 comments on commit 46a23c4

Please sign in to comment.