Commit Graph

6631 Commits

Author SHA1 Message Date
whesse@google.com abe3e9a939 Print a useful message when test scripts cannot update a running dartium.
BUG=
R=ricow@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@34170 260f80e4-7a28-3924-810f-c04153c831b5
2014-03-20 15:05:03 +00:00
sgjesse@google.com 843464d0ac Add script to create a Debian chroot environment
For building Debian wheezy compatable binary packages we need to set up a number
of Debian chroot environments. To avoid to many manual steps this script should
do the bulk of this work.

To create a chroot environment for building 64-bit stable:

$ tools/create_debian_chroot.sh amd64 stable /tmp/debian_amd64_stable

Then building the Debian image should be as easy as

$ sudo chroot /tmp/debian_amd_stable
$ cd /b/dart
$ tools/create_tarball.py
$ tools/build_debian_packages.py amd64

The build_debian_packages.py is still missing the architecture argument.

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

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@34162 260f80e4-7a28-3924-810f-c04153c831b5
2014-03-20 10:54:55 +00:00
ricow@google.com 267f111430 Rename src-tarball to linux-distribution-support
I will follow up with the corresponding buildbot cl

R=sgjesse@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@34160 260f80e4-7a28-3924-810f-c04153c831b5
2014-03-20 10:43:08 +00:00
ricow@google.com ca45618622 Add archiving of src tarball and debian packages
R=sgjesse@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@34155 260f80e4-7a28-3924-810f-c04153c831b5
2014-03-20 07:41:32 +00:00
kustermann@google.com 93cb5140b8 Enable pkg/samples on IE10/IE11
R=ricow@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@34107 260f80e4-7a28-3924-810f-c04153c831b5
2014-03-19 08:46:04 +00:00
jacobr@google.com 1ea29a21d7 Fixes for Chrome 34 merge
BUG=
R=vsm@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@34069 260f80e4-7a28-3924-810f-c04153c831b5
2014-03-18 22:08:44 +00:00
sra@google.com d60b4be6bd Make the safe Console singleton be const
Partly addresses http://dartbug.com/17508

R=efortuna@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@34052 260f80e4-7a28-3924-810f-c04153c831b5
2014-03-18 19:15:06 +00:00
nweiz@google.com 1cfd291f65 Load the transformer isolate code from pub's asset directory.
This renames "resources" to "asset" in the SDK, to better match the suggested
package layout guidelines.

BUG=17506
R=dgrove@google.com, rnystrom@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@33786 260f80e4-7a28-3924-810f-c04153c831b5
2014-03-17 23:20:16 +00:00
ricow@google.com be5dd61c7f Initial refactorings to support archiving the src and debian package builds.
R=sgjesse@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@33747 260f80e4-7a28-3924-810f-c04153c831b5
2014-03-17 14:11:20 +00:00
whesse@google.com 4a396e2e7b Fix type error in test.dart.
BUG=
R=kustermann@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@33688 260f80e4-7a28-3924-810f-c04153c831b5
2014-03-14 10:00:51 +00:00
efortuna@google.com 7205c233b0 Package-ify Dromaeo and browser controller functionality
R=vsm@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@33670 260f80e4-7a28-3924-810f-c04153c831b5
2014-03-13 22:43:53 +00:00
ricow@google.com 74f7b29b55 Enable cross compiled outputs in the testing scripts
R=whesse@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@33650 260f80e4-7a28-3924-810f-c04153c831b5
2014-03-13 12:04:50 +00:00
efortuna@google.com 246a1af1e5 Mark addEventListeners as Unsupported when called for cross-frame window actions.
BUG=
R=vsm@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@33615 260f80e4-7a28-3924-810f-c04153c831b5
2014-03-12 21:24:14 +00:00
ricow@google.com 9cd9644e4a Allow IE11 as valid runtime on the bots.
Run the same tests as IE10 (html) for now

R=dgrove@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@33492 260f80e4-7a28-3924-810f-c04153c831b5
2014-03-10 13:57:42 +00:00
iposva@google.com ca9defaf17 - Redo cross-build detection.
Review URL: https://codereview.chromium.org//189543010

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@33489 260f80e4-7a28-3924-810f-c04153c831b5
2014-03-10 12:53:50 +00:00
iposva@google.com 5c2fe2fade Where did the space go?
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@33488 260f80e4-7a28-3924-810f-c04153c831b5
2014-03-10 12:39:18 +00:00
iposva@google.com fd1630985f - Fix typo.
Review URL: https://codereview.chromium.org//189233011

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@33487 260f80e4-7a28-3924-810f-c04153c831b5
2014-03-10 12:34:41 +00:00
iposva@google.com 0b933f1f5c - Intel architecture rewriting needs to happen both ways.
Review URL: https://codereview.chromium.org//190663011

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@33486 260f80e4-7a28-3924-810f-c04153c831b5
2014-03-10 12:33:29 +00:00
iposva@google.com b6ea3942e5 - Fix typo.
Review URL: https://codereview.chromium.org//189413015

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@33485 260f80e4-7a28-3924-810f-c04153c831b5
2014-03-10 12:24:44 +00:00
iposva@google.com c403ff25d4 - Last level of defense when guessing host architecture.
Review URL: https://codereview.chromium.org//190793014

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@33484 260f80e4-7a28-3924-810f-c04153c831b5
2014-03-10 12:18:44 +00:00
iposva@google.com d20121e855 - Enable automatic cross-builds across ARM and MIPS architectures.
R=ricow@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@33482 260f80e4-7a28-3924-810f-c04153c831b5
2014-03-10 12:00:06 +00:00
whesse@google.com 66ff4fc0d3 Add checked-in binary for mips architecture to tools/testing.
BUG=
R=ricow@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@33481 260f80e4-7a28-3924-810f-c04153c831b5
2014-03-10 11:19:08 +00:00
iposva@google.com d2055b487a - Start to distinguish between cross-build and native build environments.
- Create configurations for both on MIPS builds.

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@33446 260f80e4-7a28-3924-810f-c04153c831b5
2014-03-07 20:10:09 +00:00
zra@google.com 7c91e88e6e Adds support for ARMv6.
When we detect ARMv6, instead of using movw and
movt, this change loads each individual byte.
Although this is not the best way to achieve this,
a modification to store large constants in the
object pool would be more invasive. Further,
this change will be easier to back-out once
ARMv6 is obsolete.

R=regis@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@33442 260f80e4-7a28-3924-810f-c04153c831b5
2014-03-07 19:17:36 +00:00
ricow@google.com 26cdbae69e Fix missing comma in create_tarball.py
R=sgjesse@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@33429 260f80e4-7a28-3924-810f-c04153c831b5
2014-03-07 14:22:57 +00:00
ricow@google.com c166587b61 Fix error where we are looking the gsutil script in the wrong location.
With this change we will look in the specific dart repo location first and then afterwards search path.

Additionally, give an error if we require the dart repo version but can't find it.

R=whesse@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@33423 260f80e4-7a28-3924-810f-c04153c831b5
2014-03-07 12:24:58 +00:00
ricow@google.com 3e7028653f Reland 33381, always use the dart repo version of gsutil for apk archiving
Review URL: https://codereview.chromium.org//190683002

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@33421 260f80e4-7a28-3924-810f-c04153c831b5
2014-03-07 11:53:48 +00:00
ricow@google.com 960c459fac Reenable the apk archiving from the android bot.
Review URL: https://codereview.chromium.org//190543002

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@33418 260f80e4-7a28-3924-810f-c04153c831b5
2014-03-07 10:22:53 +00:00
ricow@google.com 237ae17ccb Reland roll of gsutil, fix up the import of the boto library (it is now third_party)
R=whesse@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@33415 260f80e4-7a28-3924-810f-c04153c831b5
2014-03-07 09:24:39 +00:00
ricow@google.com b6d0ce59ef Disable android apk archiving until we have gsutil working
R=whesse@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@33385 260f80e4-7a28-3924-810f-c04153c831b5
2014-03-06 17:18:07 +00:00
ricow@google.com 5ce2372fd1 Revert r33381
Review URL: https://codereview.chromium.org//188643004

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@33383 260f80e4-7a28-3924-810f-c04153c831b5
2014-03-06 17:03:53 +00:00
ricow@google.com 064a6de3e9 Always use the dart repo version of gsutil for the apk upload
The bot version does not support the acl setting (at least not using the current gsutil syntax)

R=whesse@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@33381 260f80e4-7a28-3924-810f-c04153c831b5
2014-03-06 16:52:35 +00:00
whesse@google.com 5c16460e3d Reapply "Dart2js testing: Add prefix files when running dart2js output on d8 or jsshell.""
This reapplies r33369.  A git dependency was missing, meaning the sdk was not rebuilt, even though we add two .js files to it.

BUG=
R=ahe@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@33378 260f80e4-7a28-3924-810f-c04153c831b5
2014-03-06 15:08:43 +00:00
kustermann@google.com 72b0b89102 Allow empty messages coming from the iframe to the driving page
R=ricow@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@33377 260f80e4-7a28-3924-810f-c04153c831b5
2014-03-06 14:29:55 +00:00
whesse@google.com ff10fe3cdb Revert "Dart2js testing: Add prefix files when running dart2js output on d8 or jsshell."
This reverts r33369.  A relative path is failing.

BUG=
R=ahe@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@33372 260f80e4-7a28-3924-810f-c04153c831b5
2014-03-06 13:32:05 +00:00
whesse@google.com 8cc9739e4c Dart2js testing: Add prefix files when running dart2js output on d8 or jsshell.
BUG=
R=ahe@google.com, kustermann@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@33369 260f80e4-7a28-3924-810f-c04153c831b5
2014-03-06 12:38:15 +00:00
ricow@google.com fdb1686b0a Archive dartium on android builds
Set internal acls for now.

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

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@33368 260f80e4-7a28-3924-810f-c04153c831b5
2014-03-06 12:14:40 +00:00
kustermann@google.com 7e29f42833 Change tests to use test.py's test_controller.js, cleanup in browser_controller
This change makes all remaining tests use test.py's test_controller.js:
We have our own way of testing using test.py and that might change any time.
It's therefore not wise to rely on functionality in the unittest framework. If
we kept test_controller.js in the unittest package, we'd need to make a breaking
change whenever we change the behavior of test_controller.js. So this file was
forked into tools/testing/dart/test_controller.js.

After this, all our tests will use tools/testing/dart/test_controller.js. It is
therefore no longer necessary for the browser_controller to support the old
mechanism of posting back results. By removing this legacy code, we can ensure,
that the driving page of browser_controller will only react on valid messages
which were ment for it.
Context:
Some tests (e.g. dromaeo) might use postMessage internally, maybe even for
testing that postMessage is working. But the driving window should only react
on valid messages ment for it, ignoring any other messages.

R=blois@google.com, efortuna@google.com, ricow@google.com, whesse@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@33365 260f80e4-7a28-3924-810f-c04153c831b5
2014-03-06 10:37:53 +00:00
leafp@google.com 6370348c37 Script changes for ChangeXXX -> Change=XXX
Move CustomSetter to Custom=Setter in dart.idl

BUG=17248
R=vsm@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@33359 260f80e4-7a28-3924-810f-c04153c831b5
2014-03-06 00:17:12 +00:00
ahe@google.com ea45e766df Make _TestOptionSpecification take a named argument.
I want to refactor test_options.dart so that variable expansions, such as, "all" -> "debug,release" are generalized. So I want to add another named argument to _TestOptionSpecification in the next CL.

R=whesse@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@33207 260f80e4-7a28-3924-810f-c04153c831b5
2014-03-03 11:46:27 +00:00
ahe@google.com 14230c1c33 Refactor compiler and runtime configurations (command line tools command building).
R=kustermann@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@33197 260f80e4-7a28-3924-810f-c04153c831b5
2014-03-03 07:05:20 +00:00
efortuna@google.com 9d53b1d682 Replace run_selenium.py with Dart script that uses the browser controller for performance tests.
BUG=
R=kustermann@google.com, ricow@google.com, vsm@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@33171 260f80e4-7a28-3924-810f-c04153c831b5
2014-02-28 21:06:28 +00:00
ajohnsen@google.com 983c99305c Remove rum_vm_tests.host target.
It should not be needed to compile it. If one wants to test the host,
one should compile with toolchains; 'target' == 'host'.

BUG=
R=zra@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@33150 260f80e4-7a28-3924-810f-c04153c831b5
2014-02-28 08:55:04 +00:00
ricow@google.com 5bb99a34a6 Update text in VERSION file to say what we actually do.
R=kasperl@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@33114 260f80e4-7a28-3924-810f-c04153c831b5
2014-02-27 13:10:25 +00:00
sra@google.com 246f07b5c8 Fix for FileReader.readAsArrayBuffer http://dartbug.com/17058
R=blois@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@33048 260f80e4-7a28-3924-810f-c04153c831b5
2014-02-26 00:31:05 +00:00
jmesserly@google.com ff3aa2f569 [polymer] switch comment style
R=sigmund@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@33046 260f80e4-7a28-3924-810f-c04153c831b5
2014-02-25 23:43:45 +00:00
kasperl@google.com 94aae2332c Update bleeding_edge to version 1.3.x.
R=ricow@google.com
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@33018 260f80e4-7a28-3924-810f-c04153c831b5
2014-02-25 14:34:41 +00:00
jmesserly@google.com d48a43957f [html5lib] triple slash comment style
Also improves ./tools/line_doc_comments.dart to warn about lines >= 80 chars, to make it easier to catch these.

R=sigmund@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@32997 260f80e4-7a28-3924-810f-c04153c831b5
2014-02-25 00:36:13 +00:00
sigurdm@google.com 61a5ff28fe Fixes for the test framework multitests.
Allow imports with a metadata annotation.
Allow test keys to be alphanumeric instead of just two digits.

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

Committed: https://code.google.com/p/dart/source/detail?r=32892

Was reverted in Issue 175113002, commit r32894.

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@32956 260f80e4-7a28-3924-810f-c04153c831b5
2014-02-24 10:13:42 +00:00
whesse@google.com 497b78917d Move Dartium reference build scripts to dartium_tools/perf
BUG=
R=rmacnak@google.com, vsm@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@32907 260f80e4-7a28-3924-810f-c04153c831b5
2014-02-21 17:03:41 +00:00