Running tests and framebuf

C programming, build, interpreter/VM.
Target audience: MicroPython Developers.
Post Reply
User avatar
mcauser
Posts: 507
Joined: Mon Jun 15, 2015 8:03 am

Running tests and framebuf

Post by mcauser » Fri Mar 09, 2018 5:20 am

Running `make test` on my unix port (on macOS) and all of the framebuf tests are being skipped.

Code: Select all

skip  extmod/framebuf1.py
skip  extmod/framebuf16.py
skip  extmod/framebuf2.py
skip  extmod/framebuf4.py
skip  extmod/framebuf8.py
skip  extmod/framebuf_subclass.py
Wondering how I can test them locally.

I can see them running on travis: https://travis-ci.org/micropython/micro ... /351145499

User avatar
mcauser
Posts: 507
Joined: Mon Jun 15, 2015 8:03 am

Re: Running tests and framebuf

Post by mcauser » Fri Mar 09, 2018 5:22 am

Do I need to add this to my /ports/unix/mpconfigport.h?

Code: Select all

#define MICROPY_PY_FRAMEBUF         (1)
It's there in /ports/unix/mpconfigport_coverage.h

User avatar
mcauser
Posts: 507
Joined: Mon Jun 15, 2015 8:03 am

Re: Running tests and framebuf

Post by mcauser » Fri Mar 09, 2018 5:29 am

Seemed to work

pfalcon
Posts: 1155
Joined: Fri Feb 28, 2014 2:05 pm

Re: Running tests and framebuf

Post by pfalcon » Sat Aug 25, 2018 12:38 pm

No, you need to do "make coverage_test".
Awesome MicroPython list
Pycopy - A better MicroPython https://github.com/pfalcon/micropython
MicroPython standard library for all ports and forks - https://github.com/pfalcon/micropython-lib
More up to date docs - http://pycopy.readthedocs.io/

Post Reply