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

stedolan / jq / 704 / 3
84%
master: 84%

Build:
DEFAULT BRANCH: master
Ran 27 Mar 2019 12:31AM UTC
Files 252
Run time 13s
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

26 Mar 2019 11:58PM UTC coverage: 84.74%. Remained the same
COVERAGE="--disable-valgrind --enable-gcov"

push

travis-ci

nicowilliams
Fix assert in generator subexpressions (fix #1875)

Expressions of the form `path(EXPR) | select(GENERATOR)`, where `EXPR`
is a path expression and `GENERATOR` is a generator conditional
expression (e.g., `has("a"), has("b")`) cause an assertion if the
jq_state VM is torn down too soon.  That assert() was only correct if
assuming that the conditional is not a generator.

If the conditional is generator, then what we see is that when
backtracking a SUBEXP_END is executed without a corresponding
SUBEXP_BEGIN because the entire conditional is bracketed with
SUBEXP_BEGIN and SUBEXP_END, and since it's resumed in the middle, in
between the brackets.

Rather than assert that the jq->path_len being restored has some
particular value, we can simply re-compute it from the restored
jq->path.

5192 of 6127 relevant lines covered (84.74%)

206198.22 hits per line

Source Files on job 704.3 (COVERAGE="--disable-valgrind --enable-gcov")
  • Tree
  • List 0
  • Changed 12
  • Source Changed 2
  • Coverage Changed 11
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 672
  • Travis Job 704.3
  • b52fc104 on github
  • Prev Job for COVERAGE="--disable-valgrind --enable-gcov" on master (#701.3)
  • Next Job for COVERAGE="--disable-valgrind --enable-gcov" on master (#716.3)
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