mirror of
https://github.com/sipeed/MaixCDK.git
synced 2026-09-10 21:59:54 -05:00
* Fix compilation errors
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user