diff options
author | Mike Kazantsev <mk.fraggod@gmail.com> | 2013-02-11 13:56:03 +0100 |
---|---|---|
committer | Miklos Vajna <vmiklos@suse.cz> | 2013-02-11 13:56:03 +0100 |
commit | 65a5d154b052c9ff35a79eaf8e3405522c8737cc (patch) | |
tree | 8b1ee5c4017a597b2c1b0901592fca309582382a /protocols/skype | |
parent | e4f5ca868fc4313a6a9a00c5eda0a03767abc703 (diff) |
skype: mention --plugindir quirk in HACKING
As skype support always gets built as plugin, option is required
for running tests without installing plugin to the system.
Diffstat (limited to 'protocols/skype')
-rw-r--r-- | protocols/skype/HACKING | 15 |
1 files changed, 13 insertions, 2 deletions
diff --git a/protocols/skype/HACKING b/protocols/skype/HACKING index a6ff8290..edca0a45 100644 --- a/protocols/skype/HACKING +++ b/protocols/skype/HACKING @@ -19,8 +19,19 @@ python skyped.py -n -d == Tests -The plugin is tested with a mocked IRC client and a mocked skyped. To add a new -test, the following steps are necessary: +The plugin is tested with a mocked IRC client and a mocked skyped. + +To run tests with bitlbee built in a development tree and not (the one) +installed in the system (e.g. /usr), make sure to specify --plugindir= option to +./configure script during the build process: + +bitlbee% ./configure --skype=1 --plugindir="$(realpath .)" + +Otherwise bitlbee will try to load skype.so (among other things) from /usr/lib, +which is probably not what you want to test, or produce "Unknown protocol" +error. + +To add a new test, the following steps are necessary: 1) Add a new -skyped.mock file: just do the test manually, copy&paste the skyped output and clean it up, so Alice talks to Bob. You can test the created |