Commit Graph

6631 Commits

Author SHA1 Message Date
Alexander Aprelev efa9b9da99 [gardening] Patch flutter engine to fix flutter hhh build.
Change-Id: I38500c3f234e7fb9ccbb7fc0ddefa6fcdfbf676b
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/98526
Reviewed-by: Alexander Aprelev <aam@google.com>
2019-04-03 04:57:55 +00:00
Mayank Patke 7f09c40db4 Add builder tag to dart2js-production-*-d8 and mark
language_2/control_flow_collections/for_test as Crash on
dart2js-production-linux-d8.

Change-Id: I672daf323a908f7f333fed71c96525dde6f68d91
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/98504
Reviewed-by: Sigmund Cherem <sigmund@google.com>
Commit-Queue: Sigmund Cherem <sigmund@google.com>
2019-04-03 04:05:10 +00:00
Alexander Aprelev 3782887c37 [gardening] Update flutter glfw-disabling patch
Change-Id: Id6b242751fe8ef8fec3fe3d1de89363da4550b6e
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/98452
Reviewed-by: Alexander Aprelev <aam@google.com>
2019-04-02 20:01:21 +00:00
Ryan Macnak 9325a3122c [infra] Add missing out directories to the "vm-kernel" fileset.
Change-Id: Iddb8b925f233bcc5c9904fa9b31cbd28f87422c3
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/98424
Reviewed-by: Siva Annamalai <asiva@google.com>
2019-04-02 00:01:38 +00:00
Alexander Aprelev bb0dc80550 [gardening] Rename flutter engine patch to catch up with roll
Change-Id: I6d23e907cc611ff05e2512e65fc8b27be7a018fa
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/98423
Reviewed-by: Alexander Aprelev <aam@google.com>
2019-04-01 20:46:05 +00:00
Alexander Aprelev 010f3e91fa [gardening] Follow-up to temp disable flutter engine gl build
Change-Id: I985b3887291582e1a1fa09e10b82e0d452b8c84d
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/98441
Reviewed-by: Alexander Aprelev <aam@google.com>
2019-04-01 20:17:59 +00:00
Alexander Aprelev 0d0857ca98 [gardening] Temporarily disable flutter engine gl build to unbreak hhh buildbot
Change-Id: I370a2fd94f0eec2806cdcf519da89ad5e084bc7a
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/98440
Reviewed-by: Alexander Aprelev <aam@google.com>
2019-04-01 19:54:18 +00:00
Alexander Thomas 79bb83a927 [infra] Fix debianpackage build
debian-updates was removed, that broke the build.

Change-Id: Ib5856146cc60998861b59d2a89487312c6d898da
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/98320
Auto-Submit: Alexander Thomas <athom@google.com>
Reviewed-by: William Hesse <whesse@google.com>
2019-04-01 08:26:46 +00:00
Alexander Aprelev cd34ec901c [gardening] Flutter patch is no longer needed.
Change-Id: I4db199a733df5e9d616079e8ed3a0cd5548ec3de
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/98364
Reviewed-by: Alexander Aprelev <aam@google.com>
2019-03-29 21:58:10 +00:00
Alexander Aprelev 1e82544b07 [gardening] Attempt to paper over failing flutter test affected by https://dart-review.googlesource.com/c/sdk/+/97311.
Change-Id: I1224df800b8e2cdda84309b998fd130aba7c2d47
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/98363
Reviewed-by: Alexander Aprelev <aam@google.com>
2019-03-29 21:18:13 +00:00
Erik Ernst 69790e7eb4 Updated Dart.g, tests & status files to support ui-as-code collections
Change-Id: I9ba3aa4e3ebaedee3a2cd20ccdcc533af96b9bda
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/98018
Reviewed-by: Lasse R.H. Nielsen <lrn@google.com>
Commit-Queue: Erik Ernst <eernst@google.com>
2019-03-29 13:33:52 +00:00
Ryan Macnak 2bc81be75a [infra] Some missing interpreter bot configurations.
Change-Id: Iaae977801450a684868794911b4df8b87d9c034f
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/95671
Reviewed-by: Alexander Thomas <athom@google.com>
2019-03-28 16:58:13 +00:00
Jonas Termansen bd99509601 [infra] Fix approve_results race condition checking failing on new builders.
It would accidentally compare a null old approval map with the new approvals
instead of using an empty map for the old approvals.

While here, remove debug code that shouldn't have been committed.

Change-Id: I071bc6fc830bbb0b0cec310a189c0ef0a46f2bb8
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/98000
Reviewed-by: Alexander Thomas <athom@google.com>
2019-03-27 09:56:22 +00:00
Alexander Thomas 440d287fa8 [infra] Run pkg/(front_end|kernel) tests only on front-end builders
They are rather slow, and there is no point in running them twice.

Change-Id: Ibdf8de1d7420e89b8287652b958a4f7e67b1de86
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/97933
Reviewed-by: Jens Johansen <jensj@google.com>
Commit-Queue: Alexander Thomas <athom@google.com>
2019-03-27 08:21:47 +00:00
Alexander Markov 61f0f5bc43 [vm/bytecode] Declare members in bytecode
This change replaces kernel AST declarations of fields and functions
with bytecode declarations.

Size of dilp files is reduced by 11-12%.

Startup latency:
Time to the first full frame: 1.945s -> 1.687s
FinalizeClass: 554ms -> 277ms
FinishClassLoading: 296ms -> 156ms

There are following regressions in bytecode mode, which will be fixed
in future:

* dart:mirrors are not supported yet (implementation of mirrors relies
  on reading kernel AST in certain cases).

  As the result, lib_2/mirrors/* tests fail.

* native extensions are not supported yet (annotations on libraries
  and classes in AST are cleaned up as they could reference members
  which are now removed from AST).

  As the result, standalone_2/entrypoints_verification_test test fails.

* language_2/spread_collections/const_error_test/* tests fail
  due to https://github.com/dart-lang/sdk/issues/36286.

Change-Id: I5130f401fd7b84038b136136e7ccc1a6e51b6cea
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/97561
Commit-Queue: Alexander Markov <alexmarkov@google.com>
Reviewed-by: Ryan Macnak <rmacnak@google.com>
2019-03-26 21:40:10 +00:00
Alexander Aprelev e8fc260e93 [gardening] Clean up outdated flutter hhh patches
Change-Id: I82c43ca77e97cf54cc3bf289d7f9662acdc99b5c
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/97940
Reviewed-by: Alexander Aprelev <aam@google.com>
Reviewed-by: Martin Kustermann <kustermann@google.com>
Commit-Queue: Alexander Aprelev <aam@google.com>
2019-03-26 16:38:45 +00:00
Samir Jindel 69079303cf [infra] Add a shard to the FFI builders.
This is important to make sure the tests run on a device which is attached to a
phone.

Change-Id: I75037960bed5ff779ff46ea39e9558aab5b509af
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/97926
Auto-Submit: Samir Jindel <sjindel@google.com>
Reviewed-by: Alexander Thomas <athom@google.com>
2019-03-26 13:47:39 +00:00
Jonas Termansen b2a2c088d3 [infra] Add --apply-changelist option to apply_preapprovals.
This option is needed to simulate a changelist having landed for the purpose
of tryjobs.

Change-Id: I58ac2ded204a237d200fc468b1f7fadd58dcbe14
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/97930
Reviewed-by: William Hesse <whesse@google.com>
2019-03-26 12:56:57 +00:00
Stevie Strickland ab8510a0a5 [gardening] Fix arguments test for app_jit(k).
The fix for https://github.com/dart-lang/sdk/issues/35960 broke
on app_jit(k) runs, because these expect the arguments to be
passed when creating the jit snapshot. Pass dartOptions along to
computeCompilerArguments as well, so that the
AppJitCompilerConfiguration can add them in appropriately.

Change-Id: I8c7b5a3a1689943db4e6c3785ccaf8bfdb839c2d
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/97516
Reviewed-by: Stevie Strickland <sstrickl@google.com>
Commit-Queue: Stevie Strickland <sstrickl@google.com>
2019-03-25 16:18:48 +00:00
Samir Jindel 580f44aa83 [vm] Enable running FFI tests on Android in JIT-mode.
* Move FFI tests into a separate test suite.
  They never belonged in standalone_2/ since they are not only available in
  the standalone VM. Also, we want to have a separate status file.

* Add new "SharedObjects" option to test files to copy needed shared objects
  to the Android device for testing.

* Add support to compiler/runtime_configuration.dart for testing JIT-mode on Android.

* Add new configurations and builders to test_matrix.json to test JIT-mode on Android.

* Clean up status file entries for FFI (we didn't need to special-case stress & subtype tests).

Change-Id: Ifb32ef7051754f477d00ecd7a0f9b19ca8a66eae
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/97334
Commit-Queue: Samir Jindel <sjindel@google.com>
Reviewed-by: William Hesse <whesse@google.com>
Reviewed-by: Daco Harkes <dacoharkes@google.com>
2019-03-25 16:14:18 +00:00
Jonas Termansen 18a346c4e2 [infra] Protect against buggy approve_results versions causing an outage.
The bug in question has been fixed, but this makes sure nobody accidentally
uses a buggy version of approve_results and causes builders to fail.

Change-Id: Iec6f87b960878093c7029f042f7d0697eccf5734
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/97514
Reviewed-by: Alexander Thomas <athom@google.com>
2019-03-25 15:01:35 +00:00
Stevie Strickland 7ddeed1ba9 [gardening] Fix test harness handling of DartOptions
Only pass DartOptions to the runtime, not to the compiler.
Since commit 794e1e3a09, `gen_snapshot` now attempts to
use these extra arguments (and fails), whereas before it
ignored them.

This fixes https://github.com/dart-lang/sdk/issues/35960.

Change-Id: I30cfcd1f5e10fe0348eef7d42d9e721a61e818cc
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/97507
Reviewed-by: William Hesse <whesse@google.com>
Auto-Submit: Stevie Strickland <sstrickl@google.com>
Commit-Queue: Stevie Strickland <sstrickl@google.com>
2019-03-25 14:41:16 +00:00
Jonas Termansen a13ac1b44f [infra] Fix approve_results not inserting primary keys for pre-approvals.
This change fixes that approve_results forgot to insert the primary keys for
pre-approval of new tests without any existing approval. This change also
fixes approve_results crashing on approvals without a result and no
pre-approvals field.

Change-Id: I979fa39005d72926a6a295d12aa6a7c505439e0f
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/97637
Reviewed-by: William Hesse <whesse@google.com>
2019-03-25 14:34:21 +00:00
Jenny Messerly baa5628875 [infra] fix approve_results crashing on bad preapproval entry
This may not be the correct fix, but it seems to prevent the crash
that's currently affecting several build bots. Not sure where the bad
approval entry came from.

Change-Id: Iac683f01c4d0750103b190f8ab289f8374eedf6d
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/97685
Reviewed-by: William Hesse <whesse@google.com>
2019-03-23 23:08:37 +00:00
asiva 98dddc9daa [tests] Ensure that --enable-asserts is used whereever checked was used previously
Change-Id: Ia88c03a8dd36237f3c819a3a892f8f17ecf7f00b
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/97604
Commit-Queue: Alexander Aprelev <aam@google.com>
Reviewed-by: Alexander Aprelev <aam@google.com>
2019-03-22 19:51:41 +00:00
Alexander Aprelev 14fcc352cd [gardening] Try troubleshoot flutter hhh buildbot.
This reverts move to appjit for flutter tools (https://github.com/flutter/flutter/pull/27749) that is in the range of the changes that broke `pub run build_runner test`

Change-Id: Ia1c1e66031fb7976faf75cf4a9bf95bac3a450a0
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/97640
Reviewed-by: Alexander Aprelev <aam@google.com>
2019-03-22 17:36:14 +00:00
William Hesse c8c5eff08f [infra] Deflake tests that are both multitests and have multiple VMOptions lines
These tests were skipped because they had two numbers added to their names, like
bar/foo_test/02/3. We didn't generate the possible filename bar/foo_test.dart in
that case.

Fixes https://github.com/dart-lang/sdk/issues/36304

Bug: Fixes https://github.com/dart-lang/sdk/issues/36304
Change-Id: Ib42432d7c7e35ac373cd909ac982c8cbe4ec1b14
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/97630
Reviewed-by: Jonas Termansen <sortie@google.com>
2019-03-22 17:20:29 +00:00
asiva 1bab46b06f [vm] Remove support for '-c', '--checked' flags and '--enable-checked-mode'
1. Remove support for the following flags '-c', '--checked' and '--enable-checked-mode'
2. Cleanup some of the tests and test scripts where these options were being passed.

https://github.com/dart-lang/sdk/issues/34660

Change-Id: I4d8aa0d14bd054cfba08d78a411a0df4fc829df1
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/97550
Commit-Queue: Siva Annamalai <asiva@google.com>
Reviewed-by: Ryan Macnak <rmacnak@google.com>
2019-03-22 17:08:56 +00:00
Jonas Termansen b60eae48e5 Test that VM interpreter, bytecode, and unoptimized benchmarks can run.
Change-Id: I9264ac1589c54196089db2559d81ce735db4b8bf
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/97333
Reviewed-by: Alexander Markov <alexmarkov@google.com>
2019-03-22 14:56:13 +00:00
Jonas Termansen ecf5a46c96 [infra] Fix approve_results crashing on approvals for deleted tests.
Change-Id: If269731bc7ac76d6ffd624eb02f51aed1f446d27
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/97624
Reviewed-by: William Hesse <whesse@google.com>
2019-03-22 12:19:17 +00:00
Jonas Termansen 849e914cb4 [infra] Fix per-CL approval not setting the expires field.
Change-Id: Iaac00636aac6b755032fb19d2f17137c026ccf05
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/97623
Reviewed-by: William Hesse <whesse@google.com>
2019-03-22 12:07:35 +00:00
Jonas Termansen 94e214bacc [infra] Fix auto-approval breaking as of per-CL approval.
The matches getter could crash if there was no result but there were approved
results or baseline results. Instead fall back on the matches field from
the baseline or approved results.

TBR=whesse@google.com

Change-Id: Ic57a2833dccb85dd69f2eba5a82bc8a0f7efa2c4
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/97622
Reviewed-by: Jonas Termansen <sortie@google.com>
2019-03-22 11:41:53 +00:00
Jonas Termansen 065910f0c1 [infra] Add support for pre-approvals in approved_results.json.
This change adds a 'preapprovals' field to approved_results.json, which is
a map from gerrit Change-Id values to a pre-approval record, containing:

* 'from': What the previous approval was.
* 'result': What the new approval is.
* 'matches': Whether the new approval matches the expectation.
* 'expected': The expectation for the new approval.
* 'preapprover': Who did the preapproval.
* 'preapproved_at': When the preapproval occurred.

tools/approve_results.dart now produces pre-approval records instead of
updating the actual approvals. This ensures pre-approvals don't take
effect immediately and fixes the problem of pre-approving one kind of
failure becoming another kind of failure. The script needed to query the
gerrit API in order to determine the Change-Id of changelists. This query
also lets approve_results know what the latest changelist and lifts the
restriction that the patchset must be supplied when pre-approving.

The innards of approve_results has been refactored so it better can handle
selective modification of approve_results.dart.

approve_results now also checks for race conditions with any other
concurrent approval in interactive mode. This should catch most cases where
people leave approve_results running for long. There still is a small race
condition, so there is no check done in the non-interactive mode as the
results would just have been downloaded anyway.

The new tools/bots/apply_preapprovals.dart script will be used by the
recipe. It locates the outstanding pre-approved changelists and checks
the git history for whether they have landed by searching for their
Change-Id. It then applies their pre-approvals in order, warning about any
merge conflicts. Optionally it uploads the pre-approvals. This will work
for the commit queue where the pre-approvals can be applied temporarily,
and in the continuous integration where the pre-approvals become permanent
approvals.

This change allows empty approval records that only contain preapprovals but
with no actual base approval. tools/bots/compare_results.dart has been
updared to handle that case.

This changelist addresses https://github.com/dart-lang/sdk/issues/36279 by
ensuring only verified fields make it into new approved_results.json records
and adds a temporary workaround for 14 days to remove existing needless
existing fields.

Change-Id: I7b3ff59756dc0d28721c6db480782b4ea983b55d
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/97308
Reviewed-by: William Hesse <whesse@google.com>
2019-03-22 11:11:00 +00:00
William Hesse 33491a7d61 [infra] Remove unneeded check in test.py
All configurations are created with the same named configuration,
if there is a named configuration argument.

Change-Id: I2de34a4a503c34e6b24d3edcf0dd06567ed4f0ed
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/97327
Reviewed-by: Jonas Termansen <sortie@google.com>
2019-03-20 13:05:08 +00:00
Liam Appelbe 21810c2aa1 Include gen_kernel_bytecode in create_sdk so that it can be uploaded by the builders
Bug: https://github.com/dart-lang/sdk/issues/36047
Change-Id: Ibe599c00345ea7ed2007f3d16b4d417c9ee8d3f4
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/96540
Commit-Queue: Liam Appelbe <liama@google.com>
Reviewed-by: Siva Annamalai <asiva@google.com>
2019-03-19 19:36:59 +00:00
Alexander Aprelev 87108efecb [gardening] Update flutter patch so flutter compile_test passes.
Change-Id: Ibf6a31308deac5e4ef388930308774b994feb46d
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/97285
Reviewed-by: Alexander Aprelev <aam@google.com>
2019-03-19 17:16:24 +00:00
Erik Ernst e830338919 Updated spec_parser such that it runs with ANTLR v4
Change-Id: Ib0711ebc125f4fadb5a526c3538d5c3a35f11234
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/97320
Reviewed-by: Lasse R.H. Nielsen <lrn@google.com>
2019-03-19 14:06:26 +00:00
William Hesse 37c7992ac3 [testing] Make tests with multiple VMOptions have multiple names.
Change-Id: I16abe0cd68e5af5ee68eaff8b1702aec2a4bf5a6
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/97227
Reviewed-by: Jonas Termansen <sortie@google.com>
2019-03-19 11:39:59 +00:00
Stevie Strickland 231061c15a [gardening] Moving patch to be based on dart hash.
Change-Id: I220a3be123d976d8de062deea6c48003d8521f72
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/97119
Auto-Submit: Stevie Strickland <sstrickl@google.com>
Reviewed-by: Stevie Strickland <sstrickl@google.com>
Reviewed-by: Martin Kustermann <kustermann@google.com>
Commit-Queue: Stevie Strickland <sstrickl@google.com>
2019-03-18 16:18:55 +00:00
Terry Lucas ae72776312 New DomExceptions added to browsers.
These new exceptions have no legacy values.

DataCloneError - The object can not be cloned.
EncodingError - The encoding or decoding operation failed.
NotReadableError - The input/output read operation failed
UnknownError - The operation failed for an unknown transient reason (e.g. out of memory).
ConstraintError - A mutation operation in a transaction failed because a constraint was not satisfied.
DataError - Provided data is inadequate.
TransactionInactiveError - A request was placed against a transaction which is currently not active, or which is finished.
ReadOnlyError - The mutating operation was attempted in a "readonly" transaction.
VersionError  An attempt was made to open a database using a lower version than the existing version.
OperationError - The operation failed for an operation-specific reason.
NotAllowedError - The request is not allowed by the user agent or the platform in the current context, possibly because the user denied permission.

R=vsm@google.com

Change-Id: I1245bc788fd287d566f42184ebe914165afa95ac
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/97163
Reviewed-by: Vijay Menon <vsm@google.com>
Commit-Queue: Terry Lucas <terry@google.com>
2019-03-18 15:18:25 +00:00
Alexander Aprelev 3dda726bca [gardening] Update flutter patch to reflect engine roll.
Change-Id: I26a92c1e2be6219fad675b6945add13e8eab7fdf
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/97141
Reviewed-by: Alexander Aprelev <aam@google.com>
2019-03-15 21:33:40 +00:00
Daco Harkes e6c3bc4ba9 [gardening] update Flutter engine patch file
Change-Id: Iba80d75ba342a3e97f35ffea3b394f97e8b86efe
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/97080
Auto-Submit: Daco Harkes <dacoharkes@google.com>
Reviewed-by: Martin Kustermann <kustermann@google.com>
Commit-Queue: Martin Kustermann <kustermann@google.com>
2019-03-15 10:34:44 +00:00
Alexander Aprelev eb47bc112e [gardening] Rename flutter/flutter patch so it matches engines hash.
Change-Id: Iacf28ee3096411527dfa263890825e9ffefe513a
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/97060
Reviewed-by: Alexander Aprelev <aam@google.com>
2019-03-15 05:14:33 +00:00
Alexander Aprelev de2d83b9e3 [gardening] Fix flutter patch after recent dart roll into engine.
Change-Id: I452f3b79a9f58deb8ded515f8ce6a4e80fc1f8c7
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/97041
Reviewed-by: Alexander Aprelev <aam@google.com>
2019-03-15 04:35:00 +00:00
Sigmund Cherem 888596af88 Add support for a production dart2js mode in test.dart
Change-Id: Ia828cb46106f044313e579f1c4b23ec92c6a2d44
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/96862
Commit-Queue: Sigmund Cherem <sigmund@google.com>
Reviewed-by: William Hesse <whesse@google.com>
2019-03-14 23:59:28 +00:00
Alexander Aprelev c52e1b83fb [vm/frontend_server] Fix outdated flutter patch.
This is follow-up to https://dart-review.googlesource.com/c/sdk/+/95920.

Change-Id: Ie9b57f84d38b4acf66b0d03af646f65c69c21b6f
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/96988
Commit-Queue: Alexander Aprelev <aam@google.com>
Reviewed-by: Alexander Aprelev <aam@google.com>
2019-03-14 23:00:14 +00:00
Sigmund Cherem 1b5f7c1047 Remove unnecessary flags for dart2js from test.dart
Change-Id: I751688fba97d605de69164068fe2377d80087127
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/96861
Commit-Queue: Sigmund Cherem <sigmund@google.com>
Reviewed-by: William Hesse <whesse@google.com>
2019-03-14 22:01:13 +00:00
Alexander Aprelev 35fb67158b [vm/frontend] Change frontend server interface so compile response contains delta of sources files that were used by the compiler.
This is needed so that for incremental compilation client knows which files need to be tracked for changes, need to be reported as invalidated for next recompilation cycle(see https://github.com/flutter/flutter/pull/29004)

Change-Id: I8c9e7800b55335497a4cbecfd35cec7390528eb7
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/95920
Commit-Queue: Alexander Aprelev <aam@google.com>
Reviewed-by: Alexander Markov <alexmarkov@google.com>
2019-03-14 21:53:08 +00:00
Jonas Termansen 1c02016b7b [infra] Fall back on inexact baseline commits in test.dart.
This change makes test.dart handle if the baseline commit hasn't been built
on the requested builder and instead attempts to search for whether there's
results for up to 25 preceding commits, which it then uses as an inexact
baseline.

Closes https://github.com/dart-lang/sdk/issues/36211

Change-Id: Ie44042c67c9460826736f4a2cf159d8d7b455f0b
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/96944
Reviewed-by: William Hesse <whesse@google.com>
2019-03-14 17:04:36 +00:00
Martin Kustermann 6c5194cfe1 [VM/Flutter] Remove 2 golden-file tests completely to avoid flutter analyze warning about missing copyright header
This should turn 3head green and hopefully the next engine->flutter roll
fixes the golden expectation files.

Change-Id: Ic52216a965c0981e187d2186653428ee52f1ac47
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/96943
Auto-Submit: Martin Kustermann <kustermann@google.com>
Reviewed-by: Martin Kustermann <kustermann@google.com>
2019-03-14 14:52:12 +00:00