ricow@google.com
786b0b7f1c
Fix error handling on errorReportingServer
...
R=kustermann@google.com
Review URL: https://codereview.chromium.org//16946005
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@23978 260f80e4-7a28-3924-810f-c04153c831b5
2013-06-13 13:53:25 +00:00
ricow@google.com
e97215e045
Add error reporting server to the browser controller
...
This is used to send back errors from the browsers if we see any issues with getting resources.
R=kustermann@google.com
Review URL: https://codereview.chromium.org//16900003
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@23973 260f80e4-7a28-3924-810f-c04153c831b5
2013-06-13 12:40:37 +00:00
kustermann@google.com
4efd9609a5
Moving timing info to utils.dart:DebugLogger
...
R=ricow@google.com
Review URL: https://codereview.chromium.org//16958003
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@23967 260f80e4-7a28-3924-810f-c04153c831b5
2013-06-13 11:20:21 +00:00
ricow@google.com
c0c48e23ef
Add correct timing collection for new browser controller
...
R=kustermann@google.com
Review URL: https://codereview.chromium.org//16948002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@23957 260f80e4-7a28-3924-810f-c04153c831b5
2013-06-13 09:14:39 +00:00
ricow@google.com
0e1472b570
Fix id in browser testing status map
...
This was wrongly set to the old id.
R=kustermann@google.com
Review URL: https://codereview.chromium.org//16922003
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@23952 260f80e4-7a28-3924-810f-c04153c831b5
2013-06-13 08:20:55 +00:00
kustermann@google.com
73b8c4adc6
Fixed bug in browser_controller.dart
...
If a browser crashed on it's own, then the driving page running in it will not
post a result. So the test will eventually time out. The testing server will
then call 'browser.close()' and after the browser was closed, it will start a
new one.
Previously the 'browser.close()' future did not complete in this scenario, since
the '_browserClosed' callback was not set.
Note that with the new browser controller, browser crashes will currently be
reported as timeouts.
R=ricow@google.com
Review URL: https://codereview.chromium.org//16836009
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@23951 260f80e4-7a28-3924-810f-c04153c831b5
2013-06-13 08:08:34 +00:00
ricow@google.com
96272613d5
Add timing information to browser controller logging.
...
Review URL: https://codereview.chromium.org//16843009
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@23950 260f80e4-7a28-3924-810f-c04153c831b5
2013-06-13 06:59:58 +00:00
kustermann@google.com
b0f2c1f54e
Increase timeout for simarm
...
TBR=zra
Review URL: https://codereview.chromium.org//16415013
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@23919 260f80e4-7a28-3924-810f-c04153c831b5
2013-06-12 16:56:10 +00:00
kustermann@google.com
8ea94854e3
Second round of status file updates for simarm/arm
...
TBR=zra
Review URL: https://codereview.chromium.org//16802005
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@23915 260f80e4-7a28-3924-810f-c04153c831b5
2013-06-12 16:04:39 +00:00
kustermann@google.com
659b81f7bb
Fixed sdk/bin/dart2analyzer to use package-root
...
R=ahe@google.com , ricow@google.com , scheglov@google.com
Review URL: https://codereview.chromium.org//16667023
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@23905 260f80e4-7a28-3924-810f-c04153c831b5
2013-06-12 13:37:46 +00:00
ricow@google.com
ee8ddfd2d4
Add debugging info to browser controller.
...
R=kustermann@google.com
Review URL: https://codereview.chromium.org//16365017
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@23903 260f80e4-7a28-3924-810f-c04153c831b5
2013-06-12 12:54:39 +00:00
ricow@google.com
57838491b2
Remove leftover static varibles for old kill functionality in the browser controller.
...
R=kustermann@google.com
Review URL: https://codereview.chromium.org//16280010
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@23898 260f80e4-7a28-3924-810f-c04153c831b5
2013-06-12 09:10:04 +00:00
vsm@google.com
609c1239d5
Move interop js code out of dart.js
...
BUG=7973
Note: this is a breaking change and would be advertised as such.
Anyone using js-interop would need to explicitly include:
<script type="text/javascript" "pkg/browser/lib/interop.js"></script>
along with dart.js in their HTML. Those who don't need js-interop can
save on this code.
Alexandre: I'm imagining interop.js would be the landing spot for
dart:js bootstrap code as well.
R=alexandre.ardhuin@gmail.com , dgrove@google.com
Review URL: https://codereview.chromium.org//16592002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@23855 260f80e4-7a28-3924-810f-c04153c831b5
2013-06-11 15:33:18 +00:00
scheglov@google.com
80fea8fd8e
More fixes for java2dart and status files.
...
Now DDA passes/fails the same tests as Java version.
R=brianwilkerson@google.com
BUG=
Review URL: https://codereview.chromium.org//15675016
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@23705 260f80e4-7a28-3924-810f-c04153c831b5
2013-06-06 18:13:44 +00:00
kustermann@google.com
096eb7ada9
Simplified the killing mechanism in browser_controller.dart
...
R=ricow@google.com
Review URL: https://codereview.chromium.org//15649021
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@23674 260f80e4-7a28-3924-810f-c04153c831b5
2013-06-06 11:12:59 +00:00
scheglov@google.com
b06ba1b3e6
Run 'analyzer' tests with '--show-package-warnings' flag.
...
This does not make any new tests to pass or fail though.
R=brianwilkerson@google.com
BUG=
Review URL: https://codereview.chromium.org//16278009
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@23633 260f80e4-7a28-3924-810f-c04153c831b5
2013-06-05 15:26:56 +00:00
scheglov@google.com
0d3e47da2c
Basic dart^2 analyzer tests running.
...
Status file only for co19 now, more status files in next CL.
R=brianwilkerson@google.com
BUG=
Review URL: https://codereview.chromium.org//16357010
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@23602 260f80e4-7a28-3924-810f-c04153c831b5
2013-06-04 16:09:13 +00:00
lrn@google.com
662c2a8262
Rename RuntimeError to CyclicIntializationError, as per spec.
...
The RuntimeError has been used to report cyclic initialization errors in
dart2js.
It has also been used for other, unrelated, uses, where it makes
little to no sense.
The RuntimeError type has been removed, but added in js_helper.dart,
where dart2js uses it.
Uses of new RuntimeError("some message") have been converted to
other errors (Argument/State/Unsupported). In some cases, just
throwing a String might have been just as good.
BUG=http://dartbug.com/11040
R=johnniwinther@google.com
Review URL: https://codereview.chromium.org//16154017
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@23584 260f80e4-7a28-3924-810f-c04153c831b5
2013-06-04 10:33:11 +00:00
ricow@google.com
e4a9a2eab4
Give developers a correct command line to reproduce test failures without the use of selenium.
...
R=kustermann@google.com
Review URL: https://codereview.chromium.org//16116007
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@23576 260f80e4-7a28-3924-810f-c04153c831b5
2013-06-04 06:13:01 +00:00
kustermann@google.com
077b9e2d29
Bugfix in test_runner.dart
...
On MacOS the content shell executable name included "-characters. Since we're not running the command in a shell, these characters are part of the filename and the exec syscall will fail.
R=ahe@google.com
Review URL: https://codereview.chromium.org//15643008
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@23463 260f80e4-7a28-3924-810f-c04153c831b5
2013-05-31 12:19:31 +00:00
antonm@google.com
803113f8ad
Add quotes to make it easier to copy paste around.
...
R=efortuna@google.com
Review URL: https://codereview.chromium.org//16194005
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@23411 260f80e4-7a28-3924-810f-c04153c831b5
2013-05-30 13:34:47 +00:00
kustermann@google.com
3707cd889b
Print output of all commands if a testcase failed
...
R=ricow@google.com
Review URL: https://codereview.chromium.org//15740034
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@23408 260f80e4-7a28-3924-810f-c04153c831b5
2013-05-30 13:15:26 +00:00
kustermann@google.com
eda01014b4
Support for running tests in an iframe
...
R=ricow@google.com
Review URL: https://codereview.chromium.org//16050006
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@23400 260f80e4-7a28-3924-810f-c04153c831b5
2013-05-30 12:16:22 +00:00
kustermann@google.com
29d11f90ad
Use run_vm_tests.host to list VM tests if possible
...
R=ricow@google.com
Review URL: https://codereview.chromium.org//15963011
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@23348 260f80e4-7a28-3924-810f-c04153c831b5
2013-05-29 12:36:34 +00:00
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