python-build: log and print the build commands of the other flavors too (#3655)

This commit is contained in:
Rohit Mulani authored and GitHub committed 2026-11-27 03:58:53 +03:00
1 parent 6f22e47bdd
commit 26de18044d
3 files changed
+21 -18

No files matched your search

+5 -3
View File
@@ -175,7 +175,9 @@ CFLAGS_EXTRA='-Wno-floating-conversion' build_package_micropython
DEF
assert_success
assert_output <<OUT
CFLAGS_EXTRA=-DMICROPY_PY_SYS_PATH_DEFAULT='".frozen:${BATS_TEST_TMPDIR}/install/lib/micropython"' -Wno-floating-conversion
OUT
assert_line "CFLAGS_EXTRA=-DMICROPY_PY_SYS_PATH_DEFAULT='\".frozen:${BATS_TEST_TMPDIR}/install/lib/micropython\"' -Wno-floating-conversion"
# each make is written to the log and printed to the console
[ "$(grep -c '^python-build: running: ' <<<"$output")" -eq 3 ]
assert_line "=> make -j 2"
assert_line "=> make install PREFIX=${INSTALL_ROOT}"
}
+1
View File
@@ -297,6 +297,7 @@ OUT
build_package_rustpython
OUT
assert_success
assert_line "=> cargo build --release --locked --target-dir target"
unstub cargo
[ -f "${INSTALL_ROOT}/lib/python3.15/os.py" ]