You've already forked MicroPythonOS
mirror of
https://github.com/m5stack/MicroPythonOS.git
synced 2026-05-20 11:51:27 -07:00
unittest.sh: check file exists
This commit is contained in:
@@ -25,6 +25,10 @@ chmod +x "$binary"
|
||||
|
||||
one_test() {
|
||||
file="$1"
|
||||
if [ ! -f "$file" ]; then
|
||||
echo "ERROR: $file is not a regular, existing file!"
|
||||
exit 1
|
||||
fi
|
||||
pushd "$fs"
|
||||
echo "Testing $file"
|
||||
if [ -z "$ondevice" ]; then
|
||||
|
||||
Reference in New Issue
Block a user