File tree 1 file changed +8
-6
lines changed
1 file changed +8
-6
lines changed Original file line number Diff line number Diff line change @@ -19,6 +19,14 @@ function run_test() {
19
19
len=1
20
20
fi
21
21
22
+ if [ $len -eq 1 ]; then
23
+ SDKCONFIG_PATH=" $HOME /.arduino/tests/$sketchname /build.tmp/sdkconfig"
24
+ else
25
+ SDKCONFIG_PATH=" $HOME /.arduino/tests/$sketchname /build0.tmp/sdkconfig"
26
+ fi
27
+
28
+ echo " Running tests for $sketchname . SDKCONFIG_PATH: $SDKCONFIG_PATH "
29
+
22
30
if [ -f $sketchdir /ci.json ]; then
23
31
# If the target or platform is listed as false, skip the sketch. Otherwise, include it.
24
32
is_target=$( jq -r --arg target $target ' .targets[$target]' $sketchdir /ci.json)
@@ -30,12 +38,6 @@ function run_test() {
30
38
return 0
31
39
fi
32
40
33
- if [ $len -eq 1 ]; then
34
- SDKCONFIG_PATH=" $HOME /.arduino/tests/$sketchname /build.tmp/sdkconfig"
35
- else
36
- SDKCONFIG_PATH=" $HOME /.arduino/tests/$sketchname /build0.tmp/sdkconfig"
37
- fi
38
-
39
41
# Check if the sketch requires any configuration options
40
42
requirements=$( jq -r ' .requires[]? // empty' $sketchdir /ci.json)
41
43
if [[ " $requirements " != " null" ]] || [[ " $requirements " != " " ]]; then
You can’t perform that action at this time.
0 commit comments