
30 Apr
2023
30 Apr
'23
3:29 a.m.
This is needed, so update the removal code to keep it.
Signed-off-by: Simon Glass sjg@chromium.org ---
Changes in v2: - Split out u_boot_pylib from the subprocess patch
scripts/make_pip.sh | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-)
diff --git a/scripts/make_pip.sh b/scripts/make_pip.sh index 4602dcf61c88..ef43e028e385 100755 --- a/scripts/make_pip.sh +++ b/scripts/make_pip.sh @@ -91,7 +91,12 @@ find ${dest} -name __pycache__ -type f -exec rm {} ; find ${dest} -depth -name __pycache__ -exec rmdir 112 ;
# Remove test files -rm -rf ${dest}/*test* +for path in ${dest}/*test*; do + echo ${path} + if ! [[ "${path}" =~ .*test_util.* ]]; then + rm -rf ${path} + fi +done
mkdir ${dir}/tests cd ${dir}
--
2.40.1.495.gc816e09b53d-goog