File tree Expand file tree Collapse file tree 2 files changed +6
-6
lines changed
Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Original file line number Diff line number Diff 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
Original file line number Diff line number Diff 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 )
6565result = 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 )
7171result = 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 )
9191result = unittest.main()
9292if result.wasSuccessful():
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 )
101101result = unittest.main()
102102if result.wasSuccessful():
You can’t perform that action at this time.
0 commit comments