]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
ErasureCodePlugin: plugin registry tests and example 518/head
authorLoic Dachary <loic@dachary.org>
Wed, 28 Aug 2013 15:29:18 +0000 (17:29 +0200)
committerLoic Dachary <loic@dachary.org>
Mon, 9 Sep 2013 21:34:12 +0000 (23:34 +0200)
commit392179478e3a32fa4dc2c5eec1d6d0d4ffc2183e
tree76db8bba18bc6dc517662534e0b77ca993beade4
parent916901f913a5b38e8137f86cbc2fef9ae09e34c0
ErasureCodePlugin: plugin registry tests and example

libec_example.la is a fully functional plugin based on
ErasureCodeExample to test the ErasureCodePlugin abstract
interface. It is dynamically loaded to test the
ErasureCodePluginRegistry implementation.

Although the plugin is built in the test directory, it will be
installed. noinst_LTLIBRARIES won't build the shared library, only the
static version which is not suitable for testing.

http://tracker.ceph.com/issues/5878 refs #5878

Signed-off-by: Loic Dachary <loic@dachary.org>
src/test/Makefile.am
src/test/osd/ErasureCodePluginExample.cc [new file with mode: 0644]
src/test/osd/TestErasureCodePluginExample.cc [new file with mode: 0644]