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

uber / go-torch / 219
95%

Build:
DEFAULT BRANCH: master
Ran 25 Aug 2017 04:51AM UTC
Jobs 4
Files 7
Run time 1min
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
219

push

travis-ci

prashantv
Drop all but first line during location parsing

This is a fix but not really a good solution for #63. The problem arises
because the raw format (at least in go1.9) can contain lines of the form

```
[...]
   729: 0x4d6a395 github.com/cockroachdb/cockroach/pkg/sql.(*tableState).release /Users/tschottdorf/go/src/github.com/cockroachdb/cockroach/pkg/sql/lease.go:791 s=0
   730: 0x4021625 runtime.heapBits.next /usr/local/Cellar/go/1.9beta2/libexec/src/runtime/mbitmap.go:464 s=0
             runtime.scanobject /usr/local/Cellar/go/1.9beta2/libexec/src/runtime/mgcmark.go:1162 s=0
[...]
```

and the last line is not parsed correctly. The way parsing is set up is
line-by-line, so it's not straightforward to recover. Instead of a bigger
refactor to try to address this, this change just drops these extra lines,
and we should really implement #64.

Note also that I changed some lines in the parsing test to match what is
actually produced by go1.9 -- I'm not sure if the previous snippet was
simply not true-to-original or whether perhaps the raw format has changed.
Either way, using the raw format seems to invite regular breakage.

Closes #63.

1 of 1 new or added line in 1 file covered. (100.0%)

378 of 396 relevant lines covered (95.45%)

4.48 hits per line

Jobs
ID Job ID Ran Files Coverage
1 219.1 25 Aug 2017 04:52AM UTC 0
95.45
Travis Job 219.1
2 219.2 25 Aug 2017 04:51AM UTC 0
94.95
Travis Job 219.2
3 219.3 25 Aug 2017 04:51AM UTC 0
94.95
Travis Job 219.3
4 219.4 25 Aug 2017 04:51AM UTC 0
94.95
Travis Job 219.4
Source Files on build 219
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #219
  • ddbe52cd on github
  • Prev Build on master (#218)
  • Next Build on master (#228)
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

© 2025 Coveralls, Inc