Ran
|
Jobs
4
|
Files
16
|
Run time
44s
|
Badge
Embed ▾
README BADGES
|
push
travis-ci
<a href="https://github.com/red-hat-storage/rhcephpkg/commit/<a class=hub.com/red-hat-storage/rhcephpkg/commit/78a9a586e5f0e740961892c4adf86da7d307006c">78a9a586e<a href="https://github.com/red-hat-storage/rhcephpkg/commit/78a9a586e5f0e740961892c4adf86da7d307006c">">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/78a9a586e5f0e740961892c4adf86da7d307006c">). 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 | 481.1 (GIT_BUILDPACKAGE_SOURCE=trusty) | 16 |
89.83 |
Travis Job 481.1 | |
2 | 481.2 (GIT_BUILDPACKAGE_SOURCE=xenial) | 16 |
89.83 |
Travis Job 481.2 | |
3 | 481.3 (GIT_BUILDPACKAGE_SOURCE=master) | 16 |
89.83 |
Travis Job 481.3 | |
4 | 481.4 (GIT_BUILDPACKAGE_SOURCE=master) | 16 |
89.83 |
Travis Job 481.4 |
Coverage | ∆ | File | Lines | Relevant | Covered | Missed | Hits/Line |
---|