DescriptionUse Kernel frontend from run_vm_tests.
With this change one can run run_vm_tests and pass to it reference to kernel parser snapshot. For example,
out/DebugX64/run_vm_tests --dfe=out/DebugX64/gen/kernel-service.dart.snapshot Debugger_RemoveBreakpoint
As this represents first step, this change enables only tests in debugger_test.cc to run with kernel frontend. There will be follow-up cls that enable all of the VM tests to use kernel frontend.
BUG=https://github.com/dart-lang/sdk/issues/28264
R=asiva@google.com
Committed: https://github.com/dart-lang/sdk/commit/d91f228766a2c1708bec8f62bbe2756e4a529f5e
Patch Set 1 #Patch Set 2 : Cleanup #
Total comments: 10
Patch Set 3 : Move common logic to TestCase. #Patch Set 4 : Cleanup previous refactoring commit. #Patch Set 5 : Rename --run_vm_test_with_kernel_snapshot option to --dfe #
Total comments: 20
Patch Set 6 : Make it explicit that only kernel isolates should be spawned. Return correct value when test fails.… #
Messages
Total messages: 16 (7 generated)
|