Skip to content

Commit

Permalink
cmake: add sd_backenddir to the environment and config of droplet-test
Browse files Browse the repository at this point in the history
  • Loading branch information
franku committed Jul 20, 2020
1 parent bf512b6 commit 9eb3c9f
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions systemtests/CMakeLists.txt
Expand Up @@ -307,6 +307,7 @@ macro(prepare_testdir_for_daemon_run)
set(piddir ${current_test_directory}/piddir)

set(backenddir ${BACKEND_DIR_TO_TEST})
set(sd_backenddir ${SD_BACKEND_DIR})
set(BAREOS_WEBUI_PUBLIC_DIR ${WEBUI_PUBLIC_DIR_TO_TEST})

if(RUN_SYSTEMTESTS_ON_INSTALLED_FILES)
Expand Down Expand Up @@ -487,6 +488,7 @@ else() # run systemtests on source and compiled files

get_target_property(FD_PLUGINS_DIR_TO_TEST bpipe-fd BINARY_DIR)
get_target_property(SD_PLUGINS_DIR_TO_TEST autoxflate-sd BINARY_DIR)
get_target_property(SD_BACKEND_DIR bareossd-droplet BINARY_DIR)
if(TARGET bareossd-gfapi)
get_target_property(SD_GFAPI_DIR_TO_TEST bareossd-gfapi BINARY_DIR)
endif()
Expand Down
1 change: 1 addition & 0 deletions systemtests/environment.in
Expand Up @@ -35,6 +35,7 @@ archivedir=@archivedir@
logdir=@logdir@

export backenddir=@backenddir@
export sd_backenddir=@sd_backenddir@

export dir_password=@dir_password@
export sd_password=@sd_password@
Expand Down
Expand Up @@ -8,6 +8,7 @@ Storage {
#
# Plugin Directory = "@python_plugin_module_src_sd@"
# Plugin Names = ""
BackendDirectory = "@sd_backenddir@"
Working Directory = "@working_dir@"
Pid Directory = "@piddir@"
SD Port = @sd_port@
Expand Down

0 comments on commit 9eb3c9f

Please sign in to comment.