Skip to content

Commit

Permalink
tests/psoc6: Add command to install mpremote.
Browse files Browse the repository at this point in the history
Signed-off-by: NikhitaR-IFX <Nikhita.Rajasekhar@infineon.com>
  • Loading branch information
NikhitaR-IFX committed Jan 29, 2024
1 parent d77e99a commit 8dace61
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions tests/psoc6/run_psoc6_tests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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} \
\
Expand Down

0 comments on commit 8dace61

Please sign in to comment.