File tree Expand file tree Collapse file tree 1 file changed +8
-6
lines changed Expand file tree Collapse file tree 1 file changed +8
-6
lines changed Original file line number Diff line number Diff line change @@ -19,6 +19,14 @@ function run_test() {
1919 len=1
2020 fi
2121
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+
2230 if [ -f $sketchdir /ci.json ]; then
2331 # If the target or platform is listed as false, skip the sketch. Otherwise, include it.
2432 is_target=$( jq -r --arg target $target ' .targets[$target]' $sketchdir /ci.json)
@@ -30,12 +38,6 @@ function run_test() {
3038 return 0
3139 fi
3240
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-
3941 # Check if the sketch requires any configuration options
4042 requirements=$( jq -r ' .requires[]? // empty' $sketchdir /ci.json)
4143 if [[ " $requirements " != " null" ]] || [[ " $requirements " != " " ]]; then
You can’t perform that action at this time.
0 commit comments