Skip to content

Commit b69a3b5

Browse files
committed
tests/ports/psoc6/mp_custom/fs.py: Add more prints.
Signed-off-by: NikhitaR-IFX <nikhita.rajasekhar@infineon.com>
1 parent 040e9da commit b69a3b5

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

  • tests/ports/psoc6/mp_custom

tests/ports/psoc6/mp_custom/fs.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -154,9 +154,14 @@ def copy_files(input_cp_files):
154154
cp_sub_cmd += f"cp {test_input_dir}/{file} :{remote_directory_path}{append_cmd_operand}"
155155

156156
cp_cmd = f"{mpr_connect} {mpr_run_script} {cp_sub_cmd}"
157+
ls_cmd = f"{mpr_connect} fs ls"
158+
159+
print("List files in local: ", os.listdir(test_input_dir))
157160

158161
logger.debug(f"cp_files command: {cp_cmd}")
159162

163+
print("List files in device: ", subprocess.run(ls_cmd, shell=True, capture_output=True))
164+
160165
print("Copying files...", subprocess.run(cp_cmd, shell=True, capture_output=True))
161166

162167

@@ -192,6 +197,7 @@ def large_file_tests(device, test_type, mem_type):
192197
set_remote_dir_path(mem_type)
193198

194199
input_files, input_files_size = get_test_input_files(test_type)
200+
print(input_files)
195201

196202
cp_files_test(input_files, input_files_size)
197203

0 commit comments

Comments
 (0)