]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
ceph-daemon: Add basic unittest infrastructure and cmake integration
authorThomas Bechtold <tbechtold@suse.com>
Thu, 7 Nov 2019 16:47:02 +0000 (17:47 +0100)
committerThomas Bechtold <tbechtold@suse.com>
Fri, 8 Nov 2019 16:05:57 +0000 (17:05 +0100)
commit1109bf9bcd9eb407ba785bff0ffc33d300176db0
tree47db09e7d643b4542a8036b07e3b6c2dd918ca13
parent4258c4772a7158e7fa8921e17320e495f7aba74e
ceph-daemon: Add basic unittest infrastructure and cmake integration

To be able to write unittests, add a tox.ini (for testing in venvs)
and a first single test case as example.
Tests can be executed with eg:

$ tox

Or by running the usual:

$ ./run-make-check.sh

Signed-off-by: Thomas Bechtold <tbechtold@suse.com>
src/CMakeLists.txt
src/ceph-daemon/CMakeLists.txt [new file with mode: 0644]
src/ceph-daemon/tests/__init__.py [new file with mode: 0644]
src/ceph-daemon/tests/test_ceph_daemon.py [new file with mode: 0644]
src/ceph-daemon/tox.ini [new file with mode: 0644]