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

marshallward / f90nml / 210
99%

Build:
DEFAULT BRANCH: master
Ran 20 Sep 2016 12:16PM UTC
Jobs 7
Files 5
Run time 1150143min
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

20 Sep 2016 12:07PM UTC coverage: 99.692% (-0.3%) from 100.0%
210

push

travis-ci

marshallward
Patch bugfix for vector of different size

Previously, the `patch` function only worked if the namelist and its
patch used vectors of the same size.  If the patch vector was smaller,
then the trailing values would still be retained in the patched namelist
file.

This patch fixes this issue by making the following changes:

1. Check if we are beyond the range of the patched vector; if so, then
   enable a new flag (`patch_skip`) in `update_tokens`.

2. Store patched whitespace and comments into a saved variable, rather
   than directly write to the patched file during token sweeping

3. When the new flag is on, check if the next value is either an old
   value or a new variable name.  This is done by checking if the next
   token is '='.

We also had to wrap one of the `next` calls around a StopIteration
exception check, and force an early write to patch if this occurs.  This
is because we rely on StopIteration to terminate the token sweep.
(Probably dumb but whatever...)

This was a mess to code, and probably indicates that f90nml has a lot of
crap that needs to be refactored ASAP.

647 of 649 relevant lines covered (99.69%)

4.98 hits per line

Jobs
ID Job ID Ran Files Coverage
1 210.1 28 Nov 2018 05:19AM UTC 0
99.4
Travis Job 210.1
2 210.2 28 Nov 2018 05:20AM UTC 0
99.4
Travis Job 210.2
4 210.4 20 Sep 2016 12:16PM UTC 0
99.54
Travis Job 210.4
5 210.5 20 Sep 2016 12:16PM UTC 0
99.54
Travis Job 210.5
6 210.6 20 Sep 2016 12:17PM UTC 0
99.54
Travis Job 210.6
7 210.7 20 Sep 2016 12:17PM UTC 0
99.54
Travis Job 210.7
8 210.8 20 Sep 2016 12:17PM UTC 0
99.54
Travis Job 210.8
Source Files on build 210
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #210
  • 8b099a20 on github
  • Prev Build on master (#209)
  • Next Build on master (#211)
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