Skip to content
This repository has been archived by the owner on Mar 19, 2021. It is now read-only.

Commit

Permalink
plugin-test: install plugin in setup
Browse files Browse the repository at this point in the history
instead in tests/plugin-test itself
  • Loading branch information
pstorz committed Apr 20, 2017
1 parent b9a9f8c commit faf67c8
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 5 deletions.
8 changes: 8 additions & 0 deletions scripts/setup
Expand Up @@ -112,6 +112,12 @@ cd ../..
cd src/tools
make installall
check_exit_code
cd ../..
# make -C not available on Solaris, therefore cd in subshell.
(
cd src/plugins/filed
make install-test-plugin
)

cd ${cwd}
bin/bareos stop
Expand All @@ -134,12 +140,14 @@ rm -rf build/.git

rm build/cscope.out
rm build/tags
rm build/git-log
rm -Rf build/src/ndmp

# remove object files
find build/ -name '*.o' | xargs rm
find build/ -name '*.so' | xargs rm
find build/ -name '*.lo' | xargs rm
find build/ -name '*.la' | xargs rm
find build/ -name '*.patch' | xargs rm
find build/ -name '.libs' | xargs rm -R

5 changes: 0 additions & 5 deletions tests/plugin-test
Expand Up @@ -9,11 +9,6 @@ JobName=pluginTest
scripts/cleanup
scripts/copy-plugin-confs

# make -C not available on Solaris, therefore cd in subshell.
(
cd $src/src/plugins/filed
make install-test-plugin
)

file=encrypt-bug.jpg
echo "${cwd}/README" >${cwd}/tmp/file-list
Expand Down

0 comments on commit faf67c8

Please sign in to comment.