From 9e0cffb3ed2410dc0fd37198e6d5af62fb317819 Mon Sep 17 00:00:00 2001 From: NikhitaR-IFX Date: Mon, 29 Jan 2024 15:28:32 +0530 Subject: [PATCH] tests/psoc6: Add mpremote tool path. Signed-off-by: NikhitaR-IFX --- tests/psoc6/run_psoc6_tests.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/psoc6/run_psoc6_tests.sh b/tests/psoc6/run_psoc6_tests.sh index 061901c8de282..0d3bd61fd8f4e 100755 --- a/tests/psoc6/run_psoc6_tests.sh +++ b/tests/psoc6/run_psoc6_tests.sh @@ -248,7 +248,6 @@ if [ ${fs} -eq 1 ]; then echo " running filesystem tests ... " echo - MPREMOTE="../../tools/mpremote/mpremote.py" ./run-tests.py --target psoc6 --device ${device0} \ \ @@ -264,6 +263,7 @@ if [ ${fs} -eq 1 ]; then echo " attempting to save different test files in flash " echo echo " saving test_fs_small_file.txt to FS - (size : 10KB) " + MPREMOTE="../../tools/mpremote/mpremote.py" command_output=$(python3 ${MPREMOTE} fs cp test_inputs/test_fs_small_file.txt :/) exp_output="cp test_inputs/test_fs_small_file.txt :/" if [ "$command_output" != "$exp_output" ]; then