Ran
|
Jobs
4
|
Files
16
|
Run time
2min
|
Badge
Embed ▾
README BADGES
|
travis-ci
<a href="https://github.com/red-hat-storage/rhcephpkg/commit/<a class=hub.com/red-hat-storage/rhcephpkg/commit/8933b18a090f2fef9aa04ae7dcccd53ebe1fdec1">8933b18a0<a href="https://github.com/red-hat-storage/rhcephpkg/commit/8933b18a090f2fef9aa04ae7dcccd53ebe1fdec1">">tests: use testpkg fixture in localbuild test The localbuild operation calls util.package_name(), and this method expects to be at the root of a Git directory (as of </a><a class="double-link" href="https://github.com/red-hat-storage/rhcephpkg/commit/<a class="double-link" href="https://github.com/red-hat-storage/rhcephpkg/commit/d833d56d732cfd7dc96d2b33a6d5de089f8d621d">d833d56d7</a>">d833d56d7</a><a href="https://github.com/red-hat-storage/rhcephpkg/commit/8933b18a090f2fef9aa04ae7dcccd53ebe1fdec1">). This means the tests fail when running outside of rhcephpkg.git (say, in pbuilder with pybuild.) Instead of monkeypatching further, use the testpkg fixture for this test. This means we have to tweak the expected behavior slightly (default distro becomes "xenial" instead of "trusty"), because the debian branch is ceph-2-ubuntu in that fixture, and get_distro() returns xenial for that.
820 of 905 relevant lines covered (90.61%)
3.59 hits per line
ID | Job ID | Ran | Files | Coverage | |
---|---|---|---|---|---|
1 | 488.1 (GIT_BUILDPACKAGE_SOURCE=trusty) | 16 |
89.83 |
Travis Job 488.1 | |
2 | 488.2 (GIT_BUILDPACKAGE_SOURCE=xenial) | 16 |
89.83 |
Travis Job 488.2 | |
3 | 488.3 (GIT_BUILDPACKAGE_SOURCE=master) | 16 |
89.83 |
Travis Job 488.3 | |
4 | 488.4 (GIT_BUILDPACKAGE_SOURCE=master) | 16 |
89.83 |
Travis Job 488.4 |
Coverage | ∆ | File | Lines | Relevant | Covered | Missed | Hits/Line |
---|