File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed
Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change 33mydir=$( readlink -f " $0 " )
44mydir=$( dirname " $mydir " )
55testdir=" $mydir "
6+ # testdir=/home/user/projects/MicroPythonOS/claude/MicroPythonOS/tests2
67scriptdir=$( readlink -f " $mydir " /../scripts/)
78fs=" $mydir " /../internal_filesystem/
89mpremote=" $mydir " /../lvgl_micropython/lib/micropython/tools/mpremote/mpremote.py
@@ -124,7 +125,8 @@ if [ -z "$onetest" ]; then
124125 echo " If no test is specified: run all tests from $testdir on local machine."
125126 echo
126127 echo " The '--ondevice' flag will run the test(s) on a connected device using mpremote.py (should be on the PATH) over a serial connection."
127- while read file; do
128+ files=$( find " $testdir " -iname " test_*.py" )
129+ for file in $files ; do
128130 one_test " $file "
129131 result=$?
130132 if [ $result -ne 0 ]; then
@@ -134,7 +136,7 @@ if [ -z "$onetest" ]; then
134136 else
135137 ran=$( expr $ran \+ 1)
136138 fi
137- done < <( find " $testdir " -iname " test_*.py " )
139+ done
138140else
139141 echo " doing $onetest "
140142 one_test $( readlink -f " $onetest " )
You can’t perform that action at this time.
0 commit comments