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

maruel / panicparse / 200
64%
master: 65%

Build:
Build:
LAST BUILD BRANCH: state_machine
DEFAULT BRANCH: master
Ran 13 May 2019 02:11PM UTC
Jobs 2
Files 7
Run time 2s
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

13 May 2019 02:09PM UTC coverage: 64.664% (+0.3%) from 64.399%
200

push

travis-ci

maruel
stack: Fix unit test TestAugment on go1.11 and later

Zap out arguments expectation on go1.11 and later

Where arguments used to be listed explicitly, they are now listed as
"(...)". This broke the unit tests.

For example with "panic slice_str", go1.10.8 prints:
  GOTRACEBACK=all
  panic: ([]string) (0x499cc0,0xc42000a0e0)

  goroutine 1 [running]:
  main.panicslicestr(0xc42000a0c0, 0x1, 0x2)
  (...)

whereas on go1.11beta1 the last line is:
  main.panicslicestr(...)

So I bisected Go. In this example, Go is checked out as ~/src/golang,
~/src/golang/bin is in PATH and there's a Go installation at ~/go1.4 for
bootstrapping.

  # Testing script:
  $ cat > ~/test_golang.sh <<EOF
  #!/bin/bash
  set -eu
  cd ~/src/golang/src
  ./make.bash
  go install github.com/maruel/panicparse/cmd/panic
  panic slice_str |& egrep 'main.panicslicestr\(0x'
  EOF
  $ chmod +x ~/test_golang.sh

  # Bad commit
  $ cd ~/src/golang
  $ git merge-base go1.11beta1 origin/master
  <a class=hub.com/maruel/panicparse/commit/<a class="double-link" href="https://git"><a class=hub.com/maruel/panicparse/commit/a12c1f26e4cc602dae62ec065a237172a5b8f926">a12c1f26e<a href="https://github.com/maruel/panicparse/commit/1635eeb599c0022ab405783214f580654bfbc92a">
  $ git checkout a12c1f26e4cc602dae62ec065a237172a5b8f926
  # Confirm this exit 1
  $ ~/test_golang.sh

  # Good commit
  $ git merge-base go1.10 origin/master
  <a class=hub.com/maruel/panicparse/commit/<a class="double-link" href="https://git"><a class=hub.com/maruel/panicparse/commit/4c4ce3dc79fcf535045e69068b15142d8b7259cd">4c4ce3dc7
  $ git checkout 4c4ce3dc79fcf535045e69068b15142d8b7259cd
  # Confirm this exit 1
  $ ~/test_golang.sh

  # Bisection
  $ git bisect start a12c1f26e4cc602dae62ec065a237172a5b8f926 $ 4c4ce3dc79fcf535045e69068b15142d8b7259cd
  $ git bisect run ~/test_golang.sh
  $ git bisect reset

732 of 1132 relevant lines covered (64.66%)

31.23 hits per line

Jobs
ID Job ID Ran Files Coverage
1 200.1 13 May 2019 02:11PM UTC 0
64.4
Travis Job 200.1
2 200.2 13 May 2019 02:11PM UTC 0
64.66
Travis Job 200.2
Source Files on build 200
  • List 0
  • Changed 3
  • Source Changed 0
  • Coverage Changed 3
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Travis Build #200
  • 1635eeb5 on github
  • Prev Build on 0_fix_test (#199)
  • Next Build on 0_fix_test (#202)
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