We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 31a84c8 commit 7bcf231Copy full SHA for 7bcf231
1 file changed
tests/ports/psoc6/mp_custom/fs.py
@@ -16,6 +16,7 @@
16
curr_dir = os.getcwd()
17
print(f"Current directory: {curr_dir}")
18
19
+
20
# List of mpremote commands
21
mpr_connect = f"../tools/mpremote/mpremote.py connect {device}"
22
mpr_run_script = ""
@@ -157,8 +158,12 @@ def copy_files(input_cp_files):
157
158
159
cp_cmd = f"{mpr_connect} {mpr_run_script} {cp_sub_cmd}"
160
161
+ ls_cmd = f"cd ./ports/psoc6/inputs/ && ls -l"
162
163
logger.debug(f"cp_files command: {cp_cmd}")
164
165
+ print("Check if file is available: ", subprocess.run(ls_cmd, shell=True, capture_output=True))
166
167
print("Copying files...", subprocess.run(cp_cmd, shell=True, capture_output=True))
168
169
0 commit comments