unix: Enable and add basic frozen str and frozen mpy in coverage build.
This commit is contained in:
parent
ea00151ffa
commit
1551309575
@ -245,6 +245,7 @@ coverage:
|
|||||||
-Wold-style-definition -Wpointer-arith -Wshadow -Wuninitialized -Wunused-parameter \
|
-Wold-style-definition -Wpointer-arith -Wshadow -Wuninitialized -Wunused-parameter \
|
||||||
-DMICROPY_UNIX_COVERAGE' \
|
-DMICROPY_UNIX_COVERAGE' \
|
||||||
LDFLAGS_EXTRA='-fprofile-arcs -ftest-coverage' \
|
LDFLAGS_EXTRA='-fprofile-arcs -ftest-coverage' \
|
||||||
|
FROZEN_DIR=coverage-frzstr FROZEN_MPY_DIR=coverage-frzmpy \
|
||||||
BUILD=build-coverage PROG=micropython_coverage
|
BUILD=build-coverage PROG=micropython_coverage
|
||||||
|
|
||||||
coverage_test: coverage
|
coverage_test: coverage
|
||||||
|
1
unix/coverage-frzmpy/frzmpy1.py
Normal file
1
unix/coverage-frzmpy/frzmpy1.py
Normal file
@ -0,0 +1 @@
|
|||||||
|
print('frzmpy1')
|
1
unix/coverage-frzstr/frzstr1.py
Normal file
1
unix/coverage-frzstr/frzstr1.py
Normal file
@ -0,0 +1 @@
|
|||||||
|
print('frzstr1')
|
Loading…
x
Reference in New Issue
Block a user