Commit Graph

5874 Commits

Author SHA1 Message Date
Terry Lucas a25be8f890 Update DEPS to latest WebKit change - fix iframe debugging.
TBR=jacobr@google.com

Review-Url: https://codereview.chromium.org/2687533009 .
2017-02-09 09:25:26 -08:00
Terry Lucas 338a0cdc33 Updated to point to latest CL (1/24) in WebKit.
TBR=jacobr@google.com,whesse@google.com

Review-Url: https://codereview.chromium.org/2679423005 .
2017-02-09 06:09:39 -08:00
Vyacheslav Egorov d5a11f3d34 [Kernel] Enable Kernel Isolate to use Fasta instead of DartK.
We are not switching yet, but now everybody can try fasta by doing:

$ dart -DDFE_USE_FASTA=true --dfe=utils/kernel-service.dart hello.dart

Note that when using fasta we expect that patched_sdk contains platform.dill
Kernel binary containing compiled patched sdk. This file can be obtained by
doing:

$ export DART_AOT_SDK=<path-to-patched_sdk>
$ dart pkg/front_end/lib/src/fasta/bin/compile_platform.dart \
  ${DART_AOT_SDK}/platform.dill

We are also adding --use-fasta to testing script to allow end-to-end testing
of fasta (though platform.dill file needs to be generated manually prior to
running tests):

$ tools/test.py -c dartk -m release -a x64 --nobatch --use-fasta

Current test status:

$ tools/test.py -c dartk -m release -a x64 --nobatch --use-fasta
[27:34 | 100% | +12566 | - 1941]

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

Review-Url: https://codereview.chromium.org/2684943003 .
2017-02-08 16:48:35 +01:00
Florian Schneider 973adc3ea5 Fix failure of test_runner_test on Windows.
test_runner_test does not set up the configuration like a regular test
run with test.dart.

R=zra@google.com

Review-Url: https://codereview.chromium.org/2686453003 .
2017-02-07 11:34:49 -08:00
Florian Schneider f1d76fce1c test.dart: Find cdb.exe automatically from depot_tools when running Windows tests
cdb is used to dump a stack trace when a test times out.

Instead of relying on cdb.exe being in the PATH, find it from the installed
depot_tools.

BUG=
R=kustermann@google.com, zra@google.com

Review-Url: https://codereview.chromium.org/2672243005 .
2017-02-07 10:21:04 -08:00
Bob Nystrom e826303741 Get rid of --use-repository-packages and --use-public-packages.
The former doesn't seem to tell us anything useful, and is broken. The
latter is no longer needed as a flag without the former. The pkgbuild
suite implies it and other suites don't support it.

R=whesse@google.com

Review-Url: https://codereview.chromium.org/2673133002 .
2017-02-06 10:40:53 -08:00
Alan Knight de05077537 Revert "Add Selection.toString() calling the native method"
This reverts commit 01e6e00499.

BUG=

Review URL: https://codereview.chromium.org/2678593002 .
2017-02-03 17:02:06 -08:00
Alan Knight b1552f9ef9 Revert "Re-submit Range.toString() and test status changes"
This reverts commit 95d409e3ed.

BUG=

Review URL: https://codereview.chromium.org/2678543002 .
2017-02-03 13:05:18 -08:00
Alan Knight 01e6e00499 Add Selection.toString() calling the native method
BUG=
R=terry@google.com

Review URL: https://codereview.chromium.org/2669103003 .
2017-02-03 10:24:18 -08:00
Alan Knight 95d409e3ed Re-submit Range.toString() and test status changes
https://codereview.chromium.org/2632363002
https://github.com/dart-lang/sdk/pull/28376

R=whesse@google.com

Review URL: https://codereview.chromium.org/2672843003 .
2017-02-03 09:55:59 -08:00
Kevin Moore c492f09ed8 update dart2js_info DEPS in Dartium
R=het@google.com

Review-Url: https://codereview.chromium.org/2678483002 .
2017-02-03 09:44:24 -08:00
William Hesse 33e89e66be Update status for analyze_libraries suite, and make it work with --use-sdk
BUG=https://github.com/dart-lang/sdk/issues/28620
R=fschneider@google.com

Review-Url: https://codereview.chromium.org/2671913002 .
2017-02-03 03:20:57 +01:00
Alan Knight 05e80e9cfc Regenerate html files after b42dbe524c
BUG=
R=terry@google.com

Review URL: https://codereview.chromium.org/2670203002 .
2017-02-02 12:54:56 -08:00
Florian Schneider d8054eaabe Print stack traces of tests timing out on Windows
Uses cdb.exe (part of Windows SDK, comes with depot_tools) to dump stack traces of all threads when a test times out similar
to what we already do on Linux and MacOS.

Note that cdb.exe comes in two version (32- and 64-bit). For proper stacktraces the correct version must be in the PATH.

Fixes #28242.

R=kustermann@google.com

Review-Url: https://codereview.chromium.org/2670763002 .
2017-02-02 10:25:30 -08:00
Asger Feldthaus 14c6b27533 Put tree-shaking behind a flag in dartk.
BUG=
R=jensj@google.com

Review-Url: https://codereview.chromium.org/2669783002 .
2017-02-02 15:10:10 +01:00
Ryan Macnak 6b1315a06f Revert "Delete app jit or aot snapshots as each test is completed to reduce the amount of disk space required to run the test suite."
This reverts commit 302e54a55d.

Review-Url: https://codereview.chromium.org/2671503002 .
2017-02-01 10:51:28 -08:00
Ryan Macnak 302e54a55d Delete app jit or aot snapshots as each test is completed to reduce the amount of disk space required to run the test suite.
R=whesse@google.com

Review-Url: https://codereview.chromium.org/2666833004 .
2017-02-01 09:20:48 -08:00
William Hesse 9994a0b44f Update the checked-in Dart SDK to version 1.22.0-dev.10.2
BUG=
R=rmacnak@google.com

Review-Url: https://codereview.chromium.org/2664363002 .
2017-02-01 02:23:34 +01:00
William Hesse e815b1f788 Start working on version 1.23 of the Dart SDK
BUG=
R=rmacnak@google.com

Review-Url: https://codereview.chromium.org/2668013004 .
2017-02-01 00:13:12 +01:00
Sergey G. Grekhov 2a73c6427d DEPS ans status files updated to the last co19 commit (#28486)
co19 updated to version 4af9ef149be554216c5bb16cbac8e50d4c28cdf1
2017-01-31 10:12:58 -08:00
Ryan Macnak 9eb216a495 Reapply "Create an app snapshot of the Dart front end."
Skip training on Windows, issue #28532.

R=hausner@google.com

Review-Url: https://codereview.chromium.org/2665753002 .
2017-01-31 09:47:51 -08:00
Vyacheslav Egorov a7ffe24177 VM: [Kernel] Switch to DFE for testing -c dartk configuration.
R=kustermann@google.com

Review-Url: https://codereview.chromium.org/2668503003 .
2017-01-31 18:25:02 +01:00
Ian McKellar 6ca4e233c4 Fix tools/create_pkg_manifest.py to generate valid XML. (#28501)
Fixes #28500
2017-01-24 12:29:03 -08:00
Martin Kustermann 4e34234c28 Add support for configurable -OX optimization levels for debug builds
Can be used via -dX or --debug-opt-level=X, e.g.

  tools/gn.py --mode=debug --arch=x64 -d0

R=vegorov@google.com, zra@google.com

Review-Url: https://codereview.chromium.org/2645323002 .
2017-01-24 17:36:37 +01:00
Ryan Macnak 1b566945bd Roll Dartium blink to "Adapt to refactoring of snapshot APIs in the Dart VM."
Review-Url: https://codereview.chromium.org/2647403002 .
2017-01-23 10:39:07 -08:00
William Hesse 616789b6d4 Use wheezy sysroot when building SDK
This avoids a dependency of the linux SDK on glibc version
2.16 or greater.

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

Committed: https://github.com/dart-lang/sdk/commit/a99211821cfdc0836576325d1d9d8c8d00ce72de
Review-Url: https://codereview.chromium.org/2650763003 .
2017-01-23 19:23:01 +01:00
William Hesse a99211821c Use wheezy sysroot when building SDK
This avoids a dependency of the linux SDK on glibc version
2.16 or greater.

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

Review-Url: https://codereview.chromium.org/2650763003 .
2017-01-23 19:15:43 +01:00
William Hesse 5d2f07eb58 Revert "Update checked-in Dart SDKs to 1.22.0-dev.9.0"
This reverts commit 79bd6b8676.

The new checked-in SDKs required glibc 2.16 on Linux, due to a build error.
We will check in new ones without this problem.

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

Review-Url: https://codereview.chromium.org/2651743003 .
2017-01-23 19:00:27 +01:00
Sergey G. Grekhov 5624919085 Status files updated accordint latest buildbot results (#28452)
* DEPS and status files updated to the latest co19 commit

* Status files updated according latest buildbot results

* Status file updated for Dartium webgl tests
2017-01-23 16:46:01 +01:00
William Hesse 79bd6b8676 Update checked-in Dart SDKs to 1.22.0-dev.9.0
This updates hashes so that DEPS download hooks will download
a newer version of the Dart SDK, 1.22.0-dev.9.0.  The current
version is 1.19.0-dev.7.2.

BUG=
R=kustermann@google.com, sortie@google.com

Review-Url: https://codereview.chromium.org/2648273002 .
2017-01-23 15:46:59 +01:00
Ryan Macnak 4f598c584d GN: Fix cross ARM64 and cross MIPS builds.
R=zra@google.com

Review-Url: https://codereview.chromium.org/2643583002 .
2017-01-20 15:44:24 -08:00
Zachary Anderson 3355532f01 Fuchsia: Copy libraries to SDK bin directory
Dart in Fuchsia-land is dynamically linked. For the SDK for the host,
that is used during the Fuchsia build for running the analyzer, etc.,
we have to put the .so's next to the binary so the dynamic linker
can find them.

R=asiva@google.com

Review-Url: https://codereview.chromium.org/2646853005 .
2017-01-20 13:06:34 -08:00
Vyacheslav Egorov e8f456edd5 Buildbot: Only archive core dumps from unexpected crashes.
Change UnexpectedCrashDumpArchiver to generate coredumps file in the current
directory. Each line of this file specifies a core and a binary to be
uploaded in the following format:

              test-name,core-file,binary-file

CoreDumpArchiver reads this file and uploads the first 10 crash dumps.

R=kustermann@google.com
BUG=

Review-Url: https://codereview.chromium.org/2645963004 .
2017-01-20 17:44:51 +01:00
William Hesse 34bfb3342b Revert "DEPS and status files updated to the latest co19 commit (#28445)"
This reverts commit 8cfaa86180.

BUG=
TBR=kustermann@google.com

Review-Url: https://codereview.chromium.org/2646023003 .
2017-01-20 04:15:59 +01:00
Sergey G. Grekhov 8cfaa86180 DEPS and status files updated to the latest co19 commit (#28445) 2017-01-20 02:59:49 +01:00
Zachary Anderson 306b0ec249 Fuchsia: Build an OS image that includes Dart's test suite.
Guarded by a GN argument, this CL builds a Fuchsia OS image
that includes Dart tree, including the test suite, packages,
test harness, and sufficient build output to run through the
test suite.

R=asiva@google.com

Review-Url: https://codereview.chromium.org/2547013003 .
2017-01-19 10:11:27 -08:00
Vyacheslav Egorov 84820ba05e Fix analyzer warnings in tools/testing/dart/test_progress.dart
R=kustermann@google.com
BUG=

Review-Url: https://codereview.chromium.org/2642153002 .
2017-01-19 17:49:52 +01:00
Vyacheslav Egorov 6c9ca0cd2b Buildbot: Change --copy-crashdumps to do the actual archiving to CloudStorage.
This flag now both enables core dump collection by setting appropriate rlimits
and takes care of archiving cores and crashed binaries.

R=kustermann@google.com

Review-Url: https://codereview.chromium.org/2640093005 .
2017-01-19 17:25:39 +01:00
Vyacheslav Egorov e9483132ed Revert "Buildbot: Change --copy-crashdumps to do the actual archiving to CloudStorage."
This reverts commit dec352c1ac.

Bots are completely broken

BUG=
TBR=kustermann@google.com

Review-Url: https://codereview.chromium.org/2640823005 .
2017-01-19 16:17:23 +01:00
Vyacheslav Egorov dec352c1ac Buildbot: Change --copy-crashdumps to do the actual archiving to CloudStorage.
This flag now both enables core dump collection by setting appropriate rlimits
and takes care of archiving cores and crashed binaries.

BUG=
R=kustermann@google.com

Review-Url: https://codereview.chromium.org/2644593002 .
2017-01-19 16:13:28 +01:00
Vijay Menon b2b7975d63 Disable npm steps on DDC bot for now
This will only regression test compilation (no running of generated
code), but that appears to work.

R=leafp@google.com

Review-Url: https://codereview.chromium.org/2646493003 .
2017-01-18 15:30:43 -08:00
Martin Kustermann 5f9e59f278 Fix vm-kernel-precompilation builders
Review-Url: https://codereview.chromium.org/2643863003 .
2017-01-18 22:41:27 +01:00
Vijay Menon b1d3a0c79a Set CHROME_BIN on DDC bot
Noticed the Linux bot is failing on this:

https://build.chromium.org/p/client.dart.fyi/builders/ddc-linux-release-be/builds/1724/steps/ddc%20tests/logs/stdio

R=whesse@google.com

Review-Url: https://codereview.chromium.org/2640093002 .
2017-01-18 11:14:23 -08:00
Martin Kustermann 5d7e89cb4e Fix android precompilation builders after testing script refactoring
Review-Url: https://codereview.chromium.org/2640063002 .
2017-01-18 19:07:22 +01:00
Martin Kustermann f95701bf61 Support tests using VMOptions also with kernel
R=whesse@google.com

Review-Url: https://codereview.chromium.org/2641433002 .
2017-01-18 18:48:22 +01:00
Martin Kustermann ef019665e7 Remove some hacks in the testing scripts & prepare for checked mode handling with kernel
R=whesse@google.com

Review-Url: https://codereview.chromium.org/2638033002 .
2017-01-18 12:11:11 +01:00
Asger Feldthaus 8701dbf147 Revert "added Range.toString() to dart:html (#28376)" +1 more
Revert "dart2js status updates after Range.toString was added to dart:html"

This reverts commit 226a7e7177.
This reverts commit c279a951f4.

The test

  co19/LayoutTests/fast/filesystem/file-writer-abort-continue_t01

broke after the inital commit. The second commit being reverted
is one that updated the status files for tests that now pass.

BUG=
R=whesse@google.com

Review-Url: https://codereview.chromium.org/2635033004 .
2017-01-17 17:21:46 +01:00
Asger Feldthaus 902d9ee7e8 Do some housekeeping in tools/testing/dart
- Fix dartanalyzer warnings about unused variables and missing returns
- Remove trailing whitespace
- Add a dummy pubspec.yaml so editors recognize it as a Dart project

R=whesse@google.com

Review-Url: https://codereview.chromium.org/2633213003 .
2017-01-17 16:02:45 +01:00
Kulshekhar Kabra b42dbe524c Add documentation for a method (#28209)
* Add documentation for a method

Adds docs for the `getPropertyValue` method of the `CssStyleDeclaration` class in the `html` package

* Remove unneeded extra line
2017-01-16 09:18:27 +01:00
Lex Berezhny 226a7e7177 added Range.toString() to dart:html (#28376)
* added Range.toString() to dart:html

* added Range.toString to impl_range.darttemplate as well
2017-01-13 14:13:07 -08:00