Skip to content

Commit c6e7478

Browse files
committed
fix
1 parent a66c307 commit c6e7478

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

.github/scripts/tests_run.sh

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,6 @@ function run_test() {
8888
bash -c "pytest tests --build-dir $build_dir -k test_$sketchname --junit-xml=$report_file $extra_args"
8989
result=$?
9090
set -e # Enable exit on error
91-
echo "Test $sketchname return code: $result"
9291
if [ $result -ne 0 ]; then
9392
error=$result
9493
fi
@@ -227,7 +226,7 @@ else
227226

228227
start_num=$(( $start_index + 1 ))
229228
sketchnum=0
230-
local error=0
229+
error=0
231230

232231
for sketch in $sketches; do
233232

@@ -240,7 +239,7 @@ else
240239
echo "Sketch Index $(($sketchnum - 1))"
241240

242241
run_test $target $sketch $options $erase
243-
local exit_code=$?
242+
exit_code=$?
244243
if [ $exit_code -ne 0 ]; then
245244
error=$exit_code
246245
fi

0 commit comments

Comments
 (0)