comparison tests/plugin-auth/CMakeLists.txt @ 487:beb6c638b841

Tests: create plugin_test fixture, closes #677 Improve plugin tests by using a dedicated fixture which automatically loads the plugin and enable some modules on it.
author David Demelier <markand@malikania.fr>
date Fri, 11 Aug 2017 13:45:42 +0200
parents c6fbb6e0e06d
children
comparison
equal deleted inserted replaced
486:0b156b82b8c1 487:beb6c638b841
18 18
19 irccd_define_test( 19 irccd_define_test(
20 NAME plugin-auth 20 NAME plugin-auth
21 SOURCES main.cpp 21 SOURCES main.cpp
22 LIBRARIES libirccd 22 LIBRARIES libirccd
23 FLAGS PLUGINDIR=\"${IRCCD_FAKEROOTDIR}/${WITH_PLUGINDIR}\" 23 FLAGS
24 PLUGIN_NAME="auth"
25 PLUGIN_PATH="${CMAKE_SOURCE_DIR}/plugins/auth/auth.js"
24 ) 26 )