Skip to content
This repository was archived by the owner on Feb 25, 2025. It is now read-only.

Conversation

@lin-erik
Copy link
Contributor

@lin-erik lin-erik commented Sep 26, 2022

Adds an integration test for Dart JIT runner, PR contains a few major parts:

  • The actual integration test CC file
    • This uses Realm Builder to stitch together necessary components for the test run
  • Dart component launched with a Dart JIT runner
    • The Dart component is an Echo server, all it does is echo a request back to the client. This allows us to confirm that the component is alive and therefore the Dart JIT runner is functioning.
  • Echo FIDL protocol
    • This allows us to send a request to the Echo server, and for it to respond back

Test passes with latest checkout of dart_runner.cc. To simulate a bad change made to Dart runner, added a return; to this line, which caused the test to fail.

Copy link
Contributor

@akbiggs akbiggs left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is AWESOME.

}
} else {
not_needed("*")
} else if (current_toolchain == fidl_toolchain) {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thanks for the cleanup here!

Copy link
Contributor

@naudzghebre naudzghebre left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@lin-erik lin-erik added the autosubmit Merge PR when tree becomes green via auto submit App label Sep 27, 2022
@auto-submit auto-submit bot merged commit 85fa818 into flutter:main Sep 27, 2022
@lin-erik lin-erik deleted the dart-jit branch September 27, 2022 20:30
engine-flutter-autoroll added a commit to engine-flutter-autoroll/flutter that referenced this pull request Sep 27, 2022
Oleh-Sv pushed a commit to Oleh-Sv/engine that referenced this pull request Sep 28, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

autosubmit Merge PR when tree becomes green via auto submit App platform-fuchsia

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants