Commit Graph

3340 Commits

Author SHA1 Message Date
nweiz@google.com c8de060c54 Revert "Revert "Use native async/await support in pub.""
The VM now fully supports all the weird async stuff pub is doing, and all the
tests pass with native async/await!

Previous CLs were r43484 and r43483.

R=rnystrom@google.com

Review URL: https://codereview.chromium.org//937243002

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@43897 260f80e4-7a28-3924-810f-c04153c831b5
2015-02-19 22:28:54 +00:00
koda@google.com 952a4124fe Include environment overrides when building repro command.
This is important since flags to the Dart VM are passed through an environment variable.

R=whesse@google.com

Review URL: https://codereview.chromium.org//909603003

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@43765 260f80e4-7a28-3924-810f-c04153c831b5
2015-02-13 15:41:05 +00:00
ricow@google.com 0c21c996db Add SkipSlow marker
This is to be used temporarily until we can start running slow tests on seperate bots.

R=whesse@google.com, kevmoo@google.com
BUG=22402

Review URL: https://codereview.chromium.org//924793002

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@43751 260f80e4-7a28-3924-810f-c04153c831b5
2015-02-13 10:02:30 +00:00
ricow@google.com ee49895197 Archive more debug builds for manual inspection of binary differences
R=koda@google.com
BUG=

Review URL: https://codereview.chromium.org//920673002

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@43713 260f80e4-7a28-3924-810f-c04153c831b5
2015-02-12 07:24:02 +00:00
ricow@google.com 0085fc67d5 Temporarily change the archiving folder for crashes from the bots
R=whesse@google.com
BUG=

Review URL: https://codereview.chromium.org//906973002

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@43587 260f80e4-7a28-3924-810f-c04153c831b5
2015-02-09 10:42:37 +00:00
sra@google.com 904433bd7c Revert "Annotate dart:html constructor expressions with precise non-nullable types."
Need to fix some html/element_types_test cases.

TBR=alanknight@google.com

Review URL: https://codereview.chromium.org//904663005

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@43579 260f80e4-7a28-3924-810f-c04153c831b5
2015-02-07 00:35:32 +00:00
sra@google.com f74e57786d Annotate dart:html constructor expressions with precise non-nullable types.
This addresses issue http://dartbug.com/22264

R=alanknight@google.com

Review URL: https://codereview.chromium.org//896723009

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@43578 260f80e4-7a28-3924-810f-c04153c831b5
2015-02-06 23:24:19 +00:00
vsm@google.com e4b9746f2f Update roll script
I'll start running this again (unless someone else wants to :-))

R=rmacnak@google.com

Review URL: https://codereview.chromium.org/904903005

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@43569 260f80e4-7a28-3924-810f-c04153c831b5
2015-02-06 21:00:17 +00:00
jacobr@google.com 60bae5bb5d Cleanup method signatures that were incorrect due to a lack of understanding about how Dart generics work.
BUG=
R=alanknight@google.com, terry@google.com

Review URL: https://codereview.chromium.org//896293003

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@43562 260f80e4-7a28-3924-810f-c04153c831b5
2015-02-06 19:15:49 +00:00
ricow@google.com 37f9165c0b Revert "Remove test retrying for Safari, in test scripts."
TBR=whesse@google.com
BUG=

Review URL: https://codereview.chromium.org//902083004

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@43542 260f80e4-7a28-3924-810f-c04153c831b5
2015-02-06 06:44:08 +00:00
sra@google.com 8bed532218 Tweak toString() for better type inference
These changes ensure dart2js can infer toString() returns a non-null String on some of our samples.

One tactic is to always write toString method for which all returned expressions are a an interpolation (or literal), or a call to StringBuffer.toString.

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

Review URL: https://codereview.chromium.org//895813002

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@43534 260f80e4-7a28-3924-810f-c04153c831b5
2015-02-06 00:24:51 +00:00
ricow@google.com 10595e509d Make standalone tests not dependent on current working directory.
This also simplifies DartOptions - could we simply remove it, the only usage is the arguments test which could simply call the vm on another file, and validate the output?

R=iposva@google.com, sgjesse@google.com
BUG=

Review URL: https://codereview.chromium.org//899243002

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@43511 260f80e4-7a28-3924-810f-c04153c831b5
2015-02-05 16:29:39 +00:00
iposva@google.com c859d25679 - Return exit code 253 in case of API errors during loading. This
will trigger for example when loading outdated snapshots.

R=ricow@google.com

Review URL: https://codereview.chromium.org//899523005

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@43505 260f80e4-7a28-3924-810f-c04153c831b5
2015-02-05 14:30:24 +00:00
whesse@google.com 1c8158500c Remove test retrying for Safari, in test scripts.
BUG=dartbug.com/21434
R=ricow@google.com

Review URL: https://codereview.chromium.org//884073003

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@43503 260f80e4-7a28-3924-810f-c04153c831b5
2015-02-05 13:05:47 +00:00
nweiz@google.com bbe0d9325c Revert "Use native async/await support in pub."
This caused SDK compilation issues that may have obscured pub test failures as
well.

R=rnystrom@google.com

Review URL: https://codereview.chromium.org//887223007

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@43484 260f80e4-7a28-3924-810f-c04153c831b5
2015-02-04 21:15:44 +00:00
nweiz@google.com 1835c63d0a Use native async/await support in pub.
R=rnystrom@google.com

Review URL: https://codereview.chromium.org//896623005

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@43483 260f80e4-7a28-3924-810f-c04153c831b5
2015-02-04 20:45:49 +00:00
terry@google.com 69e76a7b28 Clamp scrollX, scrollY, pageXOffset, and pageYOffset from double to int
TBR=vsm@google.com,asiva@google.com

Review URL: https://codereview.chromium.org//898993002

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@43477 260f80e4-7a28-3924-810f-c04153c831b5
2015-02-04 16:59:12 +00:00
vsm@google.com a64cb5848d Only auto-roll blink for the moment
It'll take some time - hopefully not too long - to add git support for chrome src.  We'll need to manually push chrome changes until then, but those are fewer, so I'll start with this.

R=rmacnak@google.com

Review URL: https://codereview.chromium.org/888683002

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@43433 260f80e4-7a28-3924-810f-c04153c831b5
2015-02-03 21:55:16 +00:00
whesse@google.com e39f5e5ab0 Cache a computed directory in test_suite.dart.
BUG=dartbug.com/22221
R=ricow@google.com

Review URL: https://codereview.chromium.org//877403003

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@43402 260f80e4-7a28-3924-810f-c04153c831b5
2015-02-03 15:29:24 +00:00
whesse@google.com 3103024ab2 Fix bad code in test_suite.dart
BUG=dartbug.com/22221
R=ricow@google.com

Review URL: https://codereview.chromium.org//900443004

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@43390 260f80e4-7a28-3924-810f-c04153c831b5
2015-02-03 12:04:47 +00:00
sra@google.com b68a69329f Add type annotations to some dart:html closures
This helps code quality when the types can be trusted or verified.

R=jacobr@google.com

Review URL: https://codereview.chromium.org//891583002

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@43349 260f80e4-7a28-3924-810f-c04153c831b5
2015-01-30 23:08:39 +00:00
whesse@google.com 8257b1874e Restart ie11 browser while running tests. Update status files.
BUG=
R=ricow@google.com

Review URL: https://codereview.chromium.org//888013002

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@43329 260f80e4-7a28-3924-810f-c04153c831b5
2015-01-30 10:33:07 +00:00
ricow@google.com 77982f1fa9 Add support for ignoring the svn revision when getting the version, use this for gn build
R=zra@google.com
BUG=

Review URL: https://codereview.chromium.org//884523003

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@43297 260f80e4-7a28-3924-810f-c04153c831b5
2015-01-29 16:55:08 +00:00
whesse@google.com 5406811398 Restart IE 10 browser as we do with Android browsers on buildbot, to improve stability
BUG=22203

Review URL: https://codereview.chromium.org//867083003

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@43294 260f80e4-7a28-3924-810f-c04153c831b5
2015-01-29 16:24:00 +00:00
ricow@google.com d6d113fb91 Set full path to gsutil on bot
Review URL: https://codereview.chromium.org//881743002

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@43174 260f80e4-7a28-3924-810f-c04153c831b5
2015-01-27 09:48:08 +00:00
zra@google.com 84f66405b1 Fixes for updated third_party/android_tools.
R=asiva@google.com

Review URL: https://codereview.chromium.org//863173003

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@43152 260f80e4-7a28-3924-810f-c04153c831b5
2015-01-26 20:59:03 +00:00
alanknight@google.com 604106c107 Add webkitAudioPannerNode as an optional name
BUG=
R=terry@google.com

Review URL: https://codereview.chromium.org//873803002

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@43149 260f80e4-7a28-3924-810f-c04153c831b5
2015-01-26 20:27:23 +00:00
ricow@google.com bfd051eacb Temporarily archive asan build from c3 bot
Daniel needs access to debug the failures.

This is misusing the archive_crash script, but I will remove this again after a few builds.

Review URL: https://codereview.chromium.org//862133003

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@43139 260f80e4-7a28-3924-810f-c04153c831b5
2015-01-26 16:04:51 +00:00
whesse@google.com 12c3a6b4bd Enable co19 tests on IE build slaves.
BUG=
R=ricow@google.com

Review URL: https://codereview.chromium.org//870423002

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@43131 260f80e4-7a28-3924-810f-c04153c831b5
2015-01-26 09:27:29 +00:00
zra@google.com fe36ebadab Disables printing a version string to the console for GN build.
R=ricow@google.com

Review URL: https://codereview.chromium.org//850053005

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@43041 260f80e4-7a28-3924-810f-c04153c831b5
2015-01-21 15:18:23 +00:00
jacobr@google.com 721034fa84 BUG=
R=alanknight@google.com

Review URL: https://codereview.chromium.org//863713003

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@43029 260f80e4-7a28-3924-810f-c04153c831b5
2015-01-20 23:04:27 +00:00
johnmccutchan@google.com 07be8b17c2 Observatory build fixes to dart executable finding code
BUG=

Review URL: https://codereview.chromium.org//856133002

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@43018 260f80e4-7a28-3924-810f-c04153c831b5
2015-01-20 18:16:56 +00:00
kevmoo@google.com 24cac2a7f6 cleanup to status_reporter
Infer build architectures from combinations
Print build command
Fix comments

R=ricow@google.com

Review URL: https://codereview.chromium.org//860723002

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@43016 260f80e4-7a28-3924-810f-c04153c831b5
2015-01-20 16:49:03 +00:00
whesse@google.com 014a89563a Add debug logging for android testing.
BUG=
R=ricow@google.com

Review URL: https://codereview.chromium.org//863663002

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@43005 260f80e4-7a28-3924-810f-c04153c831b5
2015-01-20 11:39:09 +00:00
johnmccutchan@google.com 94150db3cd Use 'windows' and not 'win32' as the path for the dart testing binary
BUG=

Review URL: https://codereview.chromium.org//854893003

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@42932 260f80e4-7a28-3924-810f-c04153c831b5
2015-01-15 20:44:53 +00:00
johnmccutchan@google.com f6aa1c1c7c Use 'dart.exe' instead of 'dart' on Windows
BUG=

Review URL: https://codereview.chromium.org//845403007

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@42929 260f80e4-7a28-3924-810f-c04153c831b5
2015-01-15 19:59:05 +00:00
johnmccutchan@google.com 369bbcc3e5 Ensure build fails if Observatory fails to build
BUG=
R=turnidge@google.com

Review URL: https://codereview.chromium.org//848333003

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@42924 260f80e4-7a28-3924-810f-c04153c831b5
2015-01-15 18:46:29 +00:00
whesse@google.com bdf1bc32f6 Add full-linux buildbot slaves, running firefox and chrome.
BUG=
R=ricow@google.com

Review URL: https://codereview.chromium.org//823363003

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@42918 260f80e4-7a28-3924-810f-c04153c831b5
2015-01-15 16:46:28 +00:00
whesse@google.com 247ff772d6 Update status files, replace "dartbug.com" with "Issue ".
BUG=
R=ricow@google.com

Review URL: https://codereview.chromium.org//845793004

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@42900 260f80e4-7a28-3924-810f-c04153c831b5
2015-01-15 10:27:11 +00:00
whesse@google.com 5bba992965 Enable co19 dart2js browser tests on content shell (drt).
Update co19 status files for Firefox update to 35, and other flakes.

TBR=ricow@google.com

Review URL: https://codereview.chromium.org//847393002

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@42873 260f80e4-7a28-3924-810f-c04153c831b5
2015-01-14 15:56:28 +00:00
kevmoo@google.com 9df5e56e9f tools: fix break in test_progress
TBR

Review URL: https://codereview.chromium.org//829803005

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@42832 260f80e4-7a28-3924-810f-c04153c831b5
2015-01-13 19:46:24 +00:00
kevmoo@google.com 3fdea4f366 Outputing comma-separated report with percentages
Merged:

http://crrev.com/832583003
http://crrev.com/843553004

R=ricow@google.com

Review URL: https://codereview.chromium.org//847873004

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@42831 260f80e4-7a28-3924-810f-c04153c831b5
2015-01-13 19:27:47 +00:00
kevmoo@google.com 8cd05a8b90 tools: Refactored SummaryReport and move it to its own library
R=ricow@google.com

Review URL: https://codereview.chromium.org//832583003

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@42826 260f80e4-7a28-3924-810f-c04153c831b5
2015-01-13 17:46:52 +00:00
ricow@google.com 4598291567 Add info about which command line was used to start a browser.
This will help us if we see hanging browsers.

R=kustermann@google.com

Review URL: https://codereview.chromium.org//790793009

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@42728 260f80e4-7a28-3924-810f-c04153c831b5
2015-01-09 10:46:40 +00:00
ricow@google.com b9a61a835a Allow for reporting with the --list option
Also, be better at catagorizing tests and have a category for tests that we don't know.

R=whesse@google.com

Review URL: https://codereview.chromium.org//846433002

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@42695 260f80e4-7a28-3924-810f-c04153c831b5
2015-01-08 15:23:55 +00:00
johnmccutchan@google.com 261200c587 Build Observatory as part of runtime
Relanding https://codereview.chromium.org/810623005/

Review URL: https://codereview.chromium.org//837723004

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@42645 260f80e4-7a28-3924-810f-c04153c831b5
2015-01-06 21:59:42 +00:00
whesse@google.com aa5a986d5d Revert "Build Observatory with runtime"
This reverts commit 76df7b3c1bf83c08d3994d61df4c9c530fadb4e5.
This commit breaks dartium compilation.

BUG=
R=ricow@google.com

Review URL: https://codereview.chromium.org//839543002

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@42619 260f80e4-7a28-3924-810f-c04153c831b5
2015-01-06 10:07:58 +00:00
johnmccutchan@google.com 9d6ac72b46 1) Remove prebuilt Observatory sources
2) Move observatory from runtime/bin/vmservice/observatory to runtime/observatory

3) Add two tools scripts:
- tools/run_pub.py (runs pub before SDK is built)
- tools/obs_tool.py (helper for get, build, and deploy stages)

4) Build Observatory with runtime:
- pub get --offline
- pub build
- deploy

5) Build artifacts are now in standard output directory, for example, out/DebugIA32/observatory.

6) Add a new 'dart_boostrap' host target (no snapshot, no observatory) that can be used as the Dart executable to run pub when building Observatory. This is behind a build.py flag --use-bootstrap-for-observatory because:

- It is only necessary on older Linux distributions that are incompatible with the prebuilt Dart testing executable.
- running pub build with the boostrap Debug build is significantly slower.

7) Detect if the prebuilt executable doesn't work and automatically switch to the 'dart_bootstrap' executable. Also, warn the user and provide a Wiki link with more information.

R=turnidge@google.com

Review URL: https://codereview.chromium.org//810623005

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@42614 260f80e4-7a28-3924-810f-c04153c831b5
2015-01-05 21:26:52 +00:00
zra@google.com 3af5c2e52d Builds 32-bit arm and intel for Android using gcc 4.9 against L-release.
R=koda@google.com

Review URL: https://codereview.chromium.org//833663002

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@42575 260f80e4-7a28-3924-810f-c04153c831b5
2014-12-30 19:30:03 +00:00
nweiz@google.com 80e6b5be2c Remove the http package from the repo.
This also does away with the pub_packages build target.

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

Review URL: https://codereview.chromium.org//810223002

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@42469 260f80e4-7a28-3924-810f-c04153c831b5
2014-12-18 19:04:04 +00:00