Skip to content

Commit

Permalink
🔥 --
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexV525 committed Nov 13, 2023
1 parent d6a5680 commit 7fae9de
Showing 1 changed file with 1 addition and 16 deletions.
17 changes: 1 addition & 16 deletions scripts/dart_test.sh
Original file line number Diff line number Diff line change
@@ -1,21 +1,6 @@
#!/usr/bin/bash

for arg in "$@"
do
case $arg in
--platform=*)
platform="${arg#*=}"
;;
esac
done

if [ -z "$platform" ]
then
echo "Error: --platform is required"
exit 1
fi

dart test --chain-stack-traces --platform="$platform"
dart test --chain-stack-traces --platform="vm"

## Escape 79 which means no tests run on the specific platform.
if [ $? -eq 79 ]; then
Expand Down

0 comments on commit 7fae9de

Please sign in to comment.