File tree 2 files changed +4
-11
lines changed
2 files changed +4
-11
lines changed Original file line number Diff line number Diff line change @@ -287,8 +287,8 @@ function build_sketch(){ # build_sketch <ide_path> <user_path> <path-to-ino> [ex
287
287
function count_sketches(){ # count_sketches <path> [target] [file] [ignore-requirements]
288
288
local path=$1
289
289
local target=$2
290
- local file =$3
291
- local ignore_requirements =$4
290
+ local ignore_requirements =$3
291
+ local file =$4
292
292
293
293
if [ $# -lt 1 ]; then
294
294
echo " ERROR: Illegal number of parameters"
@@ -321,13 +321,6 @@ function count_sketches(){ # count_sketches <path> [target] [file] [ignore-requi
321
321
continue
322
322
fi
323
323
324
- echo " Args: $# "
325
- echo " 1: $1 "
326
- echo " 2: $2 "
327
- echo " 3: $3 "
328
- echo " 4: $4 "
329
- echo " ignore_requirements: $ignore_requirements "
330
-
331
324
if [ " $ignore_requirements " != " 1" ]; then
332
325
echo " Checking requirements"
333
326
# Check if the sketch requires any configuration options
@@ -418,7 +411,7 @@ function build_sketches(){ # build_sketches <ide_path> <user_path> <target> <pat
418
411
419
412
set +e
420
413
if [ -n " $sketches_file " ]; then
421
- count_sketches " $path " " $target " " $sketches_file "
414
+ count_sketches " $path " " $target " " 0 " " $sketches_file "
422
415
local sketchcount=$?
423
416
else
424
417
count_sketches " $path " " $target "
Original file line number Diff line number Diff line change 230
230
231
231
set +e
232
232
# Ignore requirements as we don't have the libs. The requirements will be checked in the run_test function
233
- ${COUNT_SKETCHES} " $test_folder " " $target " " " " 1"
233
+ ${COUNT_SKETCHES} " $test_folder " " $target " " 1"
234
234
sketchcount=$?
235
235
set -e
236
236
sketches=$( cat sketches.txt)
You can’t perform that action at this time.
0 commit comments