Commit Graph

1689 Commits

Author SHA1 Message Date
ager@google.com 01e373bef0 Fix CCTestSuite in test.dart.
R=sgjesse@google.com
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14064 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-25 09:38:51 +00:00
efortuna@google.com e304efa6d6 Update status file for ie10 html tests.
Review URL: https://codereview.chromium.org//11262017

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14044 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-24 22:03:48 +00:00
ager@google.com 61e7010693 Fix issue that cases the usesWebDriver getter in TestCase to always return false.
Remove newly added code for timeout handling.

Make sure that timeout handling actually works so that dart2js
timing out will actually cause a timeout even when retrying
browser tests.

R=ahe@google.com,efortuna@google.com,ricow@google.com
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@14014 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-24 12:58:40 +00:00
efortuna@google.com 6100654dcf Don't replicate timeout calculation for browser tests. They do their own timing
from the time that the browser is actually opened.
Review URL: https://codereview.chromium.org//11189150

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@13989 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-23 23:12:54 +00:00
efortuna@google.com 1407ec08f3 Increase timeout to see if "timeout" errors on Windows bot goes away. Otherwise,
the test framework  is incorrectly calculating "timeouts"
Review URL: https://codereview.chromium.org//11229067

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@13986 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-23 21:41:00 +00:00
efortuna@google.com 48a9e653c8 Mark ie10 + Windows as an acceptable browser + OS combo.
Review URL: https://codereview.chromium.org//11175043

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@13979 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-23 17:24:24 +00:00
efortuna@google.com ce3543f212 Reapply ie to ie9 rename.
Review URL: https://codereview.chromium.org//11231081

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@13978 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-23 17:17:30 +00:00
efortuna@google.com 920589055f Revert rename ie to ie9.
Review URL: https://codereview.chromium.org//11249003

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@13976 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-23 16:28:33 +00:00
ahe@google.com 7f0ec1cf6e Update dart2js co19 status after bad merge.
Review URL: https://codereview.chromium.org//11231071

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@13944 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-23 10:42:21 +00:00
ahe@google.com 8fafabe175 Update co19 to r397.
Review URL: https://codereview.chromium.org//11233058

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@13935 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-23 09:28:31 +00:00
efortuna@google.com 31fb4a0c74 Complete renaming of ie bots to ie9, to add ie10.
Review URL: https://codereview.chromium.org//11189101

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@13908 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-22 20:59:01 +00:00
efortuna@google.com 4a3571e368 Add Opera to the "webdriver_test_setup" script.
Review URL: https://codereview.chromium.org//11232026

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@13905 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-22 20:01:55 +00:00
ricow@google.com fe7ace35e5 Fix DiffProgressIndicator to use the correct parameter name
Review URL: https://codereview.chromium.org//11187049

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@13770 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-18 11:17:12 +00:00
efortuna@google.com 89d7cdaae5 One more ie -> ie9 rename.
Review URL: https://codereview.chromium.org//11191031

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@13750 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-17 18:06:15 +00:00
efortuna@google.com 4839206863 Rename ie to ie9.
Review URL: https://codereview.chromium.org//11184015

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@13748 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-17 17:44:38 +00:00
blois@google.com d41409e427 Making unit test HTML files contain relative paths.
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@13746 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-17 15:59:47 +00:00
ager@google.com ff9e0f75fb Change Process.start to return a future that completes with a
Process object only when the process has been successfully started.

This is less error prone since you can use all the methods on a
Process object as soon as you can get your hands on it. Unfortunately,
this change leads to quite a few changes in test.dart. Some of those
changes will fix bugs as well. We used to have a problem with a
timeout that could fire just in between two steps in a chain of
commands that constitute one test run. This change should address
that issue as well.

BUG=dartbug.com/5305

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@13729 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-17 10:57:45 +00:00
regis@google.com adb534674c Change core lib, dart2js, and more for new optional parameters syntax and semantics (new semantics is not enforced yet).
Review URL: https://codereview.chromium.org//11090016

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@13684 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-16 16:03:47 +00:00
ahe@google.com 6cac76e938 Group co19 results by runtime.
Review URL: https://codereview.chromium.org//11181004

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@13680 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-16 14:23:35 +00:00
efortuna@google.com 00d5784bf5 Revert r13569 "Automagically start up selenium server for Safari." Seems to be
causing widespread browser failure. Will investigate.
Review URL: https://codereview.chromium.org//11088084

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@13578 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-11 19:59:12 +00:00
efortuna@google.com a09c2bb4d1 Automagically start up selenium server for Safari.
Review URL: https://codereview.chromium.org//11098075

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@13569 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-11 18:24:42 +00:00
ricow@google.com a4009dfcbf Move tools/testing/dart/version.dart into tools/release
Review URL: https://codereview.chromium.org//11028137

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@13526 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-11 09:36:46 +00:00
ricow@google.com 239e10a5d0 Fix path handling in tools/version.dart so that it does not matter where we call this from.
Review URL: https://codereview.chromium.org//11098066

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@13525 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-11 09:30:48 +00:00
johnniwinther@google.com 5989130b34 Version fixed for Windows.
Review URL: https://codereview.chromium.org//11090067

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@13523 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-11 08:50:35 +00:00
ricow@google.com b33cc25492 Spekulative fix for version.dart on windows
Review URL: https://codereview.chromium.org//11090066

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@13521 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-11 08:25:24 +00:00
ricow@google.com cc768f8f98 Add a dart library and a dart script for creating version numbers.
Review URL: https://codereview.chromium.org//11090046

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@13469 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-10 12:33:12 +00:00
gram@google.com 306a9255d2 Revert r13442. The extension fails to install under Windows, and the sentinel
message approach does not work on Mac; Mac seems to need the old timeout approach.
So only Linux works at this point.
Review URL: https://codereview.chromium.org//11098028

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@13450 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-09 22:48:13 +00:00
efortuna@google.com 686844d201 Add IEDriver Server to webdriver setup script.
Review URL: https://codereview.chromium.org//11097004

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@13449 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-09 22:46:53 +00:00
gram@google.com 187d456a9d Add missing binary file.
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@13445 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-09 21:48:54 +00:00
efortuna@google.com 47d4ff93d3 Fix IEDriver error on closing.
Review URL: https://codereview.chromium.org//11088038

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@13444 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-09 21:48:02 +00:00
gram@google.com ee34ca9e60 Chrome extension to get console messages upon test failures. Unlike the
prior one which used chrome.experimental.console APIs, which aren't accessible
to non-devtool extensions, this one uses remote debugging APIs, which are.
Review URL: https://codereview.chromium.org//11092015

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@13442 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-09 21:09:22 +00:00
ahe@google.com be3b03a25e Increase dart2js timeout value.
Review URL: https://codereview.chromium.org//11096018

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@13419 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-09 16:06:30 +00:00
ahe@google.com 664bd6427c Revert "Experiment: revert parts of r13318."
This reverts r13403.

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@13407 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-09 11:48:34 +00:00
ahe@google.com c593b45989 Experiment: revert parts of r13318.
Review URL: https://codereview.chromium.org//11086021

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@13403 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-09 09:47:56 +00:00
ahe@google.com 3177727403 Group co19 failures and test dart2dart.
Review URL: https://codereview.chromium.org//11099008

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@13397 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-09 07:20:39 +00:00
ager@google.com 66e541d4df Update test.dart to do the same on all platforms for tests run
through selenium.

Remove the explicit exit(0) which can hide other issues. Cancel
the kill timer when the process terminates gracefully (which was
one of those issues hidden by the explicit exit(0)).

R=efortuna@google.com,gram@google.com,ahe@google.com,ricow@google.com
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@13396 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-09 07:08:47 +00:00
ricow@google.com db7f80469b Give more debug info from selenium driver.
Review URL: https://codereview.chromium.org//11098013

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@13394 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-09 06:22:09 +00:00
efortuna@google.com 9c25f5fd61 Add back in full exit code information.
Review URL: https://codereview.chromium.org//11066065

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@13380 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-08 23:09:45 +00:00
efortuna@google.com 507bc5cfc9 Add back in "graceful shutdown code" for Windows, because the fix for
dartbug.com/1756 doesn't fix Windows.

Also revert my change in r13368 to find the source of this problem.
Review URL: https://codereview.chromium.org//11017022

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@13379 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-08 22:30:52 +00:00
efortuna@google.com 6ff38b9b1c Always print an exit code explicitly (no return of any exit code was causing the
Windows bots to hang).
Review URL: https://codereview.chromium.org//11090008

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@13368 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-08 18:51:50 +00:00
ahe@google.com 1c51c6829d Highlight test headings with -pcolor.
Review URL: https://codereview.chromium.org//11038064

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@13345 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-08 08:27:03 +00:00
efortuna@google.com 6e42838196 Fix test.dart return code -- was causing fake greenness on dartc, dart2dart
(potentially the VM) as a result of previous CL:
https://codereview.chromium.org/11032047/
Review URL: https://codereview.chromium.org//11071003

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@13336 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-06 00:17:57 +00:00
gram@google.com bc37e6e9b2 Update version number of xpi and check in built version.
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@13326 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-05 22:11:20 +00:00
gram@google.com 5187e54f41 Fixed the issue with the ConsoleCollector extension causing FF to hang if run from WebDriver.
Review URL: https://codereview.chromium.org//11028067

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@13318 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-05 20:47:52 +00:00
ricow@google.com 55be27370a Reland support for firefox jsshell.
The change compared to:
http://code.google.com/p/dart/source/detail?r=13230

is that we by default inherit the environment from the parent process
and that when actually setting LD_LIBRARY_PATH for linux we do this in
_addition_ to the existing environment.
Review URL: https://codereview.chromium.org//11031064

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@13290 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-05 12:51:41 +00:00
ager@google.com 33b4a0ac44 Fix issues with test.dart that appeared on Mac.
The issue was that we did not properly wait for subprocesses to
die. This was hidden by the fact that we always used exit to exit from
test.dart. I have removed all exit(0) calls from test.dart to keep us
honest. If nothing went wrong test.dart should terminate with exit
code 0 automatically.

R=ricow@google.com,ahe@google.com
BUG=dartbug.com/5644

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@13286 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-05 11:41:47 +00:00
ricow@google.com 96814a521e Revert r13264, it is making the firefox bot very slow, with hundreds of tests timing out.
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@13272 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-05 05:43:42 +00:00
gram@google.com 5279fbaea8 Remove Chrome extension code that was commited by accident.
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@13268 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-04 22:52:09 +00:00
gram@google.com e2709f12e6 Add the ability to get the Javascript console errors in Firefox in the test output when tests fail.
Review URL: https://codereview.chromium.org//11043007

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@13264 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-04 21:51:06 +00:00
ager@google.com f8308cb913 Temporary fix to mac buildbot issue. We need to figure out why
the socket is not immediately available for reuse on the mac.

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

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@13234 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-04 14:43:47 +00:00