Skip to content

Commit b543213

Browse files
Fix boot.py -> main.py
1 parent 715c428 commit b543213

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

scripts/run_desktop.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -61,9 +61,9 @@ pushd internal_filesystem/
6161
elif [ ! -z "$script" ]; then # it's an app name
6262
scriptdir="$script"
6363
echo "Running app from $scriptdir"
64-
"$binary" -X heapsize=$HEAPSIZE -v -i -c "$(cat boot.py) ; import mpos.apps; mpos.apps.start_app('$scriptdir')"
64+
"$binary" -X heapsize=$HEAPSIZE -v -i -c "$(cat main.py) ; import mpos.apps; mpos.apps.start_app('$scriptdir')"
6565
else
66-
"$binary" -X heapsize=$HEAPSIZE -v -i -c "$(cat boot.py)"
66+
"$binary" -X heapsize=$HEAPSIZE -v -i -c "$(cat main.py)"
6767
fi
6868

6969

tests/unittest.sh

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -60,13 +60,13 @@ one_test() {
6060
# Desktop execution
6161
if [ $is_graphical -eq 1 ]; then
6262
# Graphical test: include boot_unix.py and main.py
63-
"$binary" -X heapsize=8M -c "$(cat boot.py) ; import mpos.main ; import mpos.apps; sys.path.append(\"$tests_abs_path\")
63+
"$binary" -X heapsize=8M -c "$(cat main.py) ; import mpos.main ; import mpos.apps; sys.path.append(\"$tests_abs_path\")
6464
$(cat $file)
6565
result = unittest.main() ; sys.exit(0 if result.wasSuccessful() else 1) "
6666
result=$?
6767
else
6868
# Regular test: no boot files
69-
"$binary" -X heapsize=8M -c "$(cat boot.py)
69+
"$binary" -X heapsize=8M -c "$(cat main.py)
7070
$(cat $file)
7171
result = unittest.main() ; sys.exit(0 if result.wasSuccessful() else 1) "
7272
result=$?
@@ -86,7 +86,7 @@ result = unittest.main() ; sys.exit(0 if result.wasSuccessful() else 1) "
8686
echo "$test logging to $testlog"
8787
if [ $is_graphical -eq 1 ]; then
8888
# Graphical test: system already initialized, just add test paths
89-
"$mpremote" exec "$(cat boot.py) ; sys.path.append('tests')
89+
"$mpremote" exec "$(cat main.py) ; sys.path.append('tests')
9090
$(cat $file)
9191
result = unittest.main()
9292
if result.wasSuccessful():
@@ -96,7 +96,7 @@ else:
9696
" | tee "$testlog"
9797
else
9898
# Regular test: no boot files
99-
"$mpremote" exec "$(cat boot.py)
99+
"$mpremote" exec "$(cat main.py)
100100
$(cat $file)
101101
result = unittest.main()
102102
if result.wasSuccessful():

0 commit comments

Comments
 (0)