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

micropython / micropython / 14670 / 6
98%
master: 98%

Build:
DEFAULT BRANCH: master
Ran 13 Nov 2020 12:26AM UTC
Files 277
Run time 30s
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 Nov 2020 12:13AM UTC coverage: 98.02% (-0.002%) from 98.022%
MAKEOPTS="-j4"

push

travis-ci-com

dpgeorge
extmod/machine_mem: Only allow integers in machine.memX subscript.

Prior to this change machine.mem32['foo'] (or using any other non-integer
subscript) could result in a fault due to 'foo' being interpreted as an
integer.  And when writing code it's hard to tell if the fault is due to a
bad subscript type, or an integer subscript that specifies an invalid
memory address.

The type of the object used in the subscript is now tested to be an
integer by using mp_obj_get_int_truncated instead of
mp_obj_int_get_truncated.  The performance hit of this change is minimal,
and machine.memX objects are more for convenience than performance (there
are many other ways to read/write memory in a faster way),

Fixes issue #6588.

19510 of 19904 relevant lines covered (98.02%)

421235.14 hits per line

Source Files on job 14670.6 (MAKEOPTS="-j4")
  • Tree
  • List 0
  • Changed 64
  • Source Changed 1
  • Coverage Changed 64
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 14210
  • Travis Job 14670.6
  • 922f81df on github
  • Prev Job for MAKEOPTS="-j4" on master (#14658.6)
  • Next Job for MAKEOPTS="-j4" on master (#14672.6)
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