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

mbland / go-script-bash
95%
master: 95%

Build:
Build:
LAST BUILD BRANCH: multiple-script-dirs
DEFAULT BRANCH: master
Repo Added 13 Sep 2016 05:47PM CUT
Files 69
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

LAST BUILD ON BRANCH fix-coverage-kcov-v35
branch: fix-coverage-kcov-v35
CHANGE BRANCH
x
Reset
  • fix-coverage-kcov-v35
  • appveyor
  • bats-helpers
  • bats-v1.0.1
  • cl-assertions-#181
  • cla-#214
  • cla-#217
  • close-bats-fd-3
  • copy-#184
  • create-fwd-script-#186
  • diff-lib
  • fileutil-module-#184
  • fix-fileutil-create-dirs-msys2
  • forwarding-script
  • go-template-download
  • issue-template
  • master
  • mirror-dir-#186
  • native-path-#186-#187
  • null
  • path-lib
  • platform-#184
  • platform-freebsd
  • run-script-helpers
  • skip-if-none-present-#186
  • skip-template-test
  • stub-hash-reset
  • tarball-#186
  • v1.6.0
  • v1.7.0
  • walk-#184

pending completion
819

push

travis-ci

mbland
lib/kcov-ubuntu: Use kcov v35 to fix test coverage

I noticed during the build for #227 that test coverage dropped
precipitously for no apparent reason:

  https://coveralls.io/builds/14508796

The coverage dropped because SimonKagstrom/kcov@0dd22bd added the
ability for kcov to automatically discover all scripts residing in the
same directory of the script under test. In this case, it unfortunately
discovered all the scripts in ./git and tests/kcov, as well as various
*.md and *.yml files that happened to have "bash" in the first line
regardless of the presence of a #!.

The interim fix for this was to add the --bash-dont-parse-binary-dir and
to update the tests accordingly.

Also, since a bit of time elapsed since I returned to the problem, I
realized the latest tip of kcov's master branch exhibited the hanging bug I
helped squash in SimonKagstrom/kcov#211. The bug was reintroduced in
SimonKagstrom/kcov@ad17136, which tried to fix a bug reported in
SimonKagstrom/kcov#248 whereby kcov would hang on output that didn't
contain newlines.

SimonKagstrom/kcov#249 attempted to resolve the bug, but didn't quite
work and was abandoned. I may take a stab at fixing it one day, but in
the meanwhile, kcov v35 with --bash-dont-parse-binary-dir works to get
this project's test coverage back in shape.

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

3228 of 3397 relevant lines covered (95.03%)

250.01 hits per line

Relevant lines Covered
Build:
Build:
3397 RELEVANT LINES 3228 COVERED LINES
250.01 HITS PER LINE
Source Files on fix-coverage-kcov-v35
  • List 0
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Loading...
Coverage∆FileLinesRelevantCoveredMissedHits/Line
No data available in table
Showing 0 to 0 of 0 entries
  • Previous
  • Next

Recent builds

Builds Branch Commit Type Ran Committer Via Coverage
819 fix-coverage-kcov-v35 lib/kcov-ubuntu: Use kcov v35 to fix test coverage I noticed during the build for #227 that test coverage dropped precipitously for no apparent reason: https://coveralls.io/builds/14508796 The coverage dropped because SimonKagstrom/kcov@0dd22... push 09 Jun 2018 11:02PM CUT mbland travis-ci pending completion  
See All Builds (758)
  • Repo on GitHub
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