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
ricow@google.com
a9c0550da9
Revert revision 13230
...
Review URL: https://codereview.chromium.org//11066014
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@13231 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-04 13:44:44 +00:00
ricow@google.com
d8c04e8444
Add firefox jsshell support in testing scripts.
...
Additionally, introduce a new jscl key in the configuration for less verbose status file section headers (i.e., $jscl instead of ($runtime == d8 || $runtime == jsshell)
This also adds support for setting environment variables in a command.
Review URL: https://codereview.chromium.org//11028023
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@13230 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-04 13:24:29 +00:00
ager@google.com
c4c4b7f08c
Add in-process http server to the dart test scripts.
...
Removed support for extra commands. Change pkg/intl test to use
builtin http server.
Fixed regression in test runner so the test script terminates when
passing in an unknown selector.
BUG=
Review URL: https://codereview.chromium.org//11035027
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@13217 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-04 10:43:48 +00:00
ager@google.com
ffe5b29eed
Minor fixes to test.dart.
...
Fix some switches, remove interfaces, and add 'incomplete' to
the TestOutput abstract class.
R=ricow@google.com ,whesse@google.com
BUG=
Review URL: https://codereview.chromium.org//11047013
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@13169 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-03 10:47:05 +00:00
ricow@google.com
f17ea5191c
Update the semantics of the 'special-command' flag given to the test script.
...
This gives the suffix as arguments to the existing executable, not as a suffix to the whole command.
Review URL: https://codereview.chromium.org//11019012
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@13100 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-02 05:38:56 +00:00
ager@google.com
0f53862f55
Change run_vm_tests to take the VM arguments before the test name so
...
it acts more like the standalone VM. That way the test scripts can
uniformly pass extra arguments to the cctest runner and to the VM
itself.
The use case for this is that it is nice to be able to add extra
vm flags to all tests using the --special-commands flag for the
test runner:
./tools/test.py --special-commands='time @ --vm-flag'
This will turn cc tests into:
time run_vm_tests --vm-flag Selector
and VM tests into:
time dart --vm-flag my_test.dart
R=ricow@google.com ,asiva@google.com
BUG=
Review URL: https://codereview.chromium.org//11018014
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@13067 260f80e4-7a28-3924-810f-c04153c831b5
2012-10-01 14:04:26 +00:00
ahe@google.com
48a59514f3
Add progress indicator for co19 updating.
...
Review URL: https://codereview.chromium.org//11000049
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@13008 260f80e4-7a28-3924-810f-c04153c831b5
2012-09-28 12:13:50 +00:00
ahe@google.com
c88380cb8c
Remove stale co19 entries.
...
Review URL: https://codereview.chromium.org//10981064
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@12997 260f80e4-7a28-3924-810f-c04153c831b5
2012-09-28 08:52:31 +00:00
ahe@google.com
1c518f6169
Separate compile-time and runtime errors.
...
Review URL: https://codereview.chromium.org//10977054
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@12964 260f80e4-7a28-3924-810f-c04153c831b5
2012-09-27 14:31:05 +00:00
ahe@google.com
684c93a740
Rename a variable to fix build breakage
...
Review URL: https://codereview.chromium.org//10990080
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@12943 260f80e4-7a28-3924-810f-c04153c831b5
2012-09-27 07:44:19 +00:00
ahe@google.com
e13c0b1c7d
Always fail if a process failed to launch.
...
This reveals a problem with the implementation of extra commands, which is also fixed.
Review URL: https://codereview.chromium.org//10993048
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@12942 260f80e4-7a28-3924-810f-c04153c831b5
2012-09-27 07:39:40 +00:00
ahe@google.com
a14563d93e
Use typedefs in test.dart.
...
Review URL: https://codereview.chromium.org//10986047
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@12908 260f80e4-7a28-3924-810f-c04153c831b5
2012-09-26 13:33:11 +00:00
ager@google.com
7977b42215
Update all occurrences of raw strings.
...
R=hausner@google.com ,kasperl@google.com
BUG=
Review URL: https://codereview.chromium.org//10977027
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@12893 260f80e4-7a28-3924-810f-c04153c831b5
2012-09-26 06:01:23 +00:00
ahe@google.com
3a4d55f209
Create a wrapper around test.dart for running co19 tests.
...
Review URL: https://codereview.chromium.org//10973009
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@12775 260f80e4-7a28-3924-810f-c04153c831b5
2012-09-24 12:52:53 +00:00
ahe@google.com
d6ca10a62e
Update co19 to r343.
...
Review URL: https://codereview.chromium.org//10972007
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@12774 260f80e4-7a28-3924-810f-c04153c831b5
2012-09-24 12:37:43 +00:00
ahe@google.com
034a66d17f
Parameterize 'new Options().script'.
...
Review URL: https://codereview.chromium.org//10970060
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@12763 260f80e4-7a28-3924-810f-c04153c831b5
2012-09-24 09:41:53 +00:00
ahe@google.com
8332173392
Use semicolon, not comma.
...
Review URL: https://codereview.chromium.org//10956066
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@12761 260f80e4-7a28-3924-810f-c04153c831b5
2012-09-24 08:51:22 +00:00
ahe@google.com
f5083a4db7
Use the VM under test, not the prebuilt binary
...
Review URL: https://codereview.chromium.org//10965060
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@12760 260f80e4-7a28-3924-810f-c04153c831b5
2012-09-24 08:31:32 +00:00
gram@google.com
eb2a0fc533
Eliminate some of the flakiness in testing:
...
- errors in test_controller.js get posted to the Dart configs
- Dart configs will receive these and set uncaughtError
- Selenium driver will output the full HTML body, not just up to the first script tag (else the errors above could be lost).
Review URL: https://codereview.chromium.org//10968040
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@12735 260f80e4-7a28-3924-810f-c04153c831b5
2012-09-21 20:21:32 +00:00
whesse@google.com
2722230b81
Fix dart/tools directory to remove @'raw string' and foo.dynamic.
...
BUG=
Review URL: https://codereview.chromium.org//10908239
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@12698 260f80e4-7a28-3924-810f-c04153c831b5
2012-09-21 12:53:08 +00:00
alanknight@google.com
eac6195680
Be sure to use absolute paths in intl web server tests
...
Review URL: https://codereview.chromium.org//10961034
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@12666 260f80e4-7a28-3924-810f-c04153c831b5
2012-09-21 00:08:23 +00:00
alanknight@google.com
907c7ea083
Read locales over http in the browser
...
Review URL: https://codereview.chromium.org//10959002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@12664 260f80e4-7a28-3924-810f-c04153c831b5
2012-09-20 23:27:56 +00:00
antonm@google.com
b26899502d
Store status for dart2dart tests in a separate file.
...
R=ahe@google.com ,smok@google.com
Review URL: https://codereview.chromium.org//10947034
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@12571 260f80e4-7a28-3924-810f-c04153c831b5
2012-09-19 16:16:37 +00:00
johnniwinther@google.com
5bb04a5069
MSVS output to /build/ dir.
...
Review URL: https://codereview.chromium.org//10933125
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@12471 260f80e4-7a28-3924-810f-c04153c831b5
2012-09-18 07:48:26 +00:00