You've already forked MicroPythonOS
mirror of
https://github.com/m5stack/MicroPythonOS.git
synced 2026-05-20 11:51:27 -07:00
unittest.sh: make sure binary is executable
This commit is contained in:
@@ -164,7 +164,8 @@ class PackageManager:
|
||||
@staticmethod
|
||||
def compare_versions(ver1: str, ver2: str) -> bool:
|
||||
"""Compare two version numbers (e.g., '1.2.3' vs '4.5.6').
|
||||
Returns True if ver1 is greater than ver2, False otherwise."""
|
||||
Returns True if ver1 is greater than ver2, False otherwise.
|
||||
Invalid or empty version numbers also result in False."""
|
||||
print(f"Comparing versions: {ver1} vs {ver2}")
|
||||
try:
|
||||
v1_parts = [int(x) for x in ver1.split('.')]
|
||||
|
||||
@@ -19,6 +19,9 @@ else
|
||||
binary="$scriptdir"/../lvgl_micropython/build/lvgl_micropy_unix
|
||||
fi
|
||||
|
||||
binary=$(readlink -f "$binary")
|
||||
chmod +x "$binary"
|
||||
|
||||
one_test() {
|
||||
file="$1"
|
||||
pushd "$fs"
|
||||
|
||||
Reference in New Issue
Block a user