ceph/cmake/modules
Ernesto Puerta 1e07237d92
mgr/dashboard: clean-up tox and unit tests
Refactor CMake add_tox_test to automatically add py27 and/or py3 to
provided toxenvs.

Refactor tox.ini:
- Remove requirements-{py27,py3}.txt, as python release dependant
packages can be handled with PEP 508 syntax.
- Remove develepment dependencies from requirements.
- Move pycodestyle settings to separate section.
- Add flake8 check and other checkers (rst, naming, etc). Some of them
are commented out for future clean-ups (Ceph trackers have been opened)
- Pycodestyle removed, as flake8 is a wrapper for pycodestyle.
- Add instafail plugin to report failures immediately
- Add timeout plugin to limit max run time (sometimes test_tasks hangs)
- Remove unused dependencies (lru_cache, pluggy)

Test and code linting fixes:
- Unused imports
- Fixes to HACKING.rst

Doc:
- Update HACKING.rst

Add conftest.py to mock imported modules (rados, rbd, cephfs), and mock
also rados Error and OSError Exceptions.

Fixes: https://tracker.ceph.com/issues/40487
Fixes: https://tracker.ceph.com/issues/41152
Signed-off-by: Ernesto Puerta <epuertat@redhat.com>
2019-08-16 19:17:27 +02:00
..
FindPython cmake: update FindPython* modules 2019-07-20 22:35:07 +08:00
AddCephTest.cmake mgr/dashboard: clean-up tox and unit tests 2019-08-16 19:17:27 +02:00
boost_context_asm_arm_syntax_unified.patch
boost_lockfree_queue_valgrind_error.patch
BuildBoost.cmake cmake: update FindPython* modules 2019-07-20 22:35:07 +08:00
Buildc-ares.cmake
BuildDPDK.cmake
BuildFIO.cmake
Buildpmem.cmake
BuildQatDrv.cmake
BuildRocksDB.cmake
BuildSPDK.cmake
CheckCxxAtomic.cmake
CheckYasm.cmake
CTags.cmake
Distutils.cmake cmake/modules/Distutils: do not add ${name}-clone if already added 2019-07-26 12:11:25 +02:00
Findaio.cmake
Findbabeltrace.cmake
FindBacktrace.cmake
Findblkid.cmake
FindBoost.cmake cmake: update FindBoost.cmake 2019-07-30 16:00:04 +02:00
Findc-ares.cmake
FindCUnit.cmake
FindCython.cmake cmake: update FindPython* modules 2019-07-20 22:35:07 +08:00
Finddpdk.cmake
Findfcgi.cmake
Findfio.cmake
Findfmt.cmake
Findfuse.cmake
FindGMock.cmake
Findgperftools.cmake
FindGSSApi.cmake
FindJeMalloc.cmake
Findkeyutils.cmake
Findleveldb.cmake
FindLTTngUST.cmake
FindLZ4.cmake
Findnl.cmake
FindOATH.cmake
FindOpenLdap.cmake
Findpmem.cmake
FindPython2.cmake cmake: update FindPython* modules 2019-07-20 22:35:07 +08:00
FindPython3.cmake cmake: update FindPython* modules 2019-07-20 22:35:07 +08:00
FindPython.cmake cmake: update FindPython* modules 2019-07-20 22:35:07 +08:00
Findqatzip.cmake
FindRabbitMQ.cmake
Findrdmacm.cmake
FindRocksDB.cmake
FindSanitizers.cmake
Findsnappy.cmake
FindStdFilesystem_test.cc
FindStdFilesystem.cmake cmake: require CMake v3.10.2 2019-08-02 22:09:12 +08:00
Findudev.cmake
Finduuid.cmake
Findverbs.cmake
Findxfs.cmake
Findzfs.cmake
GetGitRevisionDescription.cmake
GetGitRevisionDescription.cmake.in
patch-dpdk-conf.sh
SIMDExt.cmake