mirror of
https://github.com/apisnetworks/pyenv.git
synced 2026-11-30 19:59:01 +00:00
python-build: log and print the build commands of the other flavors too (#3655)
This commit is contained in:
1 parent
6f22e47bdd
commit
26de18044d
3 files changed
+21
-18
No files matched your search
@@ -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}"
|
||||
}
|
||||
@@ -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" ]
|
||||
|
||||
Reference in new issue
Block a user