Skip to content

Commit

Permalink
use --platform (but it doesnt work, see #2037)
Browse files Browse the repository at this point in the history
  • Loading branch information
bartekpacia committed Sep 10, 2024
1 parent e81a77f commit f7bbd3c
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions e2e/run_tests
Original file line number Diff line number Diff line change
Expand Up @@ -49,14 +49,13 @@ for workspace_dir in ./workspaces/*; do
_h3 "$app_name" "passing" "$line"
done < pipe &

2>&1 maestro test --include-tags passing --exclude-tags "$exclude_tags" "$workspace_dir" > pipe || WORKSPACE_PASS=false
2>&1 maestro --platform "$platform" test --include-tags passing --exclude-tags "$exclude_tags" "$workspace_dir" > pipe || WORKSPACE_PASS=false

if [ "$WORKSPACE_PASS" = "false" ]; then
_h2 "$app_name" "FAIL! Expected all pass, but at least some failed instead"
ALL_PASS=false
fi


###
### Run failing tests
###
Expand All @@ -72,7 +71,7 @@ for workspace_dir in ./workspaces/*; do
_h3 "$app_name" "failing" "$line"
done < pipe &

maestro test --include-tags failing --exclude-tags "$exclude_tags" "$workspace_dir" > pipe && WORKSPACE_PASS=false
maestro --platform "$platform" test --include-tags failing --exclude-tags "$exclude_tags" "$workspace_dir" > pipe && WORKSPACE_PASS=false

if [ "$WORKSPACE_PASS" = "false" ]; then
_h2 "$app_name" "FAIL! Expected all to fail, but at least some passed instead"
Expand Down

0 comments on commit f7bbd3c

Please sign in to comment.