Commit Graph

1865 Commits

Author SHA1 Message Date
ricow@google.com 88679922c3 Change firefox initialization name
R=kustermann@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@23347 260f80e4-7a28-3924-810f-c04153c831b5
2013-05-29 12:33:26 +00:00
ricow@google.com 0b2f1c89f4 Fix comment style to unbreak build
Review URL: https://codereview.chromium.org//16032014

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@23345 260f80e4-7a28-3924-810f-c04153c831b5
2013-05-29 12:14:03 +00:00
ricow@google.com 874e82fb90 Add factory constructor to browser controller.
Additionally, fix explicit number of browsers hack.

R=kustermann@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@23344 260f80e4-7a28-3924-810f-c04153c831b5
2013-05-29 12:10:50 +00:00
ricow@google.com 05b6724e77 Add browser launching functionality.
This is to be used for providing easy reproduction steps (i.e. the steps we print out when tests fail)

R=kustermann@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@23343 260f80e4-7a28-3924-810f-c04153c831b5
2013-05-29 12:07:33 +00:00
ricow@google.com b539b697b8 Remove hackish way of getting the url for browser testing
R=kustermann@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@23341 260f80e4-7a28-3924-810f-c04153c831b5
2013-05-29 10:38:48 +00:00
kustermann@google.com 0897a8608a Remove hack for android resources.
We got a v8 mirror in golo now, so we can remove this hack.

R=ricow@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@23339 260f80e4-7a28-3924-810f-c04153c831b5
2013-05-29 10:19:15 +00:00
ricow@google.com 6358c556aa Remove debugprints accedentially added in revision 23325
R=kustermann@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@23333 260f80e4-7a28-3924-810f-c04153c831b5
2013-05-29 09:35:33 +00:00
antonm@google.com 4638137480 Switch from DRT to content shell.
R=kustermann@google.com, ricow@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@23328 260f80e4-7a28-3924-810f-c04153c831b5
2013-05-29 08:34:52 +00:00
ricow@google.com 13a3ba87c4 Use the Debug log for messages from the browser controller
R=kustermann@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@23325 260f80e4-7a28-3924-810f-c04153c831b5
2013-05-29 08:03:07 +00:00
antonm@google.com f1beb16377 Remove unused files.
R=kustermann@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@23295 260f80e4-7a28-3924-810f-c04153c831b5
2013-05-28 17:33:55 +00:00
ricow@google.com 21a51ebac2 Fix accidentially added dot in safari web driver
R=kustermann@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@23290 260f80e4-7a28-3924-810f-c04153c831b5
2013-05-28 15:54:45 +00:00
ricow@google.com 8d21a80c9d Allow safari to do pop ups on startup
R=kustermann@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@23287 260f80e4-7a28-3924-810f-c04153c831b5
2013-05-28 15:37:48 +00:00
kustermann@google.com 8ab3c24e51 Changed buildbot annotated steps to run tests on ARM device
R=ricow@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@23269 260f80e4-7a28-3924-810f-c04153c831b5
2013-05-28 13:45:56 +00:00
ricow@google.com 46f9be8751 Add safari browser controller.
Additionally, fix some bugs in the browser controller discovered while enabling safari.

R=kustermann@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@23240 260f80e4-7a28-3924-810f-c04153c831b5
2013-05-28 08:41:09 +00:00
ricow@google.com 72cb8b7577 Catch errors on directory listings.
I saw issues on the new linux chrome bot when there was a broken symlink in /tmp

R=kustermann@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@23235 260f80e4-7a28-3924-810f-c04153c831b5
2013-05-28 06:37:18 +00:00
kustermann@google.com 4353bead01 Record/replay support to test.py
R=ricow@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@23216 260f80e4-7a28-3924-810f-c04153c831b5
2013-05-27 12:23:39 +00:00
kustermann@google.com a37a2015c8 Implement binary "!=" operator in status file parser.
R=ricow@google.com, whesse@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@23130 260f80e4-7a28-3924-810f-c04153c831b5
2013-05-24 11:02:29 +00:00
kustermann@google.com e12204ec6d Ignore harmless paths in the http_server.dart
So far we often get a lot of warnings in the debuglog because browsers try to
access harmless non-existent files.

R=ricow@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@23128 260f80e4-7a28-3924-810f-c04153c831b5
2013-05-24 09:19:07 +00:00
efortuna@google.com 13ec80fb4b Fix up Performance testing.
R=sra@google.com, vsm@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@23081 260f80e4-7a28-3924-810f-c04153c831b5
2013-05-23 16:58:00 +00:00
ricow@google.com 0c99661d51 Disable default browser check on firefox.
R=kustermann@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@23067 260f80e4-7a28-3924-810f-c04153c831b5
2013-05-23 13:25:30 +00:00
kustermann@google.com 1ac6e80e89 Search for android testing resources in third_party and /tmp
We need this temporary hack until we get a v8 mirror in golo.

R=ricow@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@23060 260f80e4-7a28-3924-810f-c04153c831b5
2013-05-23 11:42:02 +00:00
ricow@google.com b01abf0301 Update browser controller and unittest lib to use start marker to figure out when to start new tests (and send back the correct id)
R=kustermann@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@23059 260f80e4-7a28-3924-810f-c04153c831b5
2013-05-23 11:06:46 +00:00
kustermann@google.com daee8257bd Add chromeOnAndroid support to the buildbot annotated steps scripts.
R=ricow@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@23029 260f80e4-7a28-3924-810f-c04153c831b5
2013-05-22 17:09:49 +00:00
kustermann@google.com 2a49e58294 Added support for running dart2js tests on android devices
R=ricow@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@23022 260f80e4-7a28-3924-810f-c04153c831b5
2013-05-22 15:34:32 +00:00
kustermann@google.com c23c68ef24 Correctly set the timeout of tests when using selenium
R=ricow@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@22933 260f80e4-7a28-3924-810f-c04153c831b5
2013-05-21 11:54:38 +00:00
scheglov@google.com f072f62f11 Handle the new analyzer type warnings in tests.
Unfortunately we are back to 600+ failing tests.

R=brianwilkerson@google.com, jwren@google.com
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@22876 260f80e4-7a28-3924-810f-c04153c831b5
2013-05-17 21:55:52 +00:00
ricow@google.com adcf26fcab Add --no-first-run to chrome browser controller
This will disable the pop-up that asks if you want to be default browser

R=kustermann@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@22777 260f80e4-7a28-3924-810f-c04153c831b5
2013-05-16 08:15:50 +00:00
ricow@google.com f175c670d8 Don't check for default browser when starting up chrome in the new browser controller
On a fresh install this is needed to avoid a blocking pop up

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@22768 260f80e4-7a28-3924-810f-c04153c831b5
2013-05-16 06:04:40 +00:00
ricow@google.com 9c5346911f Fix driver page for browser controller to not double fetch tests.
R=kustermann@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@22739 260f80e4-7a28-3924-810f-c04153c831b5
2013-05-15 13:50:35 +00:00
ricow@google.com 9b8e1120de Remove some whitespace from the webdriver setup script.
This is a whitespace commit to get a green line on the bot after the git outage

R=kustermann@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@22730 260f80e4-7a28-3924-810f-c04153c831b5
2013-05-15 11:11:44 +00:00
ricow@google.com 36f2f2053d Write debug info from browser controller
This is to enable output on the bot

R=kustermann@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@22682 260f80e4-7a28-3924-810f-c04153c831b5
2013-05-14 15:37:03 +00:00
ricow@google.com 75517b7b2e Add browser controller and allow it to be used under a flag.
This is currently chrome and firefox only.

I am still seeing a race condition occasionally, which is the reason
for the rather verbose prints I do when failing.

I have not added prefetching yet, I will do that as a next step.

R=kustermann@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@22675 260f80e4-7a28-3924-810f-c04153c831b5
2013-05-14 12:32:24 +00:00
ngeoffray@google.com 486669ed20 Update status file for flaky test.
R=ricow@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@22622 260f80e4-7a28-3924-810f-c04153c831b5
2013-05-13 13:00:55 +00:00
johnniwinther@google.com dbac078af5 Fix d8 path for Windows.
BUG=
R=kustermann@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@22361 260f80e4-7a28-3924-810f-c04153c831b5
2013-05-03 11:13:08 +00:00
kustermann@google.com 9c08adf54b Print the number of failed tests
R=ricow@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@22323 260f80e4-7a28-3924-810f-c04153c831b5
2013-05-02 15:17:28 +00:00
kustermann@google.com 15414016c2 Switch to checked-in binary of d8
R=ricow@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@22242 260f80e4-7a28-3924-810f-c04153c831b5
2013-05-01 12:26:21 +00:00
ricow@google.com e7f790dba5 Fix csp flags send to browsers.
We can't send the webkit flag to chrome, it will throw an error.

R=kustermann@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@22178 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-30 12:02:49 +00:00
sgjesse@google.com 921653a087 Add a new test suite 'analyze_tests'
The new test suite 'analyze_tests' will run the analyzer on the
selected tests, and fail if there are static type errors. Currently
only the tests in tests/standalone are included, but that can easily
be expanded.

The reason for starting this was that for M4 we where missing two
'part' files in io.dart (for the HttpBody utility class). This caused
the use of HttpBody in the editor to be complicated. With static type
checking on the tests which tested HttpBody this mistake would have
been caught.

R=ager@google.com, ricow@google.com, kustermann@google.com, ajohnsen@google.com
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21944 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-24 12:47:13 +00:00
ricow@google.com c59a8b5b83 Remove special casing for browser timeout
Review URL: https://codereview.chromium.org//13880030

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21878 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-23 12:52:32 +00:00
efortuna@google.com 419c6548fd Fix for Anton.
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21584 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-16 22:17:38 +00:00
floitsch@google.com d8930c4ae6 Revert changes in tools/testing while the Dart executable can't handle it.
Review URL: https://codereview.chromium.org//14113018

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21511 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-15 20:26:36 +00:00
floitsch@google.com 5431a5af54 Remove AsyncError with Expando.
Review URL: https://codereview.chromium.org//14251006

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21498 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-15 18:58:32 +00:00
floitsch@google.com 759a366cea Remove insertRange.
Review URL: https://codereview.chromium.org//13956006

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21464 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-15 15:20:16 +00:00
kustermann@google.com c1df0a5418 Only print the failure summary header if there were failures
Review URL: https://codereview.chromium.org//14251009

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21453 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-15 13:57:31 +00:00
kustermann@google.com 19c3cc02f1 Remove proxy-related environment variables when running standalone tests
Review URL: https://codereview.chromium.org//13985009

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21360 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-12 14:45:17 +00:00
whesse@google.com 24c4348196 Fix more type errors in test scripts.
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21298 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-11 17:18:44 +00:00
whesse@google.com d47b6701ea Fix type error in test scripts
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21292 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-11 16:31:02 +00:00
whesse@google.com 266bada744 Remove use of Expect from test scripts and idlparser_test.
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21287 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-11 15:53:44 +00:00
floitsch@google.com aecbeabcac Implement getRange (returning an Iterable).
Review URL: https://codereview.chromium.org//14065011

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21281 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-11 14:14:29 +00:00
ajohnsen@google.com 974a300cad Remove deprecated <, <=, >, and >= of DateTime.
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21260 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-11 09:27:54 +00:00