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

pantsbuild / pants / 4051 / 3
0%
main: 93%

Build:
Build:
LAST BUILD BRANCH: go-modcache-named-cache
DEFAULT BRANCH: main
Ran 16 Mar 2015 05:54AM UTC
Files 316
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

16 Mar 2015 05:36AM UTC coverage: 68.778%. Remained the same
CI_FLAGS="-fkmsrcnet 'Python unit tests for pants and pants-plugins'"

push

travis-ci

baroquebobcat
Fix regression in synthetic target context handling.

This fixes an issue I ran into testing the changes I introduced on Friday. The problem was that if you set derived_from to None, when applying the synthetic targets by their derived targets, the derived target would be None, so it would raise an error on the logging line I added. I removed the log line, since after thinking about it, I don't think it's necessary. Also I guarded adding targets to the synthetic target dict because if derived_from _is_ None, then it won't be used, so there's no point in adding it.

Testing Done:
added regression tests, ran them. Ran against command I was testing with and saw it succeed. CI baking here: https://travis-ci.org/pantsbuild/pants/builds/54474855

Reviewed at https://rbcommons.com/s/twitter/r/1921/

12594 of 18311 relevant lines covered (68.78%)

0.69 hits per line

Source Files on job 4051.3 (CI_FLAGS="-fkmsrcnet 'Python unit tests for pants and pants-plugins'")
  • Tree
  • List 0
  • Changed 1
  • Source Changed 1
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 4051
  • Travis Job 4051.3
  • e553ccdf on github
  • Prev Job for CI_FLAGS="-fkmsrcnet 'Python unit tests for pants and pants-plugins'" on master (#4050.3)
  • Next Job for CI_FLAGS="-fkmsrcnet 'Python unit tests for pants and pants-plugins'" on master (#4053.3)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc