Skip to content
This repository was archived by the owner on Feb 25, 2025. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,7 @@ fx set workstation_eng.qemu-x64 && fx build

Build flutter/engine
```shell
$ENGINE_DIR/flutter/tools/gn --fuchsia --no-lto && ninja -C $ENGINE_DIR/out/fuchsia_debug_x64 flutter/shell/platform/fuchsia/flutter/tests/
integration/mouse_input:tests
$ENGINE_DIR/flutter/tools/gn --fuchsia --no-lto && ninja -C $ENGINE_DIR/out/fuchsia_debug_x64 flutter/shell/platform/fuchsia/flutter/tests/integration/mouse-input:tests
```

Start a Fuchsia package server
Expand All @@ -41,10 +40,9 @@ cd "$FUCHSIA_DIR"
fx serve
```

Publish `touch-input-view`
Publish `mouse-input-view`
```shell
$FUCHSIA_DIR/.jiri_root/bin/fx pm publish -a -repo $FUCHSIA_DIR/$(cat $FUCHSIA_DIR/.fx-build-dir)/amber-files -f $ENGINE_DIR/out/
fuchsia_debug_x64/gen/flutter/shell/platform/fuchsia/flutter/tests/integration/mouse-input/mouse-input-view/mouse-input-view/mouse-input-view.far
$FUCHSIA_DIR/.jiri_root/bin/fx pm publish -a -repo $FUCHSIA_DIR/$(cat $FUCHSIA_DIR/.fx-build-dir)/amber-files -f $ENGINE_DIR/out/fuchsia_debug_x64/gen/flutter/shell/platform/fuchsia/flutter/tests/integration/mouse-input/mouse-input-view/mouse-input-view/mouse-input-view.far
```

Launch Fuchsia emulator in a graphical environment
Expand Down
3 changes: 3 additions & 0 deletions tools/fuchsia/devshell/run_integration_test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,9 @@ case $test_name in
touch-input)
test_packages=("touch-input-test-0.far" "touch-input-view.far" "embedding-flutter-view.far")
;;
mouse-input)
test_packages=("mouse-input-test-0.far" "mouse-input-view.far")
;;
*)
engine-error "Unknown test name $test_name. You may need to add it to $0"
exit 1
Expand Down