File tree 2 files changed +14
-13
lines changed
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
321
321
continue
322
322
fi
323
323
324
+ echo " ignore_requirements: $ignore_requirements "
325
+
324
326
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
336
339
fi
337
340
fi
338
341
echo $sketch >> sketches.txt
Original file line number Diff line number Diff line change @@ -25,8 +25,6 @@ function run_test() {
25
25
SDKCONFIG_PATH=" $HOME /.arduino/tests/$sketchname /build0.tmp/sdkconfig"
26
26
fi
27
27
28
- echo " Running tests for $sketchname . SDKCONFIG_PATH: $SDKCONFIG_PATH "
29
-
30
28
if [ -f $sketchdir /ci.json ]; then
31
29
# If the target or platform is listed as false, skip the sketch. Otherwise, include it.
32
30
is_target=$( jq -r --arg target $target ' .targets[$target]' $sketchdir /ci.json)
You can’t perform that action at this time.
0 commit comments