diff --git a/tests/psoc6/run_psoc6_tests.sh b/tests/psoc6/run_psoc6_tests.sh index 1870684a46c31..2eeb0b1a83d42 100755 --- a/tests/psoc6/run_psoc6_tests.sh +++ b/tests/psoc6/run_psoc6_tests.sh @@ -248,6 +248,14 @@ if [ ${fs} -eq 1 ]; then echo " running filesystem tests ... " echo + PACKAGE="mpremote" + + if python3 -c "import ${PACKAGE}" &> /dev/null; then + echo " ${PACKAGE} is already installed." + else + echo "Installing ${PACKAGE}..." + pip install ${PACKAGE} + fi ./run-tests.py --target psoc6 --device ${device0} \ \