Commit graph

4922 commits

Author SHA1 Message Date
Terry Lucas 0585e74b63 Fixed analyzer test to use dart2js not dartium
R=paulberry@google.com

Committed: 704de3bb3e
Review-Url: https://codereview.chromium.org/3004153002 .
2017-09-01 09:03:16 -07:00
William Hesse 002917b79c Fix error in commit bae6ab5a7a
"Split the dart_sdk bot script into two runs ..." used sys.argv[2]
instead of sys.argv[1]

BUG=
TBR=terry@google.com

Review-Url: https://codereview.chromium.org/3012713002 .
2017-09-01 17:21:03 +02:00
Janice Collins 51cc9689b3 Remove corelib and corelib_strong and migrate last two remaining tests.
This includes a migration of linked_hash_map_from_iterable_test and
stacktrace_current_test, which were migrated without changes.

BUG=
R=rnystrom@google.com, whesse@google.com

Review-Url: https://codereview.chromium.org/3004073002 .
2017-09-01 08:11:15 -07:00
William Hesse bae6ab5a7a Split the dart_sdk bot script into two runs, one with only apidocs.
BUG=
R=terry@google.com, vegorov@google.com

Review-Url: https://codereview.chromium.org/3004233002 .
2017-09-01 16:50:00 +02:00
William Hesse bf6ea50b95 Revert "[infra] Roll clang toolchain forward"
This reverts commit a60fb341f5.
The toolchain.stamp files are missing on buildbots, causing failures.
This occurred on the second run after the commit, indicating that
perhaps the files are no longer created, or something.

BUG=
R=mkroghj@google.com
CC=zra@google.com

Review-Url: https://codereview.chromium.org/3009983002 .
2017-09-01 14:42:35 +02:00
Morten Krogh-Jespersen 9f9aafc337 Updated sanitizeCategory to better account for category names.
R=whesse@google.com

Review-Url: https://codereview.chromium.org/3011813002 .
2017-09-01 13:37:00 +02:00
Zach Anderson a60fb341f5 [infra] Roll clang toolchain forward
This is to match the version used by Flutter.

R=asiva@google.com, rmacnak@google.com

Review-Url: https://codereview.chromium.org/3005903002 .
2017-08-31 21:49:02 -07:00
William Hesse a8cab7a205 Revert "Removed Dartium SDK libs"
This reverts commit 4a58918382.
That commit seems to have broken docgen on the html libraries.

BUG=
TBR=terry@google.com

Review-Url: https://codereview.chromium.org/3004173002 .
2017-09-01 00:47:57 +02:00
Terry Lucas 4a58918382 Removed Dartium SDK libs
First stage remove the libraries that are no longer part of 1.25 and beyond.

R=alanknight@google.com, sigmund@google.com

Committed: a18908461a
Committed: d96561af08
Review-Url: https://codereview.chromium.org/3008563002 .
2017-08-31 07:17:23 -07:00
Terry Lucas f1269525a8 Revert: Removed Dartium SDK libs
Review-Url: https://codereview.chromium.org/3005913003 .
2017-08-30 20:47:07 -07:00
Terry Lucas d96561af08 Removed Dartium SDK libs
First stage remove the libraries that are no longer part of 1.25 and beyond.

R=alanknight@google.com, sigmund@google.com

Committed: a18908461a
Review-Url: https://codereview.chromium.org/3008563002 .
2017-08-30 20:07:15 -07:00
Bob Nystrom 574022c0e2 Add "-1" and "-2" to run subsets of the configurations.
R=jmesserly@google.com

Review-Url: https://codereview.chromium.org/3011593003 .
2017-08-30 14:53:29 -07:00
Ben Konyi a7a97e41ed Migrated test block 218 to Dart 2.0.
Fairly simple block, with changes made to some mirrors tests to make
them strong-mode clean. Modified test script to also accept
*_app_jit.status files.

BUG=
R=rnystrom@google.com

Review-Url: https://codereview.chromium.org/2999373002 .
2017-08-30 07:29:11 -07:00
William Hesse 3ac0950efa Add more builders to commit queue
BUG=
R=athom@google.com

Review-Url: https://codereview.chromium.org/3004043002 .
2017-08-30 14:47:38 +02:00
Morten Krogh-Jespersen dfd5038ecb Added ability to find builder-groups
Added calls to CBE, cleaned up the remaining screen-scraping and added ability to find builder-groups and builders in groups

R=johnniwinther@google.com

Review-Url: https://codereview.chromium.org/3005723002 .
2017-08-30 09:26:44 +02:00
Alexander Thomas b7ef001fec Include web_components in the isolate file.
Update tests to use web_components from the isolated location.

BUG=
R=whesse@google.com

Review-Url: https://codereview.chromium.org/3004803002 .
2017-08-29 17:12:56 +02:00
Terry Lucas 05ca90aa8c Removed Dartium test exceptions
R=alanknight@google.com

Committed: 84f079f24c
Review-Url: https://codereview.chromium.org/2983033002 .
2017-08-29 07:15:06 -07:00
Terry Lucas a18908461a Removed Dartium SDK libs
First stage remove the libraries that are no longer part of 1.25 and beyond.

R=alanknight@google.com

Review-Url: https://codereview.chromium.org/3008563002 .
2017-08-29 06:38:53 -07:00
Alexander Thomas 1277e0e791 Add browser package to isolate
BUG=
R=whesse@google.com

Review-Url: https://codereview.chromium.org/3005773002 .
2017-08-29 14:46:49 +02:00
Peter von der Ahé a5bcf58b06 Move tools to tool folder.
R=sigmund@google.com

Review-Url: https://codereview.chromium.org/3003743002 .
2017-08-29 14:30:51 +02:00
Bob Nystrom 58b96b7e60 Don't print "Necessary status file updates:" if there are none.
Also cleaned up the surrounding code to be more idiomatic.

R=jcollins@google.com

Review-Url: https://codereview.chromium.org/3007583002 .
2017-08-28 16:31:23 -07:00
Bob Nystrom 46320c5208 Migrate block 115.
Interesting changes:

- A static getter colliding with an inherited non-static setter is a
  compile error, not a type warning.

- Trying to call a setter on what is only a getter is a compile error
  with no runtime behavior.

- Add support to test.dart for negative tests in DDC.

BUG=
R=jcollins@google.com

Review-Url: https://codereview.chromium.org/3005643002 .
2017-08-28 16:17:28 -07:00
Morten Krogh-Jespersen fe94ff5ec0 Additional tools for gardening.
- multitest will generate a specific case of a multitest file
- luci_api is the start of a project, to make an api to ease the life     of the gardener. At this point, it can answer, given a commit, which     builds on bots does that commit belong to.

R=johnniwinther@google.com

Review-Url: https://codereview.chromium.org/3005443002 .
2017-08-28 12:37:12 +02:00
Bob Nystrom 0cbd1ea1ea Don't migrate status entries under a "[ $strong ]" header.
R=jcollins@google.com

Review-Url: https://codereview.chromium.org/3009653002 .
2017-08-25 16:50:27 -07:00
Vyacheslav Egorov 7d5231796e [VM, Precompiler] Support obfuscation of the symbolic information in precompiler
Obfuscation is controlled by obfuscate flag in Dart_IsolateFlags.

Obfuscation of identifiers is performed during script tokenization - when TokenStream is generated from the source. All kIDENT and kINTERPOL_VAR tokens are renamed consistently using a persistent obfuscation map stored in ObjectStore::obfuscation_map.

Some identifiers (pseudo-keywords, arithmetic operators, builtin recognized methods and entry-points) are not renamed to keep name based lookups from breaking. All other identifiers are renamed.

Constant instances of Symbol-s (both created via literal syntax #ident and using constant constructor const Symbol("ident")) are renamed consistently with corresponding identifiers.

Script urls and Library urls and names are also obfuscated.

Obfuscation map can be dumped as a JSON array at the end of precompilation using Dart_GetObfuscationMap API.

BUG=https://github.com/dart-lang/sdk/issues/30524
R=rmacnak@google.com

Review-Url: https://codereview.chromium.org/3003583002 .
2017-08-25 09:48:23 +02:00
Kevin Millikin 52629b82cf Revert changes to patch_sdk
Revert the changes to patch_sdk that were made when issue #30111 was
fixed.  There is still a failure in the front_end hot reload
end-to-end tests.

BUG=
R=asiva@google.com

Review-Url: https://codereview.chromium.org/3000313002 .
2017-08-22 17:38:27 +02:00
Alexander Thomas bace5b330d Add Mac support for isolates
Remove commands to allow recipies to specify them

Reduce duplication with includes

Rename to more generic names (dart2js*.isolate wasn't just used for dartj2s)

BUG=
R=whesse@google.com

Review-Url: https://codereview.chromium.org/3001383002 .
2017-08-22 17:15:14 +02:00
Kevin Millikin 2f49198520 Allow the VM to read Kernel files with external libraries
The meaning of a Kernel file with an external library is that the
library is one that is already known to be loaded in the VM.

Fixes issue #30111.

BUG=https://github.com/dart-lang/sdk/issues/30111
R=jensj@google.com

Review-Url: https://codereview.chromium.org/2995423002 .
2017-08-22 16:05:19 +02:00
William Hesse 5550a6e0ea Make all trybot builders run
BUG=
R=athom@google.com

Review-Url: https://codereview.chromium.org/3003053002 .
2017-08-21 18:56:16 +02:00
commit-bot@chromium.org 21aa04589e Merge "Add a dart2js_tests isolate with no default command, for xvfb use." 2017-08-21 16:04:29 +00:00
William Hesse 242c215579 Return CQ to committing to the gerrit master dart.googlesource. 2017-08-21 17:31:13 +02:00
William Hesse 575d0b015a Add a dart2js_tests isolate with no default command, for xvfb use.
Bug:
Change-Id: Ia3a07e7e4f04314dd9aa9643103c3cf31e8e53ea
2017-08-21 17:20:27 +02:00
Erik Ernst 670fdcbac5 Adjusted compare-failures to report logdog URLs: Use a regular one!
R=johnniwinther@google.com

Review-Url: https://codereview.chromium.org/2999353002 .
2017-08-21 16:04:16 +02:00
William Hesse 2149487c0d Add commit queue settings to Dart
These will be used on Gerrit reviews, to trigger try bots and the
commit queue.  The commit queue is currently set up to commit to
GitHub. This will be changed when the mirroring direction changes.

BUG=737149
R=athom@google.com

Review-Url: https://codereview.chromium.org/3003523002 .
2017-08-21 15:36:13 +02:00
Erik Ernst 6e22b589bf Adjusted treatment of timeout with absolute build number.
With `dart bin/bot.dart compare-failures ..`, skipping a relative build
number (like -1) used to be supported (and reported with --verbose).
This CL uses the same treatment for absolute build numbers: The output
includes information about earlier builds anyway, so it makes sense to
skip in the same manner here.

R=johnniwinther@google.com

Review-Url: https://codereview.chromium.org/2997273002 .
2017-08-21 15:09:51 +02:00
William Hesse 7907d5dcdd Change debian package build rules to drop GYP
BUG=
R=sortie@google.com

Review-Url: https://codereview.chromium.org/2995203002 .
2017-08-18 14:27:48 +02:00
Bob Nystrom f9da770441 Fix message about status entries that need manual splitting.
It described the entry as being in the destination file when it's
actually still in the source file.

R=mkroghj@google.com

Review-Url: https://codereview.chromium.org/2997093002 .
2017-08-17 13:05:39 -07:00
Zachary Anderson 81ba8cbaec [Fuchsia] Better error message from SDK update script
R=rmacnak@google.com

Review-Url: https://codereview.chromium.org/2996093002 .
2017-08-16 11:02:08 -07:00
Johnni Winther f1b3a59da3 Use package:testing for tools/gardening
R=ahe@google.com

Review-Url: https://codereview.chromium.org/2999043003 .
2017-08-16 15:55:52 +02:00
Johnni Winther a708c1943f Include build revision in BuildResult
R=floitsch@google.com

Review-Url: https://codereview.chromium.org/2997043002 .
2017-08-16 15:41:23 +02:00
Johnni Winther 8f4d7828df Fix buildbot_data_test
+ clean up BuildUri state

R=floitsch@google.com

Review-Url: https://codereview.chromium.org/3002743002 .
2017-08-16 15:31:20 +02:00
Johnni Winther 9abec74aaf Fix index bug in readResults
R=floitsch@google.com

Review-Url: https://codereview.chromium.org/2996013002 .
2017-08-16 14:28:41 +02:00
William Hesse 0f89db24f3 Add all core tests to DDC linux bots
BUG=
R=athom@google.com

Review-Url: https://codereview.chromium.org/2997863002 .
2017-08-16 10:07:53 +02:00
Johnni Winther d2676d2f16 Use Bot in compare_failures
R=floitsch@google.com

Review-Url: https://codereview.chromium.org/3000953002 .
2017-08-15 14:52:47 +02:00
Johnni Winther aa7f14aed3 Use timeout to read most recent build from http
R=floitsch@google.com

Review-Url: https://codereview.chromium.org/2998993002 .
2017-08-15 14:36:27 +02:00
Zachary Anderson 734beef062 [infra] Translate _sources.gypi files to _sources.gni files
Also deletes code that becomes dead as a result.

R=rmacnak@google.com

Review-Url: https://codereview.chromium.org/2996903002 .
2017-08-14 21:54:36 -07:00
Janice Collins d2f2b0f44d Add cases to all configs and allow for running a single test.
This adds analyzer-strong-checked as distinct from analyzer-strong,
which seems to be how the bots run it.  Also adds the d8 runtime to dart2js as that was the cause of some bot breakage.

Finally, you can now run one test by just passing a single parameter.

BUG=
R=bkonyi@google.com, jmesserly@google.com

Review-Url: https://codereview.chromium.org/2997673002 .
2017-08-14 07:48:11 -07:00
Stephen Adams 88388cb5ca Revert "Remove support for "packages" URL from testing server."
This reverts commit f38f91bb7e.

Lots of browser bots are red with this change.
Hopefully it can be recommitted atomically with changes that fix the redness.

TBR=whesse@google.com

BUG=

Review-Url: https://codereview.chromium.org/2997753002 .
2017-08-10 17:04:21 -07:00
William Hesse f38f91bb7e Remove support for "packages" URL from testing server.
This support was only needed for testing Dartium.
This also removes the dependency upon package_resolver from test.py.

BUG=
R=eernst@google.com, mkroghj@google.com

Review-Url: https://codereview.chromium.org/2994073002 .
2017-08-10 14:33:07 +02:00
Zachary Anderson 63b9312e1b Invoke copy_tree.py only once to collect all input file lists.
fixes #30105

R=rmacnak@google.com

Review-Url: https://codereview.chromium.org/2992353002 .
2017-08-09 11:14:01 -07:00
Jennifer Messerly a77f151461 fix #30330, don't ignore cast failures in DDC for language/lib tests
R=leafp@google.com

Review-Url: https://codereview.chromium.org/2999593002 .
2017-08-08 21:57:45 -07:00
Alexander Aprelev 1d50f112dc Flutter and Fuchsia build stripped down [platform] version of dart sdk, so make it default(while standalone builds full dart sdk)
Both Flutter and Fuchsia expect stripped dart in standard out directory, so make that default too(while standalone build puts stripped into exe.stripped/).

BUG=
R=zra@google.com

Review-Url: https://codereview.chromium.org/2998503002 .
2017-08-08 14:42:11 -07:00
Johnni Winther 798577d188 Add filtering to 'summary'
- and include positive result summary in the output.

R=floitsch@google.com

Review-Url: https://codereview.chromium.org/2993913002 .
2017-08-08 16:26:41 +02:00
Johnni Winther 494d2c623e Improve output of current-summary gardening tool.
R=floitsch@google.com

Review-Url: https://codereview.chromium.org/3000493002 .
2017-08-08 16:25:42 +02:00
Johnni Winther c54869c648 Include passing tests in BuildResult.results
R=floitsch@google.com

Review-Url: https://codereview.chromium.org/2990363002 .
2017-08-08 16:24:27 +02:00
Johnni Winther 803ec54d1c Improve compare-failures output for multiple [BuildUri] results
R=floitsch@google.com

Review-Url: https://codereview.chromium.org/2999623002 .
2017-08-08 16:23:16 +02:00
Sigmund Cherem b48584d3d0 Switch FE to use the libraries.json format.
This CL:
  * introduces the Dart API to operate over libraries specifications and describes
    the format we intend to use (see libraries_spec.dart)

  * implements serialization/deserialization for this API

  * switches over the front_end to use these APIs
    * public options accept a URI to the JSON file and no longer
       accept a `dartLibraries` map
    * internal code uses the LibrariesSpecification API

  * switches other dependencies on these APIs (resynthesizer_test and patch_sdk.dart)

This is the first step in migrating over to use the libraries.json format and
eventually remove the patched_sdk step. In particular, some of the next steps
include:
  * add a build step to generate .json files from .yaml files
  * add a libraries.yaml file for the sdk
  * split the patched_sdk step in two:
     * patching files
     * generating .dill files
  * add any missing support for patch-files in fasta
  * finally remove the patching files step, and only have a build step for generating
   .dill files

BUG=
R=ahe@google.com, paulberry@google.com, scheglov@google.com

Committed: abf2d23af2
Review-Url: https://codereview.chromium.org/2986303003 .
2017-08-07 08:41:28 -07:00
Zach Anderson 0394d3a0cf [infra] Begin removing gyp
This CL begins removing gyp from Dart's tree.

Removing gyp will go in three stages:
1. Remove unused .gyp and .gypi files.
2. Translate *_sources.gypi files to *_sources.gni files
3. Remove //third_party/gyp from DEPS

This CL is stage 1.

R=asiva@google.com

Review-Url: https://codereview.chromium.org/2992593002 .
2017-08-04 22:19:35 -07:00
Sigmund Cherem b6d08264a3 Revert "Switch FE to use the libraries.json format."
This reverts commit abf2d23af2.

Reason for revert:
 - win build failed in patched_sdk (likely storing paths and not uris)
 - dart2js bots failed (missing flag)

Will fix the issues and reland shortly.

Review-Url: https://codereview.chromium.org/2993113003 .
2017-08-04 19:46:17 -07:00
Bob Nystrom 850b80a84e Fix analyzer status for cast_test.
Also add another configuration in the migration test runner to catch
this in the future.

Review-Url: https://codereview.chromium.org/2993123003 .
2017-08-04 18:37:18 -07:00
Sigmund Cherem abf2d23af2 Switch FE to use the libraries.json format.
This CL:
  * introduces the Dart API to operate over libraries specifications and describes
    the format we intend to use (see libraries_spec.dart)

  * implements serialization/deserialization for this API

  * switches over the front_end to use these APIs
    * public options accept a URI to the JSON file and no longer
       accept a `dartLibraries` map
    * internal code uses the LibrariesSpecification API

  * switches other dependencies on these APIs (resynthesizer_test and patch_sdk.dart)

This is the first step in migrating over to use the libraries.json format and
eventually remove the patched_sdk step. In particular, some of the next steps
include:
  * add a build step to generate .json files from .yaml files
  * add a libraries.yaml file for the sdk
  * split the patched_sdk step in two:
     * patching files
     * generating .dill files
  * add any missing support for patch-files in fasta
  * finally remove the patching files step, and only have a build step for generating
   .dill files

BUG=
R=ahe@google.com, paulberry@google.com, scheglov@google.com

Review-Url: https://codereview.chromium.org/2986303003 .
2017-08-04 17:41:27 -07:00
Bob Nystrom f2b8669a0b Output test results in diff mode.
R=jmesserly@google.com

Review-Url: https://codereview.chromium.org/2996563002 .
2017-08-04 17:16:45 -07:00
Bob Nystrom 6b7819ec5a Handle migration status entries into split up status files.
R=jcollins@google.com

Review-Url: https://codereview.chromium.org/2994573002 .
2017-08-04 13:49:30 -07:00
Bob Nystrom 9a0c11c26b Split language_2.status into multiple files.
This mainly splits along compiler lines, but uses runtime for a couple
of things -- VM and Flutter mainly.

I did most of the work automatically by hacking up the migration script
to re-migrate the existing file, but I also went through and manually
cleaned the result up as best I could.

R=bkonyi@google.com, jcollins@google.com

Review-Url: https://codereview.chromium.org/2993043002 .
2017-08-04 11:33:01 -07:00
Kevin Moore d53e53c568 Fix path to pkg/path – .packages resolution works to the root of repo 2017-08-04 11:14:23 -07:00
Bob Nystrom 526245b565 Run DDC tests on Chrome on the bots.
Taking over this patch since Bill is out: https://codereview.chromium.org/2991343004/

R=sigmund@google.com

Review-Url: https://codereview.chromium.org/2992333002 .
2017-08-04 10:45:39 -07:00
Florian Loitsch 83fcb7aa94 Small improvements to bot summary.
R=johnniwinther@google.com

Review-Url: https://codereview.chromium.org/2996503002 .
2017-08-04 15:13:07 +02:00
Florian Loitsch aaf67e5050 Fix bot summary when URIs couldn't be read.
R=johnniwinther@google.com

Review-Url: https://codereview.chromium.org/2999433002 .
2017-08-04 14:46:57 +02:00
Jennifer Messerly 62303b6711 enable batch mode for dartdevc tests, also fix status so ddc bots pass
R=rnystrom@google.com

Review-Url: https://codereview.chromium.org/2987393002 .
2017-08-03 14:39:45 -07:00
Janice Collins 481ce5813c Add more targets to run_tests based on experience in blocks 7 and 8
BUG=
R=rnystrom@google.com

Review-Url: https://codereview.chromium.org/2988423002 .
2017-08-03 11:39:47 -07:00
Johnni Winther 771415a7c0 Add tests for change in https://codereview.chromium.org/2987403002/
R=dmitryas@google.com

Review-Url: https://codereview.chromium.org/2988403002 .
2017-08-03 14:01:11 +02:00
Johnni Winther baed658109 Allow multiple inputs to compare-failures
- and ensure that TestFailure is created with the BuildResult.buildUri

R=dmitryas@google.com

Review-Url: https://codereview.chromium.org/2987403002 .
2017-08-03 12:24:36 +02:00
Bob Nystrom dbd48de07d Fix a couple of things causing bot redness:
- Migrate over built_in_identifier_test since it imports a helper
  library that was migrated.
- Fix some status file entries.

Also:

- Removed some old commented out status entries.
- Fix a bug in migration script.

R=jcollins@google.com

Review-Url: https://codereview.chromium.org/2992903002 .
2017-08-02 14:54:07 -07:00
Dmitry Stefantsov b5aeeb5b25 [Gardening Tool] Allow filtering groups by names in current_summary.dart
R=johnniwinther@google.com

Review-Url: https://codereview.chromium.org/2989263002 .
2017-08-02 16:49:03 +02:00
Dmitry Stefantsov 39e43776d7 Change backslashes to forward slashes in pubspec.yaml of gardening tool
R=johnniwinther@google.com

Review-Url: https://codereview.chromium.org/2988313002 .
2017-08-02 13:56:15 +02:00
Johnni Winther f22caf4028 Add tests for BuildGroup names
R=dmitryas@google.com

Review-Url: https://codereview.chromium.org/2986223002 .
2017-08-02 12:18:34 +02:00
Johnni Winther dc83f62199 Add test to compare-failures
+ support build group names as command-line argument

R=dmitryas@google.com

Review-Url: https://codereview.chromium.org/2987253002 .
2017-08-02 09:38:53 +02:00
Bob Nystrom 95693b30a3 Add a script to run the tests in a migration block.
R=bkonyi@google.com

Review-Url: https://codereview.chromium.org/2987223002 .
2017-08-01 13:52:20 -07:00
Siva Annamalai f1689b6eb0 Migrate first block of tests in standalone to standalone_2
R=bkonyi@google.com

Review-Url: https://codereview.chromium.org/2984363004 .
2017-08-01 09:05:01 -07:00
Sigmund Cherem 62d1d28428 Remove warnings when building the dart2js sdk.
Also make the script exit with error code if any other warnings of this kind are
seen.

Fixes #30282 #30157

R=sra@google.com

Review-Url: https://codereview.chromium.org/2993493002 .
2017-07-31 15:47:53 -07:00
Florian Loitsch ee46026671 Don't use LinkedList in the core libraries anymore.
R=lrn@google.com

Committed: fe17b5b2bc
Reverted: 5d4a786f44
Review-Url: https://codereview.chromium.org/2975443002 .
2017-07-28 21:14:11 +02:00
Bob Nystrom 385b88f289 Migrate status file entries when migrating files. Yay!
This looks at all the files in the batch being migrated. It goes through
the status files in the 1.0 and strong directories. If it sees an entry
that matches that file, it adds it to the resulting "_2" status file.

It handles adding entries to an existing section if already present in
the new status file. Otherwise, it adds a new section at the end with
the entries.

R=bkonyi@google.com

Review-Url: https://codereview.chromium.org/2989033002 .
2017-07-28 11:10:30 -07:00
Sigmund Cherem b1065335cd Use dart2js_plaform.dill from the sdk.
This will enable --use-kernel tests in the dart2js bots.

After this change, running our tests will change a little bit, either of these
would work:

Option A: --use-sdk (host-checked not allowed)

python tools/test.py -m release \
   -c dart2js -r d8 --dart2js-batch --report \
   --dart2js-with-kernel --use-sdk \
   language corelib library_2 corelib_2 \
   dart2js_native dart2js_extra

Option B: pass --library-root, --host-check works here.
python tools/test.py -m release \
   -c dart2js -r d8 --dart2js-batch --report \
   --dart2js-with-kernel --host-checked \
   --dart2js_options="--library-root=out/ReleaseX64/dart-sdk/" \
   language corelib library_2 corelib_2 \
   dart2js_native dart2js_extra

In the future, when fasta supports compiling sdk with @patch files, we will
be able to remove the --library-root option and simply compile the SDK from
sources at that point.

BUG=
R=johnniwinther@google.com

Review-Url: https://codereview.chromium.org/2988063002 .
2017-07-28 10:07:08 -07:00
William Hesse 56d58fe65e Add two swarming trybots to configuration
BUG=
R=erikcorry@google.com

Review-Url: https://codereview.chromium.org/2988073002 .
2017-07-28 14:05:11 +02:00
Bob Nystrom 1419935fa6 Better support for re-running in the middle of a migration.
- Track files that only exist in the "_2" directories. That way we can
  show what work still remains to be done even if the unmigrated files
  are gone.

- Friendlier matching of command line arguments. Pass in any substring
  of the test path and if only one test matches, it will be used.

- Make --dry-run not crash.

R=bkonyi@google.com

Review-Url: https://codereview.chromium.org/2988973002 .
2017-07-27 12:07:21 -07:00
William Hesse c3ae54c019 Update buildbucket name for Gerrit commit queue
BUG=
R=dnj@chromium.org

Review-Url: https://codereview.chromium.org/2985153003 .
2017-07-27 15:35:44 +02:00
Bob Nystrom cc8ae6b723 Add some more validation of things in expect that should not be used.
Also add some helper functions in expect.

R=bkonyi@google.com

Review-Url: https://codereview.chromium.org/2989743002 .
2017-07-26 16:52:18 -07:00
Bob Nystrom 158e95a940 Report more heuristics for tests that require manual work.
If the contents of a test mention "checked", "TypeError", or
"AbstractClassInstantiationError", they will need some work. Tell the
user about those.

R=bkonyi@google.com

Review-Url: https://codereview.chromium.org/2991803003 .
2017-07-26 12:57:30 -07:00
Ben Konyi caf87da9ed Added functionality to dump relevant status file entries to a single file to make it easier to see which tests have which status file entries. Future work: remove entries from original status files.
BUG=
R=jcollins@google.com, rnystrom@google.com

Review-Url: https://codereview.chromium.org/2987633002 .
2017-07-25 17:48:09 -07:00
Bob Nystrom 796eb21071 Move the status file parser into its own package.
This required munging a bit of test.dart code too to tease out some
dependencies, but the changes are minor. I considered moving all of
test.dart out into a package and making the status file library a
public one that other packages in the repo could import but this seemed
like the less intrusive change.

R=bkonyi@google.com

Review-Url: https://codereview.chromium.org/2984203002 .
2017-07-25 15:29:59 -07:00
Zachary Anderson c0319c8399 [Fuchsia] Update prebuilt SDK sha only after a successful download
R=rmacnak@google.com

Review-Url: https://codereview.chromium.org/2988813002 .
2017-07-25 14:08:22 -07:00
Zachary Anderson e81d8320cb Fixes dev SDK download script to sniff for the version Flutter wants
R=rmacnak@google.com

Review-Url: https://codereview.chromium.org/2992453002 .
2017-07-25 13:06:58 -07:00
Zachary Anderson c1ddf2a0ae Pin the dev SDK version pulled by Fuchsia
Review-Url: https://codereview.chromium.org/2989623002 .
2017-07-25 09:12:51 -07:00
Zachary Anderson 88cbc741bf Poke the buildbot following purpleness
Review-Url: https://codereview.chromium.org/2991673002 .
2017-07-25 07:48:28 -07:00
Sigmund Cherem 985dee0f5b We'll be using dart2js_with_kernel for a more general purpose, but need dart2js_with_kernel_in_ssa while we transition over.
R=rnystrom@google.com

Review-Url: https://codereview.chromium.org/2981403002 .
2017-07-24 13:07:15 -07:00
Sigmund Cherem 64541f6bdc Fix co19_test script: --fast-startup is only an option for dart2js
BUG=
R=rnystrom@google.com

Review-Url: https://codereview.chromium.org/2985593002 .
2017-07-21 11:44:09 -07:00
Bob Nystrom 456ebea38f Check in the .packages file for the migration tool.
This way, users don't have to run "pub get" on it before they can use
it. Since the .packages file only contains relative paths, it's safe to
check into the repo.

R=bkonyi@google.com

Review-Url: https://codereview.chromium.org/2983993002 .
2017-07-20 14:01:01 -07:00
Bob Nystrom 152bc2d538 Add simple test migration helper.
R=bkonyi@google.com

Review-Url: https://codereview.chromium.org/2987533002 .
2017-07-20 12:54:46 -07:00
Bob Nystrom 673c813c17 Fix merge bug.
Accidentally dropped a variable rename on the floor when I merged with
latest.

Review-Url: https://codereview.chromium.org/2979373002 .
2017-07-20 12:52:26 -07:00
Bob Nystrom 012774c78e Remove Dartium support from test.dart.
R=whesse@google.com

Review-Url: https://codereview.chromium.org/2981223002 .
2017-07-20 12:46:50 -07:00
Bob Nystrom 18ba6eb06d Pass shared options to dartdevc in test.dart.
This fixes the from_environment tests. Before, DDC wasn't getting
passed the names being defined.

R=whesse@google.com

Review-Url: https://codereview.chromium.org/2986513002 .
2017-07-19 17:06:11 -07:00
Bob Nystrom a8878ea655 Remove references to deleted test directories.
R=asiva@google.com

Review-Url: https://codereview.chromium.org/2986473002 .
2017-07-19 13:55:13 -07:00
Zachary Anderson 336478d7d9 Really disable core dump archiving on Linux
Trying again.

Review-Url: https://codereview.chromium.org/2984653002 .
2017-07-19 11:49:21 -07:00
Zachary Anderson 3e354bcc58 Disable core dump archive check on Linux
related #30205

Review-Url: https://codereview.chromium.org/2983093002 .
2017-07-19 11:34:15 -07:00
Vijay Menon 12e32e230d Add hook to register global object
DDC will use this in a later CL.

R=alanknight@google.com, sra@google.com

Stephen: I assume this will get compiled out be dart2js.
Review-Url: https://codereview.chromium.org/2983813002 .
2017-07-19 05:46:07 -07:00
Alan Knight 0700adc633 Fix the go.sh script for a completely new repo.
BUG=

Review-Url: https://codereview.chromium.org/2981193002 .
2017-07-18 13:44:08 -07:00
Terry Lucas 621b12f324 Removed DARTIUM codegen for IDLS (sdk/lib/dartium)
TBR=alanknight@google.com

Review-Url: https://codereview.chromium.org/2978213002 .
2017-07-18 11:02:02 -07:00
Terry Lucas 657daa96a8 First step in removing dartium from IDL generation in TIP of master.
TBR=alanknight@google.com

Review-Url: https://codereview.chromium.org/2982143002 .
2017-07-18 08:40:39 -07:00
Terry Lucas 8c91844ee6 Remove Dartium for TIP of origin/master
TBR=alanknight@google.com

Review-Url: https://codereview.chromium.org/2976303002 .
2017-07-18 06:53:29 -07:00
Alan Knight 789de57cdf Allow setting unknown CSS properties, e.g. CSS variables
BUG=
R=terry@google.com

Review-Url: https://codereview.chromium.org/2976213002 .
2017-07-17 14:56:31 -07:00
Bob Nystrom 489c96ac2e Re-land beginning Dart 2.0 test migration.
This is similar to:

47985d6dbd
452d2d0840
7af2d86ed3

Except that it also fixes the status for dart2analyzer.

R=jcollins@google.com

Review-Url: https://codereview.chromium.org/2980213002 .
2017-07-17 12:40:18 -07:00
William Hesse 7643dc86fc Update the homebrew recipe to not have Dartium dev versions.
BUG=
R=kevmoo@google.com

Review-Url: https://codereview.chromium.org/2977223002 .
2017-07-17 18:31:09 +02:00
William Hesse 71683744b2 Update checked-in Dart SDK to 1.25.0-dev.7.0
BUG=
R=scheglov@google.com

Review-Url: https://codereview.chromium.org/2982063002 .
2017-07-17 17:36:21 +02:00
William Hesse acf53f1e63 Remove Dartium from the SDK promotion script
BUG=
R=terry@google.com

Review-Url: https://codereview.chromium.org/2982023002 .
2017-07-17 16:21:02 +02:00
Alexander Aprelev 9882d494db "Set up directories.." commit below broke the buildbot tests, two others are collateral damage.
Revert "Precompiler doesn't report Dart 2.0 static type errors yet."

This reverts commit 7af2d86ed3.

Revert "Move absstract_exact_selector back into the language tests. (#30169)"

This reverts commit 452d2d0840.

Revert "Set up directories for migrated Dart 2.0 tests and migrate a couple. (#30149)"

This reverts commit 47985d6dbd.

R=zra@google.com

BUG:dartbug.com/30171
Review-Url: https://codereview.chromium.org/2979073002 .
2017-07-14 14:43:55 -07:00
Bob Nystrom 47985d6dbd Set up directories for migrated Dart 2.0 tests and migrate a couple. (#30149)
* Set up directories for migrated Dart 2.0 tests and migrate a couple.

- Create new "_2" directories where tests that have been validated as
  ready for Dart 2.0 will end up.
- Create empty status files for each directory.
- Add those directories to the set of default selectors you get when you
  run test.py. This gets the VM bots running them.
- Get the DDC bots running those suites.
- Move abstract_exact_selector_test over to dart2js since it's a
  dart2js-specific regression test and not an actual language test.
- Migrate corelib/apply_test.dart.
- Delete abstract_beats_arguments[2]_test.dart since that code is
  statically wrong in 2.0 and can't be run.

This doesn't get the dart2js bots running the new suites. I'll email
the relevant folks to get help with that.

* Resurrect abstract_beats_arguments_test.dart.

It usefully checked that an implementation reports an warning (now
error) if you construct an abstract class.

Also added support to test.dart to mark a test as expecting to
generate a compile error in the test itself. That way, the status file
reflects what is *wrong* about the current status, not what is *right*.

* Change static error syntax to match front_end notation.

* Migrate abstract_getter_test.
2017-07-14 10:27:37 -07:00
Ryan Macnak be95b916dd GN: Change the default meaning of dart_target_arch from current_cpu to target_cpu.
Update args.gn for the simulator builds to compensate.

R=zra@google.com

Review-Url: https://codereview.chromium.org/2980023002 .
2017-07-13 14:59:35 -07:00
Alexander Aprelev 6dd692b239 Introduce 'flutter_release' patch_sdk mode to accommodate for difference between Flutter release and non-release target configuration in regards to inclusion of vm_service package.
Flutter non-release should have vm_service package included into platform.dill to handle observatory requests, while release builds should not have it as they are not supposed to have observatory functionality enabled.

R=ahe@google.com, sigmund@google.com

BUG:dartbug.com/30112
Review-Url: https://codereview.chromium.org/2972323002 .
2017-07-13 13:39:05 -07:00
Sigmund Cherem 239c842b05 Fix bug in writing deps file (Fixes #30156)
Turns out the args were swapped, so we were writing one of our output files with the contents of the deps file. Later the script overrode that output file, so we didn't notice it.

R=zra@google.com

Review-Url: https://codereview.chromium.org/2980873003 .
2017-07-13 12:09:44 -07:00
Stephen Adams 8623950864 Change imports to clean up irritating warning
This gets rid of the following messages in the build:

patched_dart2js_sdk/lib/_internal/js_runtime/lib/native_typed_data.dart: Nit: 'Symbol' is imported from both 'dart:_internal' and 'dart:core'.
patched_dart2js_sdk/lib/svg/dart2js/svg_dart2js.dart: Nit: 'Symbol' is imported from both 'dart:_internal' and 'dart:core'.
patched_dart2js_sdk/lib/web_audio/dart2js/web_audio_dart2js.dart: Nit: 'Symbol' is imported from both 'dart:_internal' and 'dart:core'.
patched_dart2js_sdk/lib/web_gl/dart2js/web_gl_dart2js.dart: Nit: 'Symbol' is imported from both 'dart:_internal' and 'dart:core'.
patched_dart2js_sdk/lib/web_sql/dart2js/web_sql_dart2js.dart: Nit: 'Symbol' is imported from both 'dart:_internal' and 'dart:core'.

BUG=
R=ahe@google.com, sigmund@google.com

Review-Url: https://codereview.chromium.org/2982503002 .
2017-07-12 14:37:40 -07:00
Peter von der Ahé 8a1600b12e Add --set-exit-code-on-problem option.
Fixes https://github.com/dart-lang/sdk/issues/30127

R=sigmund@google.com

Review-Url: https://codereview.chromium.org/2979713002 .
2017-07-12 14:29:17 +02:00
Terry Lucas 1265b4c674 Fixed readPixels not working in Dartium.
BUG=11614
R=alanknight@google.com, jacobr@google.com

Review-Url: https://codereview.chromium.org/2975953002 .
2017-07-11 13:12:51 -07:00
Bob Nystrom b1fdd84817 One more fix to Windows file path handling. (#30133) 2017-07-10 17:02:56 -07:00
Bob Nystrom 15f80a42d6 More Windows path whack-a-mole in test.dart. (#30132) 2017-07-10 16:19:25 -07:00
Bob Nystrom b1ae919390 Fix test.dart path arguments to DDC on Windows (hopefully). (#30130) 2017-07-10 14:47:37 -07:00
Sigmund Cherem d844dc8226 Move forward rolling FE public APIS (make bots green)
There were a couple issues found in the bots:
 - dart2js unit tests I accidentally missed earlier.
 - vmservice issues only show up in the debug-vm, I was testing locally with the
   release vm.
 - a small regression in detecting invalid .packages files. I marked the test
 failing for now and plan to follow up on this on Monday.

TBR=ahe@google.com,paulberry@google.com

Review-Url: https://codereview.chromium.org/2974703002 .
2017-07-07 21:15:07 -07:00
Bob Nystrom 7b17a3dd01 Use "|" as the separator between module path and name. (#30106)
* Use "|" as the separator between module path and name.

":" is already a path character in Windows. This is why the
dartdevc tests aren't working on Windows. Because they try to do:

-sC:/some/path/blah.dart:blah

And it splits at the first ":". Oops.

* Switch to "=" for separating module path from name.

It looks a little funny when used with "--summary=", but it works fine
and is very unlikely to be used for anything else on any platform
(since we already use it as the separator between arg name and value).
2017-07-07 17:13:43 -07:00
Bob Nystrom 5a3b8326e4 Handle spaces in paths in status files. (#30107)
Also triage a couple more dartdevc tests.
2017-07-07 16:49:44 -07:00
Stephen Adams b0803e1dd7 _ChildrenElementList implements removeRange
This is to avoid inheriting an implementation that works incorrectly for the underlying NodeList.

TBR=lrn@google.com

BUG=

Review-Url: https://codereview.chromium.org/2977453002 .
2017-07-07 15:55:19 -07:00
Sigmund Cherem b71bd543a9 Reapply "Tweak public APIs and use them in patch_sdk, dart2js, and kernel-service.""
Original CL had a bug that wasn't visible unless you delete your
out/ReleaseX64/patched_sdk folder.

Patchset #1 is the original CL, patchset #2 shows the fix.

This reverts commit 4aadfe09df.

BUG=

Review-Url: https://codereview.chromium.org/2976543002 .
2017-07-07 15:32:24 -07:00
Sigmund Cherem 4aadfe09df Revert "Tweak public APIs and use them in patch_sdk, dart2js, and kernel-service."
Reason: broke VM bots, still investigating.

This reverts commit 610d081947.

TBR= paulberry@google.com

Review-Url: https://codereview.chromium.org/2979463002 .
2017-07-07 15:21:37 -07:00
Sigmund Cherem 610d081947 Tweak public APIs and use them in patch_sdk, dart2js, and kernel-service.
This CL tweaks the public APIs in package:front_end, and
starts using those APIs outside the package. For example, this
removes 9 uses of DillTarget, so it is not longer mentioned
outside pkg/front_end and the analyzer_target.

Actual changes:
 - in package:front_end

   * added kernel_generator_impl: new file contains code that
     used to be in kernel_generator. Code has some modifications:
     it uses a single canonical-root when loading summaries, and
     it supports generating both outlines and kernel in one go.

   * removed code that didn't belong here:
     a. most of calculating deps for .GN moved to patch_sdk
     b. vm-specific outcomes moved to kernel-service

   * updated how `native` is implemented, so we can more easily
     support dart2js and ddc

   * updated how we check where `int`, `bool`, etc can be implemented.

   * added support "hermetic mode" in modular builds
     ('chaseDependencies = false' option)

   * moved `trim` step out of fasta, and for now call it only within
     the public API. This is not yet exposed, and I stopped covering it in
     most tests (now only covered in shaker tests). The plan is to add
     tests for the public API covering this in the future.

   * removed `uriToSource` when serializing outlines

   * added unit tests for public APIs

 - patch_sdk
   * use the public API to craete platform.dill, outline.dill (now
     500K insted of 3Mb because it excludes sources), and vmservice_io.dill
   * moved here logic internal to .GN

 - kernel service
   * use the public API
   * moved here logic that depends on VM internals (e.g. status enum,
     compilation results)

 - package:compiler
   * use the public API in tools and unit tests
   * simplified patched-sdk generation: no more extending fasta's internals

 - package:kernel
   * fix bug in deserialization: initializers and other lists were
     overwritten accidentally with external definitions.
   * updated unit tests, moved shared logic to frontend/src/fasta/testing

R=johnniwinther@google.com, paulberry@google.com

Review-Url: https://codereview.chromium.org/2953703002 .
2017-07-07 15:14:22 -07:00
Erik Ernst 3b05eb9553 Add support to dart2js for option --enable-asserts.
R=johnniwinther@google.com, sigmund@google.com, sra@google.com

Review-Url: https://codereview.chromium.org/2879153005 .
2017-07-07 10:59:09 +02:00
Erik Ernst e451f16db0 Bug fix: Now handles that "summary" does not require any arguments.
R=johnniwinther@google.com

Review-Url: https://codereview.chromium.org/2970963002 .
2017-07-06 13:13:17 +02:00
Bob Nystrom 788516a71d Build SDK and DDC test packages on bots before running tests. (#30081)
The dartdevc_test target is a GN group that includes everything that
should be needed to run the dartdevc tests.
2017-07-05 17:09:48 -07:00
Bob Nystrom 1bd907dc2e Run dartdevc tests on drt instead of Chrome on the bots.
Also, do another triage pass on the tests.

R=vsm@google.com

Review-Url: https://codereview.chromium.org/2964043004 .
2017-07-05 09:45:16 -07:00
Erik Ernst c2afa4146b Updated various gardening data, and ignoring gardening/temp.
R=floitsch@google.com

Review-Url: https://codereview.chromium.org/2973653002 .
2017-07-05 16:20:40 +02:00
William Hesse cd8fc9aa6b Add commit queue status links to Gerrit CLs
BUG=https://bugs.chromium.org/p/chromium/issues/detail?id=735039
R=sortie@google.com

Review-Url: https://codereview.chromium.org/2965003002 .
2017-07-05 13:15:20 +02:00
William Hesse b6d67828b3 Remove both rietveld config and review_lgtm setting from cq config
BUG=735039
R=agable@chromium.org, tandrii@chromium.org

Review-Url: https://codereview.chromium.org/2970543002 .
2017-07-03 22:24:26 +02:00
Vyacheslav Egorov f167ad18da test.py: temporarily disable background optimizer in vm-dartk-debug config.
It is causing flakiness on bots.

Unmark tests marked as flaky by 45e4d848d2

See https://github.com/dart-lang/sdk/issues/30016.

BUG=
R=kustermann@google.com

Review-Url: https://codereview.chromium.org/2970733002 .
2017-07-03 17:05:12 +02:00
William Hesse de63dbf37b Add Rietveld configuration to commit queue config file
BUG=735039
TBR=kustermann@google.com
TBR=tandrii@google.com

Review-Url: https://codereview.chromium.org/2964663002 .
2017-06-30 17:15:45 +02:00
Zachary Anderson 1a8174b08d Exclude Observatory assets from PRODUCT build dart, dart_precompiled_runtime
This CL also removes some compiler flags that increase space somewhat
that help the profiler find symbols, which isn't included in a PRODUCT
build.

Before:
zra@zach:~/dart/sdk$ ls -la out/ProductX64/exe.stripped/
-rwxr-x--- 1 zra eng  9693064 Jun 29 14:52 dart
-rwxr-x--- 1 zra eng  7391080 Jun 29 14:52 dart_precompiled_runtime

R=askesc@google.com, rmacnak@google.com

After:
-rwxr-x--- 1 zra eng  6809424 Jun 29 15:11 dart
-rwxr-x--- 1 zra eng  3299120 Jun 29 15:11 dart_precompiled_runtime
Review-Url: https://codereview.chromium.org/2964133002 .
2017-06-30 08:09:37 -07:00
William Hesse 56a881d563 Remove optional Rietveld message from commit queue config.
BUG=735039

Review-Url: https://codereview.chromium.org/2967653002 .
2017-06-30 17:00:18 +02:00
William Hesse 3a50111b6e Add commit queue configuration in tools/infra/config
BUG=735039
R=kustermann@google.com

Review-Url: https://codereview.chromium.org/2962323002 .
2017-06-30 16:45:47 +02:00
Bob Nystrom 0b2c9b048d Dynamically load packages for dartdevc tests in test.dart.
This involves a few pieces:

- Add support to DDC for specifying the module name associated with a
  given summary. This lets test.dart invoke DDC using summaries in the
  build directory outside of the directory containing the test itself.

- Add support to the build scripts for building the packages. This adds
  a new GN target that builds everything needed to run test.dart with
  dartdevc. In particular, it invokes build_pkgs.dart to compile the
  relevant packages to JS+summary so that the tests can use them.

  This requires some changes to build_pkgs.dart so it can output to a
  given directory.

- In test.dart, when tests are compiled with dartdevc, pass in the
  summaries for the packages so they don't get compiled in. Then, when
  the test is run, configure require.js with the right paths to their
  JS files so they can be loaded.

  I also removed a bunch of unneeded buildDir parameters being passed
  around the various CompilerConfiguration class methods now that they
  have direct access to the configuration.

Fix #29923.

R=vsm@google.com, whesse@google.com, zra@google.com

Review-Url: https://codereview.chromium.org/2955513002 .
2017-06-29 13:45:57 -07:00
Alexander Aprelev 501688de4c Drop custom dart_host_sdk used for Flutter.
Instead have Flutter fetch prebuilt host sdk into same location where standalone dart expects it.

BUG=
R=rmacnak@google.com

Review-Url: https://codereview.chromium.org/2963053002 .
2017-06-29 13:18:43 -07:00
Ryan Macnak 399ade26aa [observatory] Add a 'GC' button to heap map.
R=cbernaschina@google.com

Review-Url: https://codereview.chromium.org/2953373002 .
2017-06-29 10:45:26 -07:00
William Hesse 6c4dcd6800 Remove support for multivm branch and runners
BUG=
R=terry@google.com

Review-Url: https://codereview.chromium.org/2956043002 .
2017-06-29 15:59:07 +02:00
Bob Nystrom 8d90363dce Start getting the DDC bot to run tests using test.dart.
R=vsm@google.com

Review-Url: https://codereview.chromium.org/2960343002 .
2017-06-28 16:50:27 -07:00
Stephen Adams fc7d880c60 Implement _ChildNodeListLazy.removeRange as throwing UnsupportedError
_ChildNodeListLazy.removeRange used to throw UnsupportedError because ListMixin.removeRange calls setRange.
Make throwing UnsupportedError explicit to avoid relying on the implementation of ListMixin.removeRange
This will unblock the '_closeGap' change.

BUG=
R=lrn@google.com

Review-Url: https://codereview.chromium.org/2955103003 .
2017-06-28 09:42:55 -07:00
Florian Loitsch 978213d427 Revert "Make Zone API strong mode clean."
This reverts commit 0b35711d48.

BUG=

Review-Url: https://codereview.chromium.org/2963743002 .
2017-06-28 13:31:32 +02:00
Florian Loitsch 0b35711d48 Make Zone API strong mode clean.
Review-Url: https://codereview.chromium.org/2959163002 .
2017-06-28 13:16:39 +02:00
Zachary Anderson a8252812b6 [Fuchsia] Script for downloading the latest prebuilt dev SDK
This will be called from a jiri hook after it lands.

R=rmacnak@google.com

Review-Url: https://codereview.chromium.org/2959973002 .
2017-06-27 13:12:22 -07:00
Bob Nystrom 82df163eca Refactor dependency_graph.dart.
It multiplexed a bunch of different events onto a single stream. But
every single listener on that stream immediately demuxed them and only
cared about a subset of the events.

So I made separate streams for each event. Other minor clean-ups too.

R=sigmund@google.com, whesse@google.com

Review-Url: https://codereview.chromium.org/2957703002 .
2017-06-26 17:07:37 -07:00
Erik Corry 029b1cb948 Spelling fixes e to i.
R=kevmoo@google.com
BUG=

Review-Url: https://codereview.chromium.org/2957593002 .
2017-06-24 13:41:39 +02:00
Bob Nystrom dfb4f52b43 Simplify enqueueBrowserTest().
It's still big and monolithic, but it's not as big as it was before.

- Remove old unused Polymer stuff.
- Move some of the logic out into a helper function.
- Other small tweaks.

R=whesse@google.com

Review-Url: https://codereview.chromium.org/2949823003 .
2017-06-23 15:02:36 -07:00
Bob Nystrom 3144296c4f Remove unused PubCommand stuff.
The rest of the pub functionality was removed already, so I think this
is just a straggler.

R=whesse@google.com

Review-Url: https://codereview.chromium.org/2944163002 .
2017-06-23 12:55:46 -07:00
Bob Nystrom 556c0550bf Simplify CommandOutput and friends.
- Merge CommandOutputImpl and CommandOutput. There were no classes that
  implemented CommandOutput that didn't extend the Impl.
- Remove "Impl" from the other class names.
- Make stuff private when possible. Likewise final.
- Other tiny style changes.

R=whesse@google.com

Review-Url: https://codereview.chromium.org/2946783002 .
2017-06-23 12:13:31 -07:00
William Hesse 6482690781 Rebased simplify CompilerConfiguration
BUG=

Review-Url: https://codereview.chromium.org/2954113002 .
2017-06-23 14:10:03 +02:00
Alexander Aprelev 8cd713bed3 Introduce dart_host_toolchain argument for generate_patch_sdk.gni. This allows for Flutter build to make sure that host_toolchain used for patched_sdk generation word size matches target platform.
Flutter Dart in product configuration doesn't allow --checked option. So remove '--checked' from invocation.

R=rmacnak@google.com

BUG:https://github.com/flutter/flutter/issues/10841
Review-Url: https://codereview.chromium.org/2944103003 .
2017-06-22 12:41:31 -07:00
Zachary Anderson ac16656161 Remove MIPS support
R=asiva@google.com

Review-Url: https://codereview.chromium.org/2858623002 .
2017-06-22 08:49:22 -07:00
William Hesse 232684aac0 Update co19 to revision dec2b67aaab3bb7339b9764049707e71e601da3d
BUG=
R=kustermann@google.com

Review-Url: https://codereview.chromium.org/2954443002 .
2017-06-22 11:46:13 +02:00
William Hesse d8ec6450d0 Fix compiler==none case in browser testing (Dartium case)
Error was introduced in https://codereview.chromium.org/2947473002/

BUG=
R=kustermann@google.com

Review-Url: https://codereview.chromium.org/2950173004 .
2017-06-22 11:30:23 +02:00
Bob Nystrom b452b39962 Basic support for dev_compiler in test.dart.
It can compile and run tests on Chrome. There are a lot of failing tests
that I (or the team) will need to triage, but I think at least basic
tests are working as expected.

There is code that could be cleaned up to more neatly factor how dart2js
and dartdevc are handled now that there are two separate compilers to
JS. There's also some redundant code between the path for testing
compile errors (enqueueStandardTest()) and the path for running a test
in the browser.

R=whesse@google.com

Review-Url: https://codereview.chromium.org/2947473002 .
2017-06-21 13:19:28 -07:00
William Hesse 823e7c6b03 Revert "Merge branch 'co19roll'"
This reverts commit 42cc7d570c.

BUG=
TBR=sortie@google.com

Review-Url: https://codereview.chromium.org/2952573003 .
2017-06-21 07:15:25 +02:00
William Hesse 42cc7d570c Merge branch 'co19roll'
Update co19 status files with results from buildbot.

Update co19 to revision dec2b67aaab3bb7339b9764049707e71e601da3d

BUG=
R=sortie@google.com

Review-Url: https://codereview.chromium.org/2948763003 .
2017-06-21 06:34:55 +02:00
Terry Lucas 97d188418a Update to latest WebKit changes:
- Fix DevConsole crash with JS see Issue https://github.com/dart-lang/sdk/issues/29873
     CL https://codereview.chromium.org/2941143002
- Fix debugging in WebStorm, NULL returned for JS objects see Issue https://github.com/dart-lang/sdk/issues/29854
     CL https://codereview.chromium.org/2945063002

TBR=jacobr@google.com

Review-Url: https://codereview.chromium.org/2952643002 .
2017-06-20 09:08:00 -07:00
William Hesse ea2167bbac Make debian package builder more robust in uninstall step
BUG=
R=lrn@google.com

Review-Url: https://codereview.chromium.org/2950783002 .
2017-06-20 13:34:54 +02:00
William Hesse 2b6fbc7069 Revert co19 roll attempt
Revert "Status files updated according to buildbot log (#29929)"

This reverts commit 5b7a7958b2.

Revert "Fix Dartium DEPS typo in co19 roll"

This reverts commit 4996568879.

BUG=

Review-Url: https://codereview.chromium.org/2949543002 .
2017-06-19 13:17:55 +02:00
William Hesse 4996568879 Fix Dartium DEPS typo in co19 roll
BUG=
TBR=sortie@google.com

Review-Url: https://codereview.chromium.org/2951443002 .
2017-06-19 13:06:40 +02:00
Sergey G. Grekhov 5b7a7958b2 Status files updated according to buildbot log (#29929)
* DEPS ans status files updated to the last co19 commit

* Commented lines deleted from .status file

* DEPS ans status files updated to the last co19 commit

* DEPS ans status files updated to the fix of https://github.com/dart-lang/co19/issues/110

* Fix for https://github.com/dart-lang/co19/issues/87 added

* Fix for https://github.com/dart-lang/co19/issues/88 added

* Status files updated according to buildbot log
2017-06-19 12:55:32 +02:00
Florian Loitsch dbfaa36728 Add summary command to bot.
Looks at the latest build results and gives information. For now
just prints, if a bot has an error.

R=johnniwinther@google.com

Review-Url: https://codereview.chromium.org/2944653002 .
2017-06-19 10:22:50 +02:00
Terry Lucas 8ab1a87aba Typedefs and IDL file order between platforms could generated different files.
TBR=alanknight@google.com,vsm@google.com

Review-Url: https://codereview.chromium.org/2948493002 .
2017-06-18 11:54:29 -07:00
Siva Chandra bac83e0973 Replace the --platform vm_option with --kernel-binaries option.
This new flag value specifies the directory in which the VM should look
up the platform.dill file. A future change will require the VM to load
another kernel binary from disk. This binary will also live in the same
directory that --kernel-binaries specifies. This way, we avoid adding a
different flag for each of the different binaries.

R=asiva@google.com

Review-Url: https://codereview.chromium.org/2933203004 .
2017-06-16 12:22:31 -07:00
William Hesse f99509ad42 Fix bad merge in refactoring
The land of https://codereview.chromium.org/2933973002 merged badly
with https://codereview.chromium.org/2934243002/

BUG=https://github.com/dart-lang/sdk/issues/28955
R=sortie@google.com

Review-Url: https://codereview.chromium.org/2938383002 .
2017-06-16 10:10:54 +02:00
Terry Lucas 1e1bab0bff Updated to latest WebKit changes
TBR=asiva@google.com

Review-Url: https://codereview.chromium.org/2939193002 .
2017-06-15 14:31:48 -07:00
Bob Nystrom a6ca718e98 Simplify Command classes.
- Get rid of separate CommandBuilder class and singleton pattern. It
  was being passed around explicitly even though half of the places
  that received a CommandBuilder as a parameter still directly called
  CommandBuilder.instance instead of using it.
- Get rid of Command caching. As far as I can tell, it makes no
  measurable difference in runtime performance or memory usage. Even
  with a large invocation of a lot of configurations and tests, the
  Command classes don't seem to be a significant use of memory.
- Shorten the factory names. "get" adds no value, and we know it
  returns a "Command" since it's on Command.

R=whesse@google.com

Review-Url: https://codereview.chromium.org/2933973002 .
2017-06-15 14:19:03 -07:00
Siva Chandra 65a5707189 Add a vmservice_sdk directory in runtime/bin.
This directory has a libraries.json file pointing to vmservice_io and
_vmservice in the source tree. The script tools/patch_sdk.dart has been
updated to use this new directory as the sdk directory when compiling
dart:vmservice_io. This way, to build vmservice_io.dill, we
do not need to copy the dart files pertaining to vmservice_io and
_vmservice.

Fixes #29859

R=sigmund@google.com

Review-Url: https://codereview.chromium.org/2938903003 .
2017-06-15 13:08:10 -07:00
Sigmund Cherem 5a63b0e339 Add flutter mode to patched_sdk
This is needed to create a platform.dill for flutter.

R=aam@google.com

Review-Url: https://codereview.chromium.org/2931773003 .
2017-06-14 17:29:36 -07:00
Bob Nystrom 979026abef Don't allow "none" as a runtime for dartk.
Also, add a little sanity checking in TestCase.

Fix #29842.

R=ahe@google.com

Review-Url: https://codereview.chromium.org/2941603002 .
2017-06-14 10:31:09 -07:00
William Hesse e64ee95959 Move ie11 timeout handling code to BrowserControllerTestOutcome
Only content_shell testing uses the BrowserCommandOutputImpl class.
Rename the class to ContentShellCommandOutputImpl.

BUG=https://github.com/dart-lang/sdk/issues/28955
BUG=https://github.com/dart-lang/sdk/issues/29869
R=kustermann@google.com

Review-Url: https://codereview.chromium.org/2934243002 .
2017-06-14 15:50:41 +02:00
William Hesse d98d32b63c Report ie11 timeouts in debug log, not as errors (attempt 2)
BUG=https://github.com/dart-lang/sdk/issues/28955
R=kustermann@google.com

Review-Url: https://codereview.chromium.org/2938813002 .
2017-06-14 14:17:27 +02:00
Siva Chandra 1fe6097cc8 Generate vmservice_io.dill along with platform.dill.
R=asiva@google.com

Review-Url: https://codereview.chromium.org/2940473002 .
2017-06-13 15:40:17 -07:00
Siva Chandra a879f91420 Remove dart:_vmservice and dart:vmservice_io from platform.dill.
A mirrors test which now passes has been removed from the blacklist.

R=asiva@google.com

Review-Url: https://codereview.chromium.org/2931193002 .
2017-06-13 13:49:38 -07:00
William Hesse dc08a02cbc Revert co19 roll attempt.
After status files are updated with failures from this run, we will try again.

R=brian.wilkerson@google.com

Revert "DEPS ans status files updated to the last co19 commit (#29604)"

This reverts commit 70b2b3f6b1.

Revert "Fix typos introduced in DEPS by 70b2b3f6b1bb2def061f80b7693cd89e23fa9134"

This reverts commit 9e9f7210d0.

BUG=

Review-Url: https://codereview.chromium.org/2933403002 .
2017-06-13 20:31:19 +02:00
William Hesse 9e9f7210d0 Fix typos introduced in DEPS by 70b2b3f6b1
BUG=
TBR=brian.wilkerson@google.com

Review-Url: https://codereview.chromium.org/2939553004 .
2017-06-13 19:59:53 +02:00
Sergey G. Grekhov 70b2b3f6b1 DEPS ans status files updated to the last co19 commit (#29604)
* DEPS ans status files updated to the last co19 commit

* Commented lines deleted from .status file

* DEPS ans status files updated to the last co19 commit

* DEPS ans status files updated to the fix of https://github.com/dart-lang/co19/issues/110

* Fix for https://github.com/dart-lang/co19/issues/87 added

* Fix for https://github.com/dart-lang/co19/issues/88 added
2017-06-13 19:49:18 +02:00
Alan Knight 6042ae4bd8 Get the name and message from DOMException correctly
BUG=
R=jacobr@google.com, terry@google.com

Review-Url: https://codereview.chromium.org/2931903003 .
2017-06-13 08:59:33 -07:00
Terry Lucas b3a90540f1 Fix sound not playing in Dartium checked mode.
Checked mode failure with optional args and Promise missing convertNativePromiseToDartFuture calls.
Easiest solution is to emit proper code instead of re-plumbing the Dartium emitter for operations
with optional arguments that are Promises.

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

TBR=alanknight@google.com,kevmoo@google.com

Review-Url: https://codereview.chromium.org/2940543002 .
2017-06-12 22:50:12 -07:00
Bob Nystrom 571839ed90 Remove negated variables now that we support "!".
R=lrn@google.com

Review-Url: https://codereview.chromium.org/2924183002 .
2017-06-12 15:50:59 -07:00
Bob Nystrom 19cb0cafb7 Simplify test_suite.dart.
- Get rid of baseCommand, which is only ever an empty list.
- Move some utility classes out of the giant test_suite.dart.

R=whesse@google.com

Review-Url: https://codereview.chromium.org/2915843003 .
2017-06-09 16:46:49 -07:00
Terry Lucas 3cbacefbe3 Fix HTMLCanvasElement.getContext it can return RenderingContext2 now which will be tree shaken without this annotation.
R=alanknight@google.com,sigmund@google.com

Review-Url: https://codereview.chromium.org/2932793002 .
2017-06-08 20:44:30 -07:00
Bob Nystrom 8bc4e89219 Remove unused record and replay functionality.
R=whesse@google.com

Review-Url: https://codereview.chromium.org/2920633002 .
2017-06-08 09:18:03 -07:00
Sigmund Cherem 9c32854d44 Use the correct sources for dartium in patched_sdk for vm
BUG=
R=ahe@google.com, paulberry@google.com

Review-Url: https://codereview.chromium.org/2923043004 .
2017-06-06 12:03:16 -07:00
William Hesse 33fe148c51 Update checked-in SDK to 1.24.0-dev.6.8
BUG=
R=rnystrom@google.com

Review-Url: https://codereview.chromium.org/2922273003 .
2017-06-06 17:05:09 +02:00
Martin Kustermann 2c41c608f1 Roll dartium to pull in changes art_SaveCompilationTrace/_Dart_LoadCompilationTrace
R=whesse@google.com

Review-Url: https://codereview.chromium.org/2927553002 .
2017-06-06 13:36:46 +02:00
Terry Lucas ffa45b00fe Updated to latest WebKit change. Support --dump-render-tree switch.
TBR=alanknight@google.com

Review-Url: https://codereview.chromium.org/2923673002 .
2017-06-05 13:45:15 -07:00
Ryan Macnak b69b3e58f0 Update test.py's --arch=all to match that of build.py.
R=zra@google.com

Review-Url: https://codereview.chromium.org/2918403002 .
2017-06-05 13:07:30 -07:00
Terry Lucas c630b89171 Update to latest WebKit
TBR=alanknight@google.com

Review-Url: https://codereview.chromium.org/2913993005 .
2017-06-02 12:11:48 -07:00
Alexander Aprelev 6573c74301 Reenable vm tests with -cdartk DFE parser.
This was accidentally disabled in 7e2d9ac85d.

BUG=#28264
R=asiva@google.com

Review-Url: https://codereview.chromium.org/2920733004 .
2017-06-02 09:34:11 -07:00
William Hesse ae4c38bf54 Fix versionchecker script
BUG=
R=lrn@google.com

Review-Url: https://codereview.chromium.org/2919933003 .
2017-06-02 11:28:57 +02:00
Lasse R.H. Nielsen 5720e3556c Add negation to single-identifier tests in status files.
Optimize some regegps too.

Fixes #29756

BUG= http://dartbug.com/29756
R=rnystrom@google.com

Review-Url: https://codereview.chromium.org/2913963002 .
2017-06-02 10:38:14 +02:00
Bob Nystrom db06324975 Remove temp code to ignore "--failure-summary".
Now that the BuildBots aren't passing it, we don't need to accept it.

R=whesse@google.com

Review-Url: https://codereview.chromium.org/2916123002 .
2017-06-01 15:45:55 -07:00
William Hesse e161ad12ac Allow test.py to run dartdoc tests. Run dartdoc tests on pub bots.
BUG=
R=jcollins@google.com

Review-Url: https://codereview.chromium.org/2914233002 .
2017-06-01 18:53:04 +02:00
Erik Ernst 80c5b67980 Added find-shard to bot.dart.
R=johnniwinther@google.com

Review-Url: https://codereview.chromium.org/2915043002 .
2017-06-01 16:25:29 +02:00
William Hesse dfbce8f779 Start working on version 1.25 of Dart SDK
BUG=
R=kasperl@google.com

Review-Url: https://codereview.chromium.org/2920753003 .
2017-06-01 13:54:22 +02:00
Johnni Winther f1472ed8bb Fix gardening/bot help messages
R=floitsch@google.com

Review-Url: https://codereview.chromium.org/2919693003 .
2017-06-01 11:32:58 +02:00
Johnni Winther 0e61716730 Add BuildBotClient to abstract http/logdog access
+ support error handling for logdog

R=floitsch@google.com

Review-Url: https://codereview.chromium.org/2912343002 .
2017-06-01 10:02:04 +02:00
Ryan Macnak 189dafd99f Roll Dartium to "Add _Dart_CreateCoreJITSnapshotAsBlobs to framework.order for MacOS."
Review-Url: https://codereview.chromium.org/2919673002 .
2017-05-31 17:55:08 -07:00
Bob Nystrom a9d4afc077 Handle "ff" as a runtime name in status files.
R=efortuna@google.com

Review-Url: https://codereview.chromium.org/2917843002 .
2017-05-31 17:49:22 -07:00
Bob Nystrom 7e2d9ac85d Revert "Revert "Replace the configuration map with a typed object.""
This reverts commit 8bada4873a.

R=nweiz@google.com

Review-Url: https://codereview.chromium.org/2919573003 .
2017-05-31 15:39:23 -07:00
Bob Nystrom 8bada4873a Revert "Replace the configuration map with a typed object."
This reverts commit 06f75fe5cd.

Review-Url: https://codereview.chromium.org/2914893003 .
2017-05-31 15:08:21 -07:00
Bob Nystrom 06f75fe5cd Replace the configuration map with a typed object.
This is a pretty massive change but my hope is it will make
test.dart easier to maintain going forward. Instead of
passing around a stringly-typed Map<String, dynamic> all
throughout the program, we parse the options and then create
a Configuration object that has typed getters for all of the
various bits of configuration data.

This is a little tedious because it means declaring a new
option requires also declaring a corresponding field in the
Configuration class and passing it through the constructor.
I think it's worth it.

Also, enum-like configuration properties like architecture
and runtime now have their own classes as well. Moved a
bunch of stuff from TestUtil into those classes now that
there is an object to hang those methods off of.

In the process, I found a few typos in string literals where
the code wasn't correctly looking up a configuration
property.

Added more sanity checking and validation to status file
parsing. You will get an error at parse time if you try to
refer to a variable that isn't in the whitelist of known
variables. Also, you'll get an error if you try to compare
a variable to a value that it isn't expected to have.

Many other small-scale cleanups.

Aside from the status file validation, this should behave
mostly the same as current test.dart except that tests
may be enqueued in a slightly different order. The
rewritten code for expanding configurations iterates
through the architecture, runtime, etc. options in a
slightly different order.

R=whesse@google.com

Review-Url: https://codereview.chromium.org/2901923003 .
2017-05-31 14:47:31 -07:00
Ryan Macnak 76df24b076 CoreJIT snapshots without training.
Only include OSR and field guards in the features descriptor for JIT code to avoid gen_snapshot and dart having different default values.

Disabled since core snapshots with code break tests with non-default flags for type checks, assertions, strict errors, OSR, or field guards.

R=zra@google.com

Review-Url: https://codereview.chromium.org/2902313004 .
2017-05-31 13:49:12 -07:00
Florian Loitsch 5aa5295e08 Add a 'bot.dart' executable to the gardening tools.
R=johnniwinther@google.com

Review-Url: https://codereview.chromium.org/2908403002 .
2017-05-31 16:36:37 +02:00
William Hesse 499cb29c70 Roll Dartium's buildtools to a version with valid DEPS
BUG=https://bugs.chromium.org/p/chromium/issues/detail?id=727587
R=ahe@google.com, terry@google.com

Review-Url: https://codereview.chromium.org/2912383003 .
2017-05-31 16:11:52 +02:00
Terry Lucas b987a126c5 Update Dartium specific DEPS inline in the vars, deps, hooks and deps_os.
More updates to get Dartium to build properly on bots (latest gclient update has removed functionality).

TBR=whesse@google.com

Review-Url: https://codereview.chromium.org/2912183002 .
2017-05-30 17:50:59 -07:00
Alan Knight 75a1eaef7e Fix dataTransfer getter
BUG=

Review-Url: https://codereview.chromium.org/2907273003 .
2017-05-30 15:14:40 -07:00
Bob Nystrom 7ce978bf91 Tighten types in test.dart even more.
This removes all implicit casts and many implicit uses of dynamic. It
adds a gratuitous number of explicit "as" casts and arguably makes the
code worse.

This is an interim step towards replacing the big configuration map
with an actual typed object. These "as" casts should help catch places
where the configuration object is being used and where the code will
need to be changed to use a new object.

R=sigmund@google.com

Review-Url: https://codereview.chromium.org/2903703002 .
2017-05-30 14:02:24 -07:00
William Hesse 74907cc891 Import DEPS.chromium into Dartium DEPS by copying
The new DEPS file validator does not support the python code
we use to import this file from the same directory.

BUG=https://bugs.chromium.org/p/chromium/issues/detail?id=727587
R=johnniwinther@google.com

Review-Url: https://codereview.chromium.org/2912913002 .
2017-05-30 11:53:14 +02:00
Bob Nystrom c296f75d10 Revert "Revert "Revert "Revert "Refactor test option parsing code.""""
This reverts commit 02547656cc.

R=efortuna@google.com

Review-Url: https://codereview.chromium.org/2904313002 .
2017-05-26 15:04:55 -07:00
Bob Nystrom 02547656cc Revert "Revert "Revert "Refactor test option parsing code."""
This reverts commit 79af418430.

Review-Url: https://codereview.chromium.org/2912563002 .
2017-05-26 14:46:04 -07:00
Bob Nystrom 79af418430 Revert "Revert "Refactor test option parsing code.""
This reverts commit d03835783c.

R=efortuna@google.com

Review-Url: https://codereview.chromium.org/2908833002 .
2017-05-26 14:18:13 -07:00
Bob Nystrom d03835783c Revert "Refactor test option parsing code."
This reverts commit 9c2dff8ebc.

R=nweiz@google.com

Review-Url: https://codereview.chromium.org/2909723002 .
2017-05-26 13:51:26 -07:00
Bob Nystrom 9c2dff8ebc Refactor test option parsing code.
This doesn’t touch the resulting configuration map, which is what this
is leading up to, but it cleans up the specification and parsing of the
options and removes a lot of redundancy.

Behavior should be the same as it was before, except that all options
now allow both their underscore-separated and hyphen-separated names.
So this is now valid:

test.py --hot_reload --append-logs

Where before, you use to have to do --hot-reload (OK) and
--append_logs (bad, since almost all other options expect hyphens).

R=sigmund@google.com

Review-Url: https://codereview.chromium.org/2902023002 .
2017-05-26 13:36:44 -07:00
Alan Knight d21cc80a54 Add a dataTransfer member to MouseEvent
BUG=
R=terry@google.com

Review-Url: https://codereview.chromium.org/2899393004 .
2017-05-25 14:05:10 -07:00
Terry Lucas 20dc749844 Suppress Scale interface - unused.
TBR=alanknight@google.com

Review-Url: https://codereview.chromium.org/2901213006 .
2017-05-25 12:54:38 -07:00
Alan Knight 6f71f9c80b Revert "[Experiment] Stop suppressing DragEvent"
This reverts commit fbbb974670.

Also updates the cached_patches.dart file.

BUG=
R=terry@google.com

Review-Url: https://codereview.chromium.org/2907563003 .
2017-05-25 11:16:10 -07:00
Peter von der Ahé 27761fd369 Read SDK and patches from a JSON file.
R=sigmund@google.com

Review-Url: https://codereview.chromium.org/2895983002 .
2017-05-25 15:57:57 +02:00
Alexander Aprelev 16c0db1022 Revert "Revert "With this change 'tools/test.py -cdartk vm' will run vm tests with Dart Frontend parser.""
This reverts commit e0cdea811a.

Update status of vm tests, that don't work with DFE yet.

BUG=https://github.com/dart-lang/sdk/issues/28264
R=asiva@google.com

Review-Url: https://codereview.chromium.org/2895153005 .
2017-05-24 20:16:48 -07:00
Ryan Macnak 14ec8fa979 Use assembly instead of C array literals to link the core snapshot into the VM.
Allows for including instructions.

R=zra@google.com

Review-Url: https://codereview.chromium.org/2901163002 .
2017-05-24 14:38:15 -07:00
Alan Knight b4b02daade Include DDC fixes to dart:html in the main version
BUG=
R=jacobr@google.com, vsm@google.com

Review-Url: https://codereview.chromium.org/2899173002 .
2017-05-24 12:49:13 -07:00
William Hesse b2e445c13a Add missing comma to DEPS file
This fixes an error in commit
0fa3c6e179
https://codereview.chromium.org/2901773005

TBR=kustermann@google.com
BUG=

Review-Url: https://codereview.chromium.org/2897173004 .
2017-05-24 12:18:41 +02:00
William Hesse 0fa3c6e179 Update Dartium source with build fix for MacOS
BUG=

Review-Url: https://codereview.chromium.org/2901773005 .
2017-05-24 11:20:59 +02:00
Alan Knight e6c38ea30f Remove JS_CONST from CssStyleDeclaration, causes DDC problems
BUG=
R=sra@google.com, vsm@google.com

Review-Url: https://codereview.chromium.org/2896393002 .
2017-05-23 14:48:08 -07:00
William Hesse 737a55cc63 Fix some issues with buildbot recipe change.
BUG=
R=kustermann@google.com

Review-Url: https://codereview.chromium.org/2903603002 .
2017-05-23 16:51:37 +02:00
William Hesse a4adc426e1 Remove old annotated_steps buildbot scripts and dispatcher
BUG=
R=kustermann@google.com

Review-Url: https://codereview.chromium.org/2895973002 .
2017-05-23 16:17:02 +02:00
Alexander Aprelev e0cdea811a Revert "With this change 'tools/test.py -cdartk vm' will run vm tests with Dart Frontend parser."
This reverts commit f62a2a9562.

Commit above [expectedly] broke runtime/vm tests since it uses DFE
instead of vm parser, but I didn't realize we actually test -cdartk
configuration. This has to be resubmitted with status file update to
mark 235 vm tests failing with DFE.

TBR=siva
BUG=

Review-Url: https://codereview.chromium.org/2901733002 .
2017-05-22 19:42:53 -07:00
Alexander Aprelev f62a2a9562 With this change 'tools/test.py -cdartk vm' will run vm tests with Dart Frontend parser.
BUG=https://github.com/dart-lang/sdk/issues/28264
R=asiva@google.com

Review-Url: https://codereview.chromium.org/2881833003 .
2017-05-22 17:24:38 -07:00
Alan Knight fbbb974670 [Experiment] Stop suppressing DragEvent
BUG=
R=jacobr@google.com

Review-Url: https://codereview.chromium.org/2898673003 .
2017-05-22 14:10:05 -07:00
Zachary Anderson 467dad857e Adds deprecation messages for MIPS cross-builds
fixes #29678

R=asiva@google.com

Review-Url: https://codereview.chromium.org/2899803002 .
2017-05-22 13:35:23 -07:00
Zachary Anderson 34f601a8db Fix ARMv6 Linux cross-build
related #29676

R=rmacnak@google.com

Review-Url: https://codereview.chromium.org/2892413002 .
2017-05-22 13:15:33 -07:00
Alan Knight 9e0297f49e Make KeyboardEvent have direct fields for keyCode/charCode, as they're no longer inherited from UIEvent
BUG=
R=terry@google.com

Review-Url: https://codereview.chromium.org/2896653003 .
2017-05-22 10:29:24 -07:00
Alan Knight 5c0f074134 Update Dartium deps for https://codereview.chromium.org/2887183003/
BUG=
R=jacobr@google.com, terry@google.com

Review-Url: https://codereview.chromium.org/2888283003 .
2017-05-22 10:16:36 -07:00
Zachary Anderson 81e428fd39 [infra] Assembles the SDK using GN rather than create_sdk.py
This has a few advantages:
- We can track dependencies more precisely
- ninja can assemble things in parallel as they're ready rather than
  sequentially all at once.
- It is easier to customize SDKs depending on target platform, e.g.
  Fuchsia.

This CL also has a number of cleanups:
- Defining is_fuchsia and is_fuchsia host so we don't always have to check
- Piping through toolchain overrides in more places
- Fixing bugs in copy_tree.py, not using list_files.py, which is broken on Windows

related #29558

R=whesse@google.com

Review-Url: https://codereview.chromium.org/2848943003 .
2017-05-20 23:30:09 -07:00
Martin Kustermann 22c7536d36 Reduce temporarily flakiness rate of dart2js-drt by re-running until they have been fixed
We should either remove dart2js-drt or use a stable version of
content_shell from upstream chromium (instead of our dartium-based one)
for dart2js-drt.

Issue #29655

R=whesse@google.com

Review-Url: https://codereview.chromium.org/2891343002 .
2017-05-19 13:13:40 +02:00
Bob Nystrom 92267afc66 Refactor and clean up the status file parsing code. - Make the parser less error tolerant. The expression parser used to ignore any unrecognized tokens, which means a status like "RuntimeError CompileError" (not the missing comma) was parsed as simply "RuntimeError", which seems bad. Now it reports an error. Fixed a couple of status files that thought they were setting statuses that they weren't (!).
- Separate out parsing a status file from applying the environment to
  determine which sections are active. This makes it possible to, for
  example, generate expectation sets for multiple environments without
  having to reparse each time.

- Simplify expression parsing. Remove set expressions since they weren't
  used for anything useful. A test's expectations are a simple
  comma-separated list and don't need anything beyond that. Merge
  Scanner and Tokenizer since the latter was a glorified function.

- Make more names private so that it's clearer what's used outside of
  various libraries.

- Generally modernize the style.

- Add *lots* of documentation.

Again, there should be no behavioral changes. I ran:

  ./tools/test.py -m release,debug -c none,dart2js,dart2analyzer -r none,vm,d8 corelib

Before and after the change and verified that the output was the same
(aside from timing).

R=sigmund@google.com

Review-Url: https://codereview.chromium.org/2891753003 .
2017-05-18 12:42:52 -07:00
Bob Nystrom c269ef53a5 Revert "Re-apply status file parser changes from 0b7728da1bef08c1c1e092005d9fd8c8bff5fa6c."
This reverts commit a881aed354.

TBR.

R=paulberry@google.com

Review-Url: https://codereview.chromium.org/2888213002 .
2017-05-17 13:45:40 -07:00
P.Y. Laligand f3f599bcb5 Don't remove destination files in dry run mode. (#29633) 2017-05-17 13:18:49 -07:00
Bob Nystrom a881aed354 Re-apply status file parser changes from 0b7728da1b.
R=whesse@google.com

Review-Url: https://codereview.chromium.org/2880203004 .
2017-05-17 13:04:35 -07:00