Monthly Archives: January 2013
The throttle implementation for ceph can be unit tested using threads when it needs to block. The gtest framework produces coverage information to lcov showing that 100% of the lines of code are covered.
WARNING: UPDATE IN PROGRESS When running ceph integration tests with teuthology, code coverage reports shows which lines of code were involved. Adding coverage: true to the integration task and using code compiled for code coverage instrumentation with flavor: gcov collects … Continue reading
Installing and testing OpenStack Folsom on a virgin Debian GNU/Linux wheezy takes less than one hour. A set of packages is archived to make sure it keeps working. After checking the pre-requisites such as a public and private interface, the … Continue reading
The ceph sources are compiled with code coverage enabled root@ceph:/srv/ceph# ./configure –with-debug CFLAGS=’-g’ CXXFLAGS=’-g’ \ –enable-coverage \ –disable-silent-rules and the tests are run cd src ; make check-coverage to create the HTML report which shows where tests could improve code … Continue reading
The review and project management for Git based projects is installed on a virgin Debian GNU/Linux wheezy. Developers of l2mesh must submit patchs to the git repository to gerrit: $ git review remote: Resolving deltas: 100% (1/1) remote: Processing changes: … Continue reading