* Fix compilation errors

This commit is contained in:
lxowalle
2025-12-05 10:23:32 +08:00
parent dc9e26e67a
commit eb395eca9d
28 changed files with 416 additions and 379 deletions

View File

@@ -5,6 +5,7 @@ set -x
platform=$1
need_run=$2
start_from="$3"
if [ "${need_run}x" == "1x" ]; then
run_cmd="maixcdk run"
else
@@ -12,7 +13,10 @@ else
fi
blacklist=("maixcdk-example")
start_test_flag=false
if [ "$start_from" == "" ]; then
start_test_flag=true
fi
function test_script()
{
set +x
@@ -62,6 +66,18 @@ for dir in */; do
continue
fi
# 检查是否开始测试
if [ -n $start_test_flag ]; then
if [[ "${dir}" == "${start_from}/" ]]; then
start_test_flag=true
fi
fi
if ! $start_test_flag; then
echo "skip $dir, wait ${start_from}"
continue
fi
test_start "${dir%/}"
fi
done