Skip to content

Commit 1551309

Browse files
committed
unix: Enable and add basic frozen str and frozen mpy in coverage build.
1 parent ea00151 commit 1551309

File tree

3 files changed

+3
-0
lines changed

3 files changed

+3
-0
lines changed

unix/Makefile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -245,6 +245,7 @@ coverage:
245245
-Wold-style-definition -Wpointer-arith -Wshadow -Wuninitialized -Wunused-parameter \
246246
-DMICROPY_UNIX_COVERAGE' \
247247
LDFLAGS_EXTRA='-fprofile-arcs -ftest-coverage' \
248+
FROZEN_DIR=coverage-frzstr FROZEN_MPY_DIR=coverage-frzmpy \
248249
BUILD=build-coverage PROG=micropython_coverage
249250

250251
coverage_test: coverage

unix/coverage-frzmpy/frzmpy1.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
print('frzmpy1')

unix/coverage-frzstr/frzstr1.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
print('frzstr1')

0 commit comments

Comments
 (0)