File tree Expand file tree Collapse file tree 2 files changed +14
-13
lines changed Expand file tree Collapse file tree 2 files changed +14
-13
lines changed Original file line number Diff line number Diff line change @@ -321,18 +321,21 @@ function count_sketches(){ # count_sketches <path> [target] [file] [ignore-requi
321321 continue
322322 fi
323323
324+ echo " ignore_requirements: $ignore_requirements "
325+
324326 if [ " $ignore_requirements " != " 1" ]; then
325- # Check if the sketch requires any configuration options
326- requirements=$( jq -r ' .requires[]? // empty' $sketchdir /ci.json)
327- if [[ " $requirements " != " null" ]] || [[ " $requirements " != " " ]]; then
328- for requirement in $requirements ; do
329- requirement=$( echo $requirement | xargs)
330- found_line=$( grep -E " ^$requirement " $SDKCONFIG_DIR /$target /sdkconfig)
331- if [[ " $found_line " == " " ]]; then
332- continue 2
333- fi
334- done
335- fi
327+ echo " Checking requirements"
328+ # Check if the sketch requires any configuration options
329+ requirements=$( jq -r ' .requires[]? // empty' $sketchdir /ci.json)
330+ if [[ " $requirements " != " null" ]] || [[ " $requirements " != " " ]]; then
331+ for requirement in $requirements ; do
332+ requirement=$( echo $requirement | xargs)
333+ found_line=$( grep -E " ^$requirement " $SDKCONFIG_DIR /$target /sdkconfig)
334+ if [[ " $found_line " == " " ]]; then
335+ continue 2
336+ fi
337+ done
338+ fi
336339 fi
337340 fi
338341 echo $sketch >> sketches.txt
Original file line number Diff line number Diff line change @@ -25,8 +25,6 @@ function run_test() {
2525 SDKCONFIG_PATH=" $HOME /.arduino/tests/$sketchname /build0.tmp/sdkconfig"
2626 fi
2727
28- echo " Running tests for $sketchname . SDKCONFIG_PATH: $SDKCONFIG_PATH "
29-
3028 if [ -f $sketchdir /ci.json ]; then
3129 # If the target or platform is listed as false, skip the sketch. Otherwise, include it.
3230 is_target=$( jq -r --arg target $target ' .targets[$target]' $sketchdir /ci.json)
You can’t perform that action at this time.
0 commit comments