• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

puppetlabs / libwhereami / 69
94%

Build:
DEFAULT BRANCH: master
Ran 28 Aug 2017 11:04PM UTC
Jobs 1
Files 63
Run time 30min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

pending completion
69

Pull #15

travis-ci

web-flow
(FACT-1663) Add Xen detector

Adds a Xen detector which queries the CPUID instruction and checks for a
/proc/xen/ directory. The result is validated if /proc/xen/ exists (as it
should for both PV and HVM).

A validated result will contain the following metadata:

- A `context` string (either "pv" or "hvm"), determined via CPUID (HVM
  will report "XenVMMXenVMM" as the vendor, but PV will not)
- A `privileged` bool (true for dom0, false for domU), determined by
  checking the /proc/xen/capabilites file for a "control_d" string
Pull Request #15: (FACT-1663) Add Xen detector

859 of 905 relevant lines covered (94.92%)

11.38 hits per line

Uncovered Existing Lines

Lines Coverage ∆ File
1
100.0
lib/tests/fixtures/cpuid_fixtures.cc
3
100.0
lib/src/sources/cpuid_source.cc
Jobs
ID Job ID Ran Files Coverage
5 69.5 (TRAVIS_TARGET=DEBUG) 28 Aug 2017 11:04PM UTC 0
94.92
Travis Job 69.5
Source Files on build 69
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #69
  • Pull Request #15
  • PR Base - master (#66)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc