Commit graph

4315 commits

Author SHA1 Message Date
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: a99211821c
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
Ryan Macnak fcd6333e3c Update the test harness to GN's location for the host's dart_bootstrap.
R=fschneider@google.com

Review-Url: https://codereview.chromium.org/2623283004 .
2017-01-11 18:42:48 -08:00
Florian Schneider bef4967ea1 Remove dart_noopt and related parts from the VM.
dart_noopt is not needed anymore because we have testing
and builbot integration of the real precompilation pipeline in place now.

Fixes #24569
Fixes #25726
Fixes #25845

R=rmacnak@google.com

Review-Url: https://codereview.chromium.org/2624393002 .
2017-01-11 16:55:55 -08:00
Zachary Anderson cf069d2dfa Make build.py ensure that goma is started if it is enabled
R=rmacnak@google.com

Review-Url: https://codereview.chromium.org/2620113002 .
2017-01-10 15:09:34 -08:00
Terry Lucas 4b497fb319 Fixed checked mode error for resolvePackageUri.
TBR=asiva@google.com

Review-Url: https://codereview.chromium.org/2626643003 .
2017-01-10 09:00:16 -08:00
William Hesse 3f7a85e068 Remove 'pkg' from the default list of test suites
Allow 'exclude-suite' option of test.dart to include a suite not on
the default list, so existing '--exclude-suite=pkg' options are
ignored. This change does not need to be reversed later.

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

Review-Url: https://codereview.chromium.org/2610943002 .
2017-01-10 16:51:22 +01:00
Terry Lucas 559ae993d1 Added VMLibraryHooks setup for Dartium to support resolvePackageUri.
BUG=25594
R=asiva@google.com

Review-Url: https://codereview.chromium.org/2611353002 .
2017-01-10 07:25:10 -08:00
Josh Triplett 2270d7c791 tools/create_pkg_manifest.py: Sort manifest entries for reproducibility (#28310)
tools/create_pkg_manifest.py currently outputs manifest entries in hash
order, which results in spurious reordering on updates, making it harder
to see the actual changes.  Sort the manifest entries, to make the
output reproducible.

This will result in a large diff for the next manifest update, but every
subsequent update should have a minimal diff showing only the actual
changes, with no spurious reordering.
2017-01-09 19:34:27 -08:00
Zachary Anderson 0962a0f6f5 GN: Add environment variables for sysroot, toolchain
Also accept a map instead of a single path for each so
the toolchain/sysroot can be set per-arch.

R=johnmccutchan@google.com

Review-Url: https://codereview.chromium.org/2625503002 .
2017-01-09 15:53:21 -08:00
Terry Lucas 510fd7d0db Updated to latest WebKit change
TBR=leafp@google.com,vsm@google.com

Review-Url: https://codereview.chromium.org/2625563002 .
2017-01-09 14:43:26 -08:00