ajohnsen@google.com
7cfda3591f
Let test-runner wait for stdout & stderr when running tests.
...
BUG=
R=kustermann@google.com
Review URL: https://codereview.chromium.org//24989004
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@28009 260f80e4-7a28-3924-810f-c04153c831b5
2013-09-27 13:19:12 +00:00
kustermann@google.com
55e9dc75b4
test.py: Parse unittest-suite-{wait-for-done,success} messages in output of d8/jsshell/vm
...
R=ricow@google.com
Review URL: https://codereview.chromium.org//24573003
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@27953 260f80e4-7a28-3924-810f-c04153c831b5
2013-09-26 14:06:01 +00:00
floitsch@google.com
a24014ab08
Automatically append ".js" on spawnUri if we are running in JavaScript.
...
BUG= http://dartbug.com/9422
R=kasperl@google.com , kustermann@google.com
Review URL: https://codereview.chromium.org//24730002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@27941 260f80e4-7a28-3924-810f-c04153c831b5
2013-09-26 11:32:11 +00:00
jwren@google.com
7710f874e8
Add a flag to disable the reporting and generation of hints in the analyzer.
...
I have a pending cl (24454002) which would break the analyzer bot since hints will be generated on langage and co19 where the output is asserted to be clean.
R=ricow@google.com
Review URL: https://codereview.chromium.org//24449004
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@27891 260f80e4-7a28-3924-810f-c04153c831b5
2013-09-25 16:37:37 +00:00
kustermann@google.com
766d8c6eea
test.py: Use *.precompiled.js in csp mode for customHtml tests as well
...
R=ahe@google.com
Review URL: https://codereview.chromium.org//24427005
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@27872 260f80e4-7a28-3924-810f-c04153c831b5
2013-09-25 10:00:40 +00:00
blois@google.com
b5bc0e1367
- Fixing analyzer error on legacy custom element polyfill
...
- Adjsuting IE status (filed bug to investigate)
- Fixing polymer tests on Dartium
BUG=
R=jmesserly@google.com
Review URL: https://codereview.chromium.org//24168006
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@27846 260f80e4-7a28-3924-810f-c04153c831b5
2013-09-24 20:11:36 +00:00
blois@google.com
209e413a5c
Retry of custom element lifecycle events.
...
First patch is the original, changes were:
- Shadow DOM upgrade landed as separate CL
- CustomElement polyfill wasn't always firing WebComponentsLoaded event (causing timeouts on FF and IE), fixed polyfill.
- Dartium test exclusions were not working
BUG=
R=jmesserly@google.com
Review URL: https://codereview.chromium.org//23498053
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@27841 260f80e4-7a28-3924-810f-c04153c831b5
2013-09-24 19:14:16 +00:00
ahe@google.com
2fa6b681cf
Address comments from CL 23721012.
...
R=kustermann@google.com
Review URL: https://codereview.chromium.org//23726054
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@27816 260f80e4-7a28-3924-810f-c04153c831b5
2013-09-24 13:07:02 +00:00
ahe@google.com
ab78c663ad
Generate out.precompiled.js, not precompiled.js.
...
BUG=http://dartbug.com/6880
R=kasperl@google.com , kustermann@google.com
Review URL: https://codereview.chromium.org//23721012
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@27813 260f80e4-7a28-3924-810f-c04153c831b5
2013-09-24 12:04:49 +00:00
kustermann@google.com
ed3fe0161c
test.py: Support for CompileTimeError,RuntimeError,MissingRuntimeError,MissingCompiletimeError markers in status files
...
R=ricow@google.com
Review URL: https://codereview.chromium.org//23702055
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@27804 260f80e4-7a28-3924-810f-c04153c831b5
2013-09-24 10:21:15 +00:00
ahe@google.com
05a9a7834e
Emit CSP code in separate file.
...
R=kasperl@google.com
Review URL: https://codereview.chromium.org//24267004
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@27745 260f80e4-7a28-3924-810f-c04153c831b5
2013-09-23 09:06:14 +00:00
blois@google.com
6def065afd
Revert "Dart2js support for custom element lifecycle events"
...
This reverts commit 27729. Shadow DOM polyfill appears to have regressed some tests and some issues are coming up with the browser controller.
BUG=
R=jmesserly@google.com
Review URL: https://codereview.chromium.org//24251016
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@27730 260f80e4-7a28-3924-810f-c04153c831b5
2013-09-21 00:46:48 +00:00
blois@google.com
fb8f32bcc4
Dart2js support for custom element lifecycle events
...
BUG=
R=jmesserly@google.com
Review URL: https://codereview.chromium.org//24096027
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@27729 260f80e4-7a28-3924-810f-c04153c831b5
2013-09-20 23:49:12 +00:00
kustermann@google.com
be1fc8ad2d
co19-roll to r587
...
R=ricow@google.com
Review URL: https://codereview.chromium.org//23437044
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@27657 260f80e4-7a28-3924-810f-c04153c831b5
2013-09-19 11:50:48 +00:00
ricow@google.com
7ff576944f
Don't try to get chrome version on windows.
...
We still make sure that the binary is valid.
Enable the browser controller on windows again
R=kustermann@google.com
Review URL: https://codereview.chromium.org//23815007
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@27333 260f80e4-7a28-3924-810f-c04153c831b5
2013-09-10 12:29:43 +00:00
kustermann@google.com
1e32f03118
Disable new browser controller on win-chrome
...
test.dart is not able to determine the version of chrome when running
'chrome.exe --version'. This causes an open browser window to hang and
makes the bot timeout.
TBR=ricow@google.com
Review URL: https://codereview.chromium.org//23561005
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@27245 260f80e4-7a28-3924-810f-c04153c831b5
2013-09-06 12:22:32 +00:00
kustermann@google.com
58b33d70e9
test.py: Bugfix in browser_controller. Make sure we always complete even in case of errors
...
TBR=ricow@google.com
Review URL: https://codereview.chromium.org//24033002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@27242 260f80e4-7a28-3924-810f-c04153c831b5
2013-09-06 11:32:34 +00:00
ricow@google.com
b4b435faab
Add support for chrome on windows to the new browser controller
...
R=kustermann@google.com
Review URL: https://codereview.chromium.org//23625008
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@27239 260f80e4-7a28-3924-810f-c04153c831b5
2013-09-06 09:45:52 +00:00
ricow@google.com
175c3f58e1
Add support for firefox on windows to the browser controller
...
R=kustermann@google.com
Review URL: https://codereview.chromium.org//23679006
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@27235 260f80e4-7a28-3924-810f-c04153c831b5
2013-09-06 08:52:43 +00:00
jmesserly@google.com
337880c0d4
fixed TodoMVC tests to include deploying to JS
...
R=kustermann@google.com , sigmund@google.com
Review URL: https://codereview.chromium.org//23678009
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@27222 260f80e4-7a28-3924-810f-c04153c831b5
2013-09-05 23:00:41 +00:00
kustermann@google.com
f4691ff4fe
Consider tests as flaky if it contains more than one marker (which can occur when running the test)
...
R=ricow@google.com
Review URL: https://codereview.chromium.org//23441045
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@27116 260f80e4-7a28-3924-810f-c04153c831b5
2013-09-04 12:03:10 +00:00
ricow@google.com
ec88776e9a
Add div displaying the currently executing test.
...
This can be useful if the window freezes up with a busy loop
R=kustermann@google.com
Review URL: https://codereview.chromium.org//23506023
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@27027 260f80e4-7a28-3924-810f-c04153c831b5
2013-09-03 08:04:26 +00:00
kustermann@google.com
71f3a4df75
Shard based on relative originTestPath
...
R=ricow@google.com
Review URL: https://codereview.chromium.org//23431015
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@27017 260f80e4-7a28-3924-810f-c04153c831b5
2013-09-02 17:51:32 +00:00
kustermann@google.com
c0ab51e4d6
Seems like cc/ TestCases don't have a TestInformation object attached
...
R=ricow@google.com
Review URL: https://codereview.chromium.org//23475015
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@27015 260f80e4-7a28-3924-810f-c04153c831b5
2013-09-02 14:19:40 +00:00
kustermann@google.com
f6ab02857e
test.py: Fixed incorrect handling of multitest in status files, status file cleanups.
...
R=ricow@google.com
Review URL: https://codereview.chromium.org//23721006
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@27013 260f80e4-7a28-3924-810f-c04153c831b5
2013-09-02 14:04:59 +00:00
kustermann@google.com
b0889233cd
test.py: Print the warning about left-over dirs only for directories created using Directory.createTemp()
...
R=ricow@google.com
Review URL: https://codereview.chromium.org//23714002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@27003 260f80e4-7a28-3924-810f-c04153c831b5
2013-09-02 09:29:12 +00:00
jmesserly@google.com
7a091dcfca
Turn on Polymer TodoMVC tests on Dart buildbots
...
The biggest changes are to the examples, but there's a small tweak to test_suite.dart as well, so it can load the HTML files.
For now, we only test the development loop (content_shell+Dart VM). I'm working on changes to enable us to test the deploy story with dart2js.
R=kustermann@google.com , sigmund@google.com
Review URL: https://codereview.chromium.org//23539003
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@26943 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-30 21:09:06 +00:00
kustermann@google.com
59c486d34c
Fixed type error in browser_controller: DebugLogger.error() takes a string
...
TBR=ricow@google.com
Review URL: https://codereview.chromium.org//23618020
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@26936 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-30 19:15:03 +00:00
kustermann@google.com
4d7311f14b
Remove Timeout entries in status files for ie9/ie10
...
After reducing the load on our IE builders, we hopefully no longer see these
random timeouts.
R=ahe@google.com
Review URL: https://codereview.chromium.org//23604010
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@26912 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-30 13:39:05 +00:00
kustermann@google.com
7ddb5bb8ad
test.py: Report info about how long it took until a browser tests started if it times out
...
R=ahe@google.com
Review URL: https://codereview.chromium.org//23522009
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@26910 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-30 12:55:27 +00:00
floitsch@google.com
1887b5ca49
Some more removals of dart:utf.
...
R=jmesserly@google.com , lrn@google.com , nweiz@google.com
Review URL: https://codereview.chromium.org//22909059
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@26712 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-27 13:18:34 +00:00
kustermann@google.com
45c42e08f2
Update checked-in binary to 0.6.21.3_r26639 (M6)
...
R=ricow@google.com
Review URL: https://codereview.chromium.org//23568002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@26704 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-27 11:16:37 +00:00
kustermann@google.com
013ac3b1d1
Reland "Enable running multitests in browsers""
...
R=ricow@google.com
Review URL: https://codereview.chromium.org//23545003
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@26695 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-27 09:12:05 +00:00
efortuna@google.com
b66711273b
Update webdriver setup script for Download name changes.
...
BUG=
R=sigmund@google.com
Review URL: https://codereview.chromium.org//23334005
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@26660 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-26 17:23:22 +00:00
kustermann@google.com
807685dcaa
Revert "Enable running multitests in browsers"
...
R=ricow@google.com
Review URL: https://codereview.chromium.org//23201019
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@26648 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-26 14:20:57 +00:00
kustermann@google.com
6844e23211
Enable running multitests in browsers
...
R=ricow@google.com
Review URL: https://codereview.chromium.org//23427002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@26641 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-26 12:12:41 +00:00
gram@google.com
5afecf5f67
Changes to how we handle fancy stacks:
...
- in the base config they are disabled
- in htmnl config they are enabled unless a certain meta tag is present in the
page.
- in vm config they are enabled unless a --no-fancy-stacks flag is in the
Options.
The test runner adds a fancy_stacks flag that can be used to control this
behavior, but by default turns off fancy stacks for all tests.
There were a couple of test runner tests that were affected and have kludgy
fixes where I strip out the new argument from Options first.
This has passed a baseline set of tests; I'm still running a more comprehensive
set.
R=kustermann@google.com , nweiz@google.com
Review URL: https://codereview.chromium.org//22859009
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@26560 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-22 21:47:51 +00:00
ricow@google.com
fbe8335669
Catch race condition where we are shutting down a browser and that browser is sending back results.
...
R=kustermann@google.com
Review URL: https://codereview.chromium.org//23005022
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@26532 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-22 16:30:56 +00:00
sgjesse@google.com
db24c54987
Cleanup of isolate.status (first step)
...
R=ricow@google.com
BUG=
Review URL: https://codereview.chromium.org//23368003
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@26506 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-22 07:35:25 +00:00
sgjesse@google.com
13f0f94448
Find issue number from comment in status file.
...
R=kustermann@google.com
BUG=
Review URL: https://codereview.chromium.org//23172010
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@26360 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-20 15:01:00 +00:00
regis@google.com
f9df206e2e
Report compile-time errors for conflicting overrides as specified by latest
...
language spec (fix issue 12342).
Add override conflict tests.
Update status files.
Add support for 'ok' status in multi-tests.
R=hausner@google.com
Review URL: https://codereview.chromium.org//22999022
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@26302 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-16 23:39:41 +00:00
blois@google.com
3d0ace5885
Re-try of Tightening up dart2js load timing.
...
This is a fixup of https://codereview.chromium.org/22488002/ , first patch is the original, subsequent the fixes.
BUG=
R=ahe@google.com , vsm@google.com
Review URL: https://codereview.chromium.org//23121004
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@26244 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-15 23:57:07 +00:00
ricow@google.com
653c15bf55
Revert revision 26149.
...
This is causing IE bots to fail
R=ahe@google.com , kustermann@google.com
Review URL: https://codereview.chromium.org//23201005
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@26186 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-15 11:19:11 +00:00
blois@google.com
daf090e7b3
Tightening up dart2js load timing.
...
The timing of main() execution in dart2js currently occurs after 'loaded' which is quite late in the page load phase (after all images) and is inconsistent with Dartium.
In order to get the timing more consistent with Dartium and more consistent in general this CL makes a couple of changes:
- dart2js generated code is now executed synchronously- this gives end developers more control over timing of main().
- A warning is generated if main() is executed during document parse time- this is primarily to ease the transition and let users know what needs to be done to more closely match Dartium behavior.
- dart.js bootstrapper no longer waits for DOMContentLoaded- the modified script tags will be executed after parse phase, the additional delay should not be necessary.
Breaking changes:
- dart2js main() execution in standard project templates now occurs after document parse but before all assets have been loaded
- Script tags directly referencing dart.js files will now execute synchronously. It's recommended that defer tags be added to these, or that they be moved to the end of the body tag.
- dart.js bootstrapper will now only auto-load script tags which occur before it on the page.
BUG=4718
R=sra@google.com , vsm@google.com
Review URL: https://codereview.chromium.org//22488002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@26149 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-14 20:51:45 +00:00
ricow@google.com
73826dc6bf
Add support for ie in the browser controller
...
Also, add no caching headers (since IE will cache the task that it gets)
R=kustermann@google.com
Review URL: https://codereview.chromium.org//22420002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@26112 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-14 11:30:48 +00:00
zra@google.com
8ffef7528d
Bug fix and status file updates for MIPS HW.
...
R=regis@google.com
Review URL: https://codereview.chromium.org//22828004
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@26037 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-12 21:45:41 +00:00
kustermann@google.com
e2dbbb540a
test.py: Reduce the number of times we retry commands before showing them as failed.
...
R=ricow@google.com
Review URL: https://codereview.chromium.org//22817002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@25997 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-12 10:57:07 +00:00
kustermann@google.com
0328d6686f
test.py In case we don't have any TestCases, don't block
...
R=ricow@google.com
Review URL: https://codereview.chromium.org//22322007
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@25921 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-08 11:17:54 +00:00
ricow@google.com
4b509345a5
Fix exitcode handling from analyzer running in nobatch mode.
...
R=kustermann@google.com
Review URL: https://codereview.chromium.org//22574002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@25871 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-07 12:28:54 +00:00
kustermann@google.com
5d2f423339
test.py: Fix in CommandQueue to make sure we finish up correctly if an intermediate command failed
...
R=ricow@google.com
Review URL: https://codereview.chromium.org//22326004
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@25870 260f80e4-7a28-3924-810f-c04153c831b5
2013-08-07 12:20:35 +00:00