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

google / benchmark / 2225
92%

Build:
DEFAULT BRANCH: master
Ran 23 Sep 2019 09:42AM UTC
Jobs 1
Files 40
Run time 3s
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
2225

push

travis-ci

dominichamon
Define HOST_NAME_MAX for NaCl and RTEMS (#876)

These OS's don't always have HOST_NAME_MAX defined, resulting in
build errors.

A few related changes as well:
* Only define HOST_NAME_MAX if it's not already defined. There are
  some cases where this is already defined, e.g. with NaCl if
  __USE_POSIX is set. To avoid all of these, only define it if it's
  not already defined.
* Default HOST_NAME_MAX to 64 and issue a #warning. Having the wrong
  max length is pretty harmless. The name just ends up getting
  truncated and this is only for printing debug info. Because we're
  constructing a std::string from a char[] (so defined length), we
  don't need to worry about gethostname's undefined behavior for
  whether the truncation is null-terminated when the hostname
  doesn't fit in HOST_NAME_MAX. Of course, this doesn't help people
  who have -Werror set, since they'll still get a warning.

1780 of 1940 relevant lines covered (91.75%)

5310873.2 hits per line

Jobs
ID Job ID Ran Files Coverage
1 2225.1 (COMPILER=g++ C_COMPILER=gcc BUILD_TYPE=Coverage) 23 Sep 2019 09:42AM UTC 0
91.75
Travis Job 2225.1
Source Files on build 2225
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #2225
  • 7411874d on github
  • Prev Build on master (#2224)
  • Next Build on master (#2226)
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