Skip to content

Commit

Permalink
install_apps: dont exit 1 when install fails
Browse files Browse the repository at this point in the history
  • Loading branch information
bartekpacia committed Aug 5, 2024
1 parent 724e316 commit 41f8520
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions e2e/install_apps
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,9 @@ for file in ./apps/*; do

extension="${file##*.}"
if [ "$extension" = "apk" ]; then
adb install -r "$file" >/dev/null
adb install -r "$file" >/dev/null || echo "adb: could not install $filename"
elif [ "$extension" = "app" ] && [ "$(uname)" = "Darwin" ]; then
xcrun simctl install booted "$file"
xcrun simctl install booted "$file" || echo "xcrun: could not install $filename"
else
echo "unknown file extension $extension"
fi
Expand Down

0 comments on commit 41f8520

Please sign in to comment.