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