diff options
| author | Damien George <damien@micropython.org> | 2022-04-14 13:10:00 +1000 |
|---|---|---|
| committer | Damien George <damien@micropython.org> | 2022-04-14 14:06:38 +1000 |
| commit | be25e333dfff076f631e50fd5eec2fa626b2625b (patch) | |
| tree | 695031e1fe6185d86a5c3ccaab8f8cb9f291c23d | |
| parent | b8d959d6cf6afab4277a7e094be5107f27105b17 (diff) | |
esp32/boards: Add test manifest to test freezing during build.
Includes tests for freezing @micropython.native and @micropython.viper
code.
Signed-off-by: Damien George <damien@micropython.org>
| -rw-r--r-- | ports/esp32/boards/manifest_test.py | 10 | ||||
| -rwxr-xr-x | tools/ci.sh | 4 |
2 files changed, 13 insertions, 1 deletions
diff --git a/ports/esp32/boards/manifest_test.py b/ports/esp32/boards/manifest_test.py new file mode 100644 index 000000000..87c5b7be9 --- /dev/null +++ b/ports/esp32/boards/manifest_test.py @@ -0,0 +1,10 @@ +# Manifest for testing the build. + +# Include standard manifest. +include("manifest.py") + +# Test freezing @micropython.native code. +freeze("$(MPY_DIR)/tests/micropython", "native_misc.py") + +# Test freezing @micropython.viper code. +freeze("$(MPY_DIR)/tests/micropython", "viper_misc.py") diff --git a/tools/ci.sh b/tools/ci.sh index bf60d788a..0faf1bc71 100755 --- a/tools/ci.sh +++ b/tools/ci.sh @@ -131,7 +131,9 @@ function ci_esp32_build { source esp-idf/export.sh make ${MAKEOPTS} -C mpy-cross make ${MAKEOPTS} -C ports/esp32 submodules - make ${MAKEOPTS} -C ports/esp32 USER_C_MODULES=../../../examples/usercmodule/micropython.cmake FROZEN_MANIFEST=$(pwd)/ports/esp32/boards/manifest.py + make ${MAKEOPTS} -C ports/esp32 \ + USER_C_MODULES=../../../examples/usercmodule/micropython.cmake \ + FROZEN_MANIFEST=$(pwd)/ports/esp32/boards/manifest_test.py if [ -d $IDF_PATH/components/esp32c3 ]; then make ${MAKEOPTS} -C ports/esp32 BOARD=GENERIC_C3 fi |
