Review Request 109434: starts and shutdown gpg-agent for tests

Sandro Knauß mail at sandroknauss.de
Wed Mar 27 12:25:57 UTC 2013


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
http://git.reviewboard.kde.org/r/109434/
-----------------------------------------------------------

(Updated March 27, 2013, 12:25 p.m.)


Review request for KDEPIM and kdewin.


Changes
-------

delete some whitespaces.

@kdewin guys: will the script created by:
cmake/modules/kde4_crypto_exec_via_sh.cmake
working under windows?

under linux it is nessaccary, to set GNUPGHOME env varaiable and run the test command as arg of gpg-agent. Here a sample shell scrip created for linux:

LD_LIBRARY_PATH=/home/kdetest/kde/build/kdepim/lib/./:/home/kdetest/kde/inst/master/lib GNUPGHOME=/home/kdetest/kde/build/kdepim/messagecore/tests/gnupg_home gpg-agent --daemon "/home/kdetest/kde/build/kdepim/messagecomposer/tests/signjobtest" "$@"


Description
-------

To make sure that encryt test can run automatically f.ex. on jenkins a
running gpg-agent is nessaccary.

REVIEW: 109434


Diffs (updated)
-----

  cmake/modules/kde4_crypto_exec_via_sh.cmake PRE-CREATION 
  cmake/modules/kde4_handle_crypto_rpath_for_executable.cmake PRE-CREATION 
  messagecomposer/tests/CMakeLists.txt 8f08adc8b8a66942e14a777ae12235ebedfad988 
  messagecomposer/tests/cryptocomposertest.h 3862eea3eff43b10d9109d4ff1ddcdfa725f13ed 
  messagecomposer/tests/cryptocomposertest.cpp b398975f17e72031fd503645654fc0db03f413c1 
  messagecomposer/tests/encryptjobtest.h bfda50739fdbef4c161534be17111c0427b3d09d 
  messagecomposer/tests/encryptjobtest.cpp 3cdced3bbb167eef1574333b44c7ad7472bf502b 
  messagecomposer/tests/signencrypttest.h 941de3191eb961e781670606eb057e377a669426 
  messagecomposer/tests/signencrypttest.cpp a4ef6a7cd3ffdc4617132dc1aaaa35a1fd975d32 
  messagecomposer/tests/signjobtest.h 07c38d1f4ba42693036f8eee5cb8492aa830f625 
  messagecomposer/tests/signjobtest.cpp ce20db6d7a1c1d92cd77b43b1058bf4969074730 
  messagecore/tests/CMakeLists.txt ac4afec3c839c62de6a1729af10ec12eb347944b 
  messagecore/tests/gnupg_home/CMakeLists.txt 78db2f2f181fe4e82a39aa8b758530e044d061db 
  messagecore/tests/gnupg_home/gpg-agent.conf.in bebb85162fced8e26fe5f096e488d31652fe29a2 
  messagecore/tests/gnupg_home/gpgsm.conf 5caf0bddfcc9e83a664e7ef5c65ca118a89cf4e5 
  messagecore/tests/gnupg_home/gpgsm.conf.in PRE-CREATION 
  messagecore/tests/util.h 6807a51789ee25a4d75b811751424fb28a464aed 
  messagecore/tests/util.cpp 5dbc89c165995fa348bb7c7966de0809d74f0208 
  messageviewer/tests/CMakeLists.txt ba88108820c51228bfdc8f74aca0a6b86152c437 
  messageviewer/tests/rendertest.cpp 157ac995c2627a85bfdb115f722bbbba15ecdfc0 
  templateparser/tests/CMakeLists.txt 702525b60a8ca6f68540f00f38ff1888f85b4dbb 

Diff: http://git.reviewboard.kde.org/r/109434/diff/


Testing
-------

grep MessageCore::Test::getKeys
grep MessageCore::Test::setupEnv

unset GPG_AGENT_INFO
unset GNUPGHOME

cd messagecomposer && make test
cd messageviewer && make test

ps aux | grep gpg-agent


Thanks,

Sandro Knauß

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-windows/attachments/20130327/d1804bfe/attachment.html>


More information about the Kde-windows mailing list