File tree Expand file tree Collapse file tree 1 file changed +7
-13
lines changed
tests/ports/psoc6/mp_custom Expand file tree Collapse file tree 1 file changed +7
-13
lines changed Original file line number Diff line number Diff line change 77logger = logging .getLogger ("fs" )
88logging .basicConfig (format = "%(levelname)s: %(message)s" , encoding = "utf-8" , level = logging .WARNING )
99
10- ''' device = sys.argv[1]
10+ device = sys .argv [1 ]
1111test_type = sys .argv [2 ]
12- mem_type = sys.argv[3]'''
12+ mem_type = sys .argv [3 ]
1313
14- device = '/dev/ttyACM3'
15- test_type = "basic"
16- mem_type = "flash"
17-
18- # tests inputs and script paths
19- test_input_dir = "/home/nikhita/MPY/micropython/tests/ports/psoc6/inputs"
20- test_script_dir = "/home/nikhita/MPY/micropython/tests/ports/psoc6/mp_custom"
14+ test_input_dir = "./ports/psoc6/inputs"
15+ test_script_dir = "./ports/psoc6/mp_custom"
2116
2217# List of mpremote commands
23- mpr_connect = f"/home/nikhita/MPY/micropython /tools/mpremote/mpremote.py connect { device } "
18+ mpr_connect = f".. /tools/mpremote/mpremote.py connect { device } "
2419mpr_run_script = ""
2520
2621# Remote directory path
@@ -187,10 +182,9 @@ def validate_test(files, file_sizes):
187182
188183
189184def cp_files_test (input_files , input_files_size ):
190- # rm_files_if_exist(input_files)
185+ rm_files_if_exist (input_files )
191186 copy_files (input_files )
192- # time.sleep(1)
193- # validate_test(input_files, input_files_size)
187+ validate_test (input_files , input_files_size )
194188
195189
196190def large_file_tests (device , test_type , mem_type ):
You can’t perform that action at this time.
0 commit comments