Skip to content

Commit

Permalink
test: use bleak as default adapter in verification script
Browse files Browse the repository at this point in the history
  • Loading branch information
ttu committed Jul 19, 2024
1 parent dee46fb commit b191c21
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions verification.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,16 +10,16 @@ else
python -m pip install -e .
fi

file_to_run="verification_async.py"

if [ "$RUUVI_BLE_ADAPTER" = "bleson" ]; then
python -m pip install git+https://github.com/TheCellule/python-bleson
file_to_run="verification.py"
elif [ "$RUUVI_BLE_ADAPTER" = "bluez" ]; then
file_to_run="verification.py"
fi

if [ "$RUUVI_BLE_ADAPTER" = "bleak" ]; then
python -m pip install bleak
python verification_async.py
else
python verification.py
fi
python $file_to_run

ret=$?
if [ $ret -ne 0 ]; then
Expand Down

0 comments on commit b191c21

Please sign in to comment.