Commit Graph

293 Commits

Author SHA1 Message Date
lrn@google.com e9ec0d7082 Update expectation for unittest test that uses non-zero timer.
Review URL: https://codereview.chromium.org//235203002

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@34973 260f80e4-7a28-3924-810f-c04153c831b5
2014-04-11 13:47:34 +00:00
lrn@google.com 2ab1f1238f Trying to make preamble for d8.
Preamble handles timers and task queue.

R=floitsch@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@34967 260f80e4-7a28-3924-810f-c04153c831b5
2014-04-11 10:29:06 +00:00
lrn@google.com 19bcddfc6b Add Isolate.kill().
This sends a kill signal to the isolate, which is allowed to terminate
the isolate as soon as possible, and at the latest before the next event.

R=ajohnsen@google.com, floitsch@google.com, sgjesse@google.com

Committed: https://code.google.com/p/dart/source/detail?r=34234

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@34960 260f80e4-7a28-3924-810f-c04153c831b5
2014-04-11 07:22:48 +00:00
karlklose@google.com e6cd701ee6 Mark isolate/spawn_uri_multi_test as passing on CSP.
R=herhut@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@34725 260f80e4-7a28-3924-810f-c04153c831b5
2014-04-04 08:05:56 +00:00
johnniwinther@google.com c3e1ed3766 Update csp status.
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@34687 260f80e4-7a28-3924-810f-c04153c831b5
2014-04-03 08:58:26 +00:00
zra@google.com 2fe51715e5 Begins work on ARM64, first assembler test.
Most new code is in constants_arm64.h and
{assembler,disassembler,simulator}_arm64.{h,cc}

The rest of the CL just #def's out tests, modifies status files,
and adds UNIMPLEMENTED functions, etc.

R=regis@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@34654 260f80e4-7a28-3924-810f-c04153c831b5
2014-04-02 17:39:32 +00:00
lrn@google.com b81c6a25f5 Revert "Add Isolate.kill()."
Either ping or kill tests fail in some cases.

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@34247 260f80e4-7a28-3924-810f-c04153c831b5
2014-03-21 13:20:51 +00:00
lrn@google.com ac43cac578 Add Isolate.kill().
This sends a kill signal to the isolate, which is allowed to terminate
the isolate as soon as possible, and at the latest before the next event.

R=ajohnsen@google.com, floitsch@google.com, sgjesse@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@34234 260f80e4-7a28-3924-810f-c04153c831b5
2014-03-21 08:56:03 +00:00
whesse@google.com 005f2f49af Supress isolate/mandel_isolate_test on debug Mips - it takes 600 MB.
BUG=
R=kustermann@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@33654 260f80e4-7a28-3924-810f-c04153c831b5
2014-03-13 16:24:37 +00:00
lrn@google.com 1a35b1799d Update expectations after landing Isolate.ping.
Forgot to mark VM as failing due to not implementing it yet.
Dart2js mirrors_used_test grows unexplainably.

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@33373 260f80e4-7a28-3924-810f-c04153c831b5
2014-03-06 13:33:35 +00:00
lrn@google.com 327223aeb9 Typo in status file for isolate/ondone_test
Review URL: https://codereview.chromium.org//183383010

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@33270 260f80e4-7a28-3924-810f-c04153c831b5
2014-03-04 12:59:38 +00:00
lrn@google.com 83c52f2a91 Add Isolate.onExit.
Implemented on dart2js.
Tentative design.
Comments welcome.

R=floitsch@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@33268 260f80e4-7a28-3924-810f-c04153c831b5
2014-03-04 12:12:51 +00:00
lrn@google.com b23f5d0327 Add 'startPaused' option to Isolate.spawn*.
Initial implementation of startPaused in dart2js.

R=floitsch@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@32722 260f80e4-7a28-3924-810f-c04153c831b5
2014-02-17 13:06:06 +00:00
kustermann@google.com 1626736d2c Remove flaky markers from status file for tests that are not flaky.
R=ricow@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@32553 260f80e4-7a28-3924-810f-c04153c831b5
2014-02-11 11:55:55 +00:00
lrn@google.com f7ac102369 Implement Isolate.pause in dart2js.
This is a trivial implementation of Isolate.pause.
It introduces out-of-band control messages to the control port
int a simple way (if receiveport == controlport treat specially).

Control port is now created for each isolate, along with a Capability allowing
pausing.

R=floitsch@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@32485 260f80e4-7a28-3924-810f-c04153c831b5
2014-02-10 08:33:14 +00:00
lrn@google.com 173dddf73f Add pause methods to Isolate.
R=floitsch@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@32351 260f80e4-7a28-3924-810f-c04153c831b5
2014-02-06 09:47:35 +00:00
lrn@google.com 3222f88f01 Update isolate expectations to not skip dart2dart.
BUG= http://dartbug.com/12629
R=sgjesse@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@32316 260f80e4-7a28-3924-810f-c04153c831b5
2014-02-05 09:35:28 +00:00
lrn@google.com 6f4ac08a2b Add Capability implementation to dart2js libraries.
R=floitsch@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@32275 260f80e4-7a28-3924-810f-c04153c831b5
2014-02-04 09:30:46 +00:00
lrn@google.com 29dd07f51a Add Capability class.
Currently throws UnimplementedError in constructor patches. All implementation is still missing.

R=floitsch@google.com, sgjesse@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@32274 260f80e4-7a28-3924-810f-c04153c831b5
2014-02-04 09:23:38 +00:00
whesse@google.com 152cf1e3fe Mark failing dart2js_extra isolate test on chromeOnAndroid platform. Mark two flaky tests with timeouts.
BUG=dartbug.com/14458
R=kustermann@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@31096 260f80e4-7a28-3924-810f-c04153c831b5
2013-12-12 14:24:06 +00:00
kustermann@google.com e898028b18 Attempt to deflake our status files
R=whesse@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@31022 260f80e4-7a28-3924-810f-c04153c831b5
2013-12-10 15:37:34 +00:00
floitsch@google.com a03ce2ad10 Make the global port a "weak" port.
We could have just removed all references to the lazyPort, but this CL
prepares for using the lazyPort as controlPort.

BUG= http://dartbug.com/14461
R=lrn@google.com, ngeoffray@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@30938 260f80e4-7a28-3924-810f-c04153c831b5
2013-12-06 09:31:59 +00:00
floitsch@google.com c38ca34d79 Update status file.
Review URL: https://codereview.chromium.org//95263003

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@30763 260f80e4-7a28-3924-810f-c04153c831b5
2013-11-28 15:24:53 +00:00
floitsch@google.com f23edaae4d Clean up isolate tests.
R=kustermann@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@30761 260f80e4-7a28-3924-810f-c04153c831b5
2013-11-28 14:36:25 +00:00
kustermann@google.com 90eddd0cee Mark isolate/isolate2_negative_test as passing on the analyzer
R=floitsch@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@30722 260f80e4-7a28-3924-810f-c04153c831b5
2013-11-27 16:04:42 +00:00
lrn@google.com d4394ccdc1 Make isolate tests work on drt (and hopefully dartium).
The current isolate tests don't work in drt/dartium because the
DOM isolate can't use Isolate.spawnFunction.

To avoid this problem, this change makes the affected tests start out
by doing an Isolate.spawnUri with their own main file, therevy running the test
in a non-DOM isolate. The test results are propagated back to the original
isolate.

I haven't been able to test dartium yet. I might be missing Selenium.

BUG= http://dartbug.com/14626
R=floitsch@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@30610 260f80e4-7a28-3924-810f-c04153c831b5
2013-11-25 08:19:53 +00:00
lrn@google.com 2a63af9099 Add RawReceivePort to dart2js.
BUG= http://dartbug.com/14456
R=floitsch@google.com, ngeoffray@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@30456 260f80e4-7a28-3924-810f-c04153c831b5
2013-11-20 10:36:41 +00:00
lrn@google.com ed814958fc Fix VM not accepting static methods for Isolate.spawn.
BUG= http://dartbug.com/3011

Committed: https://code.google.com/p/dart/source/detail?r=30300

R=iposva@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@30442 260f80e4-7a28-3924-810f-c04153c831b5
2013-11-20 09:14:30 +00:00
floitsch@google.com 56c59b638c Fix warning in mandel_isolate_test.
BUG= http://dartbug.com/14782
R=kustermann@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@29944 260f80e4-7a28-3924-810f-c04153c831b5
2013-11-05 23:24:50 +00:00
scheglov@google.com c3e489730f Issue 14452. Fix for skipping 'final' modifier in function expression parameters.
https://code.google.com/p/dart/issues/detail?id=14452

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

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@29838 260f80e4-7a28-3924-810f-c04153c831b5
2013-11-04 19:13:35 +00:00
kustermann@google.com 59f34542e2 Removed status file entries which refer to non-existent tests
R=fschneider@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@29811 260f80e4-7a28-3924-810f-c04153c831b5
2013-11-04 15:28:44 +00:00
rmacnak@google.com 81af1a5ea1 Raise an exception instead of crashing when attempting to pass a MirrorReference between isolates.
Fix warnings in isolate illegal values tests.

BUG=http://dartbug.com/14584
R=asiva@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@29694 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-31 20:36:32 +00:00
regis@google.com 66c9d75971 Fix analyzer status file.
Review URL: https://codereview.chromium.org//53863002

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@29616 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-31 00:54:47 +00:00
kustermann@google.com 94ebff2225 Bugfix in test.dart, adding of specialized test outcomes for analyzer
This CL will:
 - fix a bug in the legacy AnalyzerCommandOutputImpl class (in certain cases
   we did not report that the analyzer was missing a warning).
 - make the outcome of running the analyzer on a test be one of:
   * CompileTimeError
   * MissingCompileTimeError
   * StaticWarning
   * MissingStaticWarning
 - Make status file updates using the new Expectation markers
 - Remove support for '@static-clean':
     Previously running the analyer on a test could either result in
     'Pass' or in 'Fail'. The '@static-clean' annotation has been used
     as a (poor) mechanism to distinguish between errors and warnings.
     Having the 4 markers mentioned above means we can remove '@static-clean'
 - Remove 100 lines of rotted legacy code in our testing scripts.
 - Make a status file entry for every test that has analyzer errors or warnings

R=ricow@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@29350 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-28 10:39:38 +00:00
vsm@google.com c5d691f64c Status fix for Dartium bots
TBR=asiva@google.com,floitsch@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@29301 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-25 23:30:52 +00:00
floitsch@google.com ffccd42cae Update status files.
Review URL: https://codereview.chromium.org//38563003

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@29285 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-25 20:47:52 +00:00
floitsch@google.com dcac807c32 Status file updates.
Review URL: https://codereview.chromium.org//45433002

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@29284 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-25 20:40:29 +00:00
floitsch@google.com 6a72655d1b Very simple version of Isolates.
R=ajohnsen@google.com, iposva@google.com, kasperl@google.com, lrn@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@29271 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-25 19:23:00 +00:00
asiva@google.com 3253eb3b84 Update status files to account for 14400 being fixed.
R=vsm@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@29215 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-24 21:51:53 +00:00
asiva@google.com 910c318003 Fix status file to mark spawnFunction as crashing until 14400 is fixed.
R=vsm@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@29199 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-24 19:51:57 +00:00
nweiz@google.com 4a01686b28 Un-mark an isolate test as failing on the analyzer.
TBR
BUG=13945

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@28823 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-17 20:31:14 +00:00
kustermann@google.com b24a73c137 Remove unittest-based wrapping from our testing scripts
The unittest-based wrapping of tests is completely broken and will be removed
with this CL. ('none-drt' is the last configuration where we currently still do
unittest-based wrapping.)

BUG=
R=ricow@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@28501 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-11 09:01:17 +00:00
vsm@google.com 8abd795865 Skipping test that isn't failing properly
TBR=asiva@google.com,ricow@google.com

BUG=13961

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@28442 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-10 03:42:15 +00:00
vsm@google.com 6deb0eb350 More status updates
It appears that the spawnUri tests pass with DRT and fail in Dartium.
I have not been able to run locally in "dartium" mode.

TBR=asiva@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@28440 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-10 02:57:37 +00:00
vsm@google.com 34f3592c56 Fix typo in status file
TBR=asiva@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@28432 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-09 23:46:34 +00:00
scheglov@google.com afb3cc7f01 Issue 13918. final fields induce setters that are illegal to call
https://code.google.com/p/dart/issues/detail?id=13918

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

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@28415 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-09 20:30:42 +00:00
vsm@google.com 334fd6bf07 Mark spawnFunction tests as Fail on Dartium
See corresponding Dartium CL:
https://chromiumcodereview.appspot.com/26397003/

This disables spawnFunction on DOM enabled isolate (i.e., where
dart:html is available).  spawnFunction should continue to work on
non-DOM enabled isolated.  spawnUri should be unaffected.

R=asiva@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@28406 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-09 16:25:28 +00:00
kustermann@google.com edacf33810 Status file update for none-dartium
R=kasperl@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@28254 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-04 09:25:26 +00:00
vsm@google.com 8480c79e54 Remove spawnDomIsolate code
This is more or less a straight remove of code.  By disabling print and timers on background isolates in Dartium, we can get rid of the last vestiges of spawnDom*.

R=asiva@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@28191 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-03 03:20:00 +00:00
kustermann@google.com 22d20313b4 Implement testing support for "--compiler=none --runtime=dartium"
This is implemented without the broken unittest-based wrapping of tests.

R=kasperl@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@28141 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-02 07:37:50 +00:00