Page 1 of 1

Running tests and framebuf

Posted: Fri Mar 09, 2018 5:20 am
by mcauser
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

Re: Running tests and framebuf

Posted: Fri Mar 09, 2018 5:22 am
by mcauser
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

Re: Running tests and framebuf

Posted: Fri Mar 09, 2018 5:29 am
by mcauser
Seemed to work

Re: Running tests and framebuf

Posted: Sat Aug 25, 2018 12:38 pm
by pfalcon
No, you need to do "make coverage_test".