Commit Graph

95 Commits

Author SHA1 Message Date
sigmund@google.com 656e98150b unittest step2: bye bye to multiple entrypoints for unittest
Review URL: https://chromiumcodereview.appspot.com//10037027

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@6480 260f80e4-7a28-3924-810f-c04153c831b5
2012-04-12 21:38:25 +00:00
sigmund@google.com cca364ce76 change status files to make it possible to run test.py -c frog,dart2js -r none.
Except for standalone, this mostly skips all other tests. The configurations
frog_none and dart2js_none these have been ignored for now by the bots, enabling
those tests should be done as needed.

Review URL: https://chromiumcodereview.appspot.com//10042001

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@6382 260f80e4-7a28-3924-810f-c04153c831b5
2012-04-10 20:56:37 +00:00
sigmund@google.com 1087154630 fix bug in isolate code, reenable isolate tests
Review URL: https://chromiumcodereview.appspot.com//9967024

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@6375 260f80e4-7a28-3924-810f-c04153c831b5
2012-04-10 18:43:27 +00:00
dgrove@google.com ca61f09608 Move unittest into lib, and put it into the SDK.
Review URL: http://codereview.chromium.org//9802015

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@5956 260f80e4-7a28-3924-810f-c04153c831b5
2012-03-28 22:26:14 +00:00
efortuna@google.com c8e35dbeb1 Rename test.dart component to specify compiler + runtime.
Review URL: https://chromiumcodereview.appspot.com//9838068

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@5893 260f80e4-7a28-3924-810f-c04153c831b5
2012-03-27 18:40:41 +00:00
ahe@google.com 87a64a1be8 Add "mock" compilation feature to dart2js and use it to improve test coverage.
Review URL: https://chromiumcodereview.appspot.com//9813012

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@5743 260f80e4-7a28-3924-810f-c04153c831b5
2012-03-22 10:34:03 +00:00
ager@google.com 2aba281fa6 Remove backwards compatibility 'win32' name from test status files.
Using win32 instead of windows was temporary to be compatible with
the old python script. That is now gone.

R=antonm@google.com
BUG=
TEST=

Review URL: https://chromiumcodereview.appspot.com//9817019

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@5736 260f80e4-7a28-3924-810f-c04153c831b5
2012-03-21 22:06:52 +00:00
ahe@google.com 628e36aee8 Do not use skip
Review URL: https://chromiumcodereview.appspot.com//9812006

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@5714 260f80e4-7a28-3924-810f-c04153c831b5
2012-03-21 11:22:40 +00:00
ahe@google.com dd96f32250 Rename leg -> dart2js.
Review URL: https://chromiumcodereview.appspot.com//9717033

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@5636 260f80e4-7a28-3924-810f-c04153c831b5
2012-03-19 08:36:39 +00:00
ngeoffray@google.com e5bb4924ef Fix a bug related to bailout where an instruction would be generate at use site for a HBailoutTarget, but the HBailoutTarget does not actually generate the instruction.
Review URL: https://chromiumcodereview.appspot.com//9720022

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@5618 260f80e4-7a28-3924-810f-c04153c831b5
2012-03-18 11:58:36 +00:00
ngeoffray@google.com f0d6773450 Put back line accidentally removed in https://chromiumcodereview.appspot.com//9706054.
Review URL: https://chromiumcodereview.appspot.com//9703059

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@5518 260f80e4-7a28-3924-810f-c04153c831b5
2012-03-15 13:11:12 +00:00
ngeoffray@google.com 20125a57c8 Fix wrong assumptions I had on the isolate library.
Review URL: https://chromiumcodereview.appspot.com//9706054

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@5517 260f80e4-7a28-3924-810f-c04153c831b5
2012-03-15 12:23:49 +00:00
ngeoffray@google.com 1d6563f365 New try for cl https://chromiumcodereview.appspot.com/9706014/.
Review URL: https://chromiumcodereview.appspot.com//9703057

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@5515 260f80e4-7a28-3924-810f-c04153c831b5
2012-03-15 10:11:51 +00:00
efortuna@google.com ec3f00e731 Revert revision 5463. Caused breakage on browser bots.
Review URL: https://chromiumcodereview.appspot.com//9700024

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@5473 260f80e4-7a28-3924-810f-c04153c831b5
2012-03-14 16:56:32 +00:00
ngeoffray@google.com 1190c8ab38 Update tests expectations for legium.
Review URL: https://chromiumcodereview.appspot.com//9706014

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@5463 260f80e4-7a28-3924-810f-c04153c831b5
2012-03-14 13:28:38 +00:00
turnidge@google.com e61a02c10d Implement spawnFunction from the new isolate api.
Still need to implement spawnUri, which will be the more difficult one.
Review URL: https://chromiumcodereview.appspot.com//9691005

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@5441 260f80e4-7a28-3924-810f-c04153c831b5
2012-03-13 22:05:08 +00:00
ngeoffray@google.com 8a013fcadc Fix status files for legium.
Review URL: https://chromiumcodereview.appspot.com//9696039

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@5418 260f80e4-7a28-3924-810f-c04153c831b5
2012-03-13 17:23:26 +00:00
ngeoffray@google.com 4c77fe620f Enable isolate tests with leg and legium.
Review URL: https://chromiumcodereview.appspot.com//9677019

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@5411 260f80e4-7a28-3924-810f-c04153c831b5
2012-03-13 15:44:30 +00:00
ahe@google.com 57aa304826 Don't skip tests.
Review URL: https://chromiumcodereview.appspot.com//9691035

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@5385 260f80e4-7a28-3924-810f-c04153c831b5
2012-03-13 08:51:00 +00:00
sigmund@google.com 2b5952ac6c SendPort + ReceivePort changes:
- document what are valid messages in SendPort.send
- change SendPort.call to return a future of the reply
- remove ReceivePort.singleShot

Review URL: https://chromiumcodereview.appspot.com//9652001

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@5368 260f80e4-7a28-3924-810f-c04153c831b5
2012-03-12 22:52:36 +00:00
efortuna@google.com 3f64e64f0d Revert part of r5291. MessageTest passes....
TBR=floitsch@google.com
Review URL: https://chromiumcodereview.appspot.com//9663072

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@5339 260f80e4-7a28-3924-810f-c04153c831b5
2012-03-12 17:51:04 +00:00
floitsch@google.com 6d852339e1 Update status file.
Review URL: https://chromiumcodereview.appspot.com//9665044

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@5291 260f80e4-7a28-3924-810f-c04153c831b5
2012-03-11 00:48:20 +00:00
mattsh@google.com e13b59e7cf Revert "Revert the revert."
This reverts commit 6f2615a9e5162ccb5b678a924d5d11ecdadbfff8.

BUG=
TEST=

Review URL: https://chromiumcodereview.appspot.com//9669019

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@5272 260f80e4-7a28-3924-810f-c04153c831b5
2012-03-10 00:17:14 +00:00
mattsh@google.com 17cf3623f4 Revert the revert.
This reverts commit 738ecebb4a1719beda41c17c994bb7b60c4791f7.

BUG=
TEST=

Review URL: https://chromiumcodereview.appspot.com//9663018

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@5248 260f80e4-7a28-3924-810f-c04153c831b5
2012-03-09 21:05:25 +00:00
mattsh@google.com 51fe0dab31 revert prior submit
BUG=
TEST=

Review URL: https://chromiumcodereview.appspot.com//9649024

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@5216 260f80e4-7a28-3924-810f-c04153c831b5
2012-03-09 04:04:27 +00:00
mattsh@google.com c3a5ab0129 remove node.js dependency by running the frog compiler in
DumpRenderTree instead of on node.js

BUG=
TEST=

Review URL: https://chromiumcodereview.appspot.com//9610002

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@5207 260f80e4-7a28-3924-810f-c04153c831b5
2012-03-09 00:57:29 +00:00
mattsh@google.com d8af601ce4 removed unused 'prefix' line from status files
Review URL: https://chromiumcodereview.appspot.com//9621003

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@5101 260f80e4-7a28-3924-810f-c04153c831b5
2012-03-07 16:10:57 +00:00
ngeoffray@google.com d77308a444 Skip non-client tests on legium.
Review URL: https://chromiumcodereview.appspot.com//9623001

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@5089 260f80e4-7a28-3924-810f-c04153c831b5
2012-03-07 13:50:11 +00:00
jacobr@google.com de1d525459 Enable new dart:html wrapperless frog bindings and wrapper dartium bindings.
Split unittest.dart into unittest_html and unittest_dom

Bug fixes to the new dart:html bindings to compile with dartc.

BUG=
TEST=

Review URL: https://chromiumcodereview.appspot.com//9600035

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@4998 260f80e4-7a28-3924-810f-c04153c831b5
2012-03-06 00:30:09 +00:00
sigmund@google.com 643b772a61 isolates: remove Isolate2 interface, add the top-level spawning functions, add more comments, adapt tests to this API.
Review URL: https://chromiumcodereview.appspot.com//9521007

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@4729 260f80e4-7a28-3924-810f-c04153c831b5
2012-02-29 00:54:15 +00:00
sigmund@google.com 0c7cc5be1e spawnUri: fixing test with recent support for multi-script tests.
Review URL: https://chromiumcodereview.appspot.com//9478027

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@4726 260f80e4-7a28-3924-810f-c04153c831b5
2012-02-28 21:53:53 +00:00
sigmund@google.com ee6a907611 isolates refactor: this change introduces 'dart:isolate' as a library. This is a
big global change, so let me explain in more detail. This refactoring CL does
the following:
- moves all the dart code for isolates in a common library (lib/isolate)

- changes frog to understand 'dart:isolate' imoprts by loading the code from the
  location above.

- changes the vm to undernstand 'dart:isolate' imports by creating a separate
  library that is part of the bootstrap. This follows the same code-structure
  that Todd suggested in his CL introducing the mirror library

- changes dartc to use the shared isolate library as the source of truth for
  type checking. I left around some of the internal js code in dartc so that the
  backend continues to work for apps that don't use isolates.

- changes all tests that use isolates to import the library explicitly (this is a large bulk of the files in this CL)

- changes test status for tests we can't fix in this repo (e.g. co19)

- splits the isolate library code to make it possible to preserve some tests
  without exposing internal types (e.g. tests about
  serialization/deserialization)

- changes the create_sdk script to copy the isolate library to the sdk

- includes the isolate library in dartdoc

I'll wait for at least one lgtm from each area (dartc, vm, frog, sdk)

There is one important pending thing this CL doesn't do:
- update test_runner.dart: This should be updated next time we upload the new
  binaries to tool/testing/bin
- dartium specific changes: Vijay, is there anything I need to do for dartium?

Review URL: https://chromiumcodereview.appspot.com//9422019

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@4647 260f80e4-7a28-3924-810f-c04153c831b5
2012-02-27 22:50:44 +00:00
sigmund@google.com 427d5e5ead remove promise:
- removes promise from corelib (use future instead)
 - move tests that depend on promises and proxies into samples/proxy/
 - remove dependence on promise from the rest of the system and tests

Review URL: https://chromiumcodereview.appspot.com//9401030

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@4328 260f80e4-7a28-3924-810f-c04153c831b5
2012-02-16 18:20:41 +00:00
eub@google.com 5699b5223e First exercise of spawnUri. Enabling the test needs issue 1666, but hand-running the test (copying and editing all necessary output files into the right structure) succeeds.
Review URL: https://chromiumcodereview.appspot.com//9386027

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@4287 260f80e4-7a28-3924-810f-c04153c831b5
2012-02-15 20:00:55 +00:00
sigmund@google.com 69530abbf1 move proxy out into sample/proxy
Review URL: https://chromiumcodereview.appspot.com//9363064

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@4243 260f80e4-7a28-3924-810f-c04153c831b5
2012-02-15 01:54:52 +00:00
sigmund@google.com d6cd18f200 safari fix: disable tests there temporarily.
Review URL: https://chromiumcodereview.appspot.com//9382030

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@4163 260f80e4-7a28-3924-810f-c04153c831b5
2012-02-11 01:56:39 +00:00
sigmund@google.com 86a7b562c1 another fix for ie.
Review URL: https://chromiumcodereview.appspot.com//9385032

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@4161 260f80e4-7a28-3924-810f-c04153c831b5
2012-02-11 01:15:43 +00:00
sigmund@google.com 1389d98799 add .status changes to fix ie
Review URL: https://chromiumcodereview.appspot.com//9379030

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@4157 260f80e4-7a28-3924-810f-c04153c831b5
2012-02-11 00:15:41 +00:00
sigmund@google.com bd70f7de56 fix bot: skip dartc tests on the new API (not yet added to corelib)
BUG=
TEST=

Review URL: https://chromiumcodereview.appspot.com//9383022

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@4155 260f80e4-7a28-3924-810f-c04153c831b5
2012-02-10 23:57:48 +00:00
sigmund@google.com 2276d0e7bf isolates in frog: playing with API improvements
Review URL: https://chromiumcodereview.appspot.com//9358010

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@4153 260f80e4-7a28-3924-810f-c04153c831b5
2012-02-10 23:44:36 +00:00
jmesserly@google.com e44d4fe8d1 fix status of IsolateNegativeTests on IE
They were being skipped already on other browsers. Appear to be flaky.

Review URL: https://chromiumcodereview.appspot.com//9382023

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@4145 260f80e4-7a28-3924-810f-c04153c831b5
2012-02-10 21:04:17 +00:00
jmesserly@google.com 9918d69710 Update Opera status
For now tests are disabled on the bot while we get it working.

Review URL: https://chromiumcodereview.appspot.com//9371037

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@4109 260f80e4-7a28-3924-810f-c04153c831b5
2012-02-10 01:54:29 +00:00
zundel@google.com 1172e2bf77 Remove implicit --optimize from testing dartc component in release mode
Review URL: https://chromiumcodereview.appspot.com//9362013

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@4040 260f80e4-7a28-3924-810f-c04153c831b5
2012-02-08 16:17:05 +00:00
whesse@google.com 9f27aa3a69 Remove unused support files for old version of tools/test.py.
BUG=
TEST=

Review URL: https://chromiumcodereview.appspot.com//9360017

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@4033 260f80e4-7a28-3924-810f-c04153c831b5
2012-02-08 14:11:42 +00:00
ahe@google.com 41f0492cf0 Remove dartc optimizing backend.
Review URL: https://chromiumcodereview.appspot.com//9353015

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@4025 260f80e4-7a28-3924-810f-c04153c831b5
2012-02-08 10:22:07 +00:00
zundel@google.com 8fdd07b9fd This change makes the normal way of running dartc equivalent to running it with what was the --check-only flag. Shared test status files have been updated to run 'green' for now until we can get a special static analysis testing tool in place.
The code generation backend is still there behind a flag, but due to be removed.

Review URL: https://chromiumcodereview.appspot.com//9346021

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@4008 260f80e4-7a28-3924-810f-c04153c831b5
2012-02-07 22:00:40 +00:00
efortuna@google.com 95498e8e50 Prevent browser windows from staying open.
Review URL: https://chromiumcodereview.appspot.com//9303019

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3705 260f80e4-7a28-3924-810f-c04153c831b5
2012-01-31 01:47:41 +00:00
efortuna@google.com 5a44035961 Changing to recommended way to fix console.log in IE by Kasper.
Plus some updates to the test.stats files for IE results.
Review URL: https://chromiumcodereview.appspot.com//9302012

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3704 260f80e4-7a28-3924-810f-c04153c831b5
2012-01-31 00:51:43 +00:00
jimhug@google.com 86fa666526 Reapply r3590 with frog fixes
Review URL: https://chromiumcodereview.appspot.com//9113061

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3599 260f80e4-7a28-3924-810f-c04153c831b5
2012-01-25 15:36:32 +00:00
efortuna@google.com d0d58b4e89 Modify status files to account for test outcome differences between 32 bit and
64 bit Safari.
Review URL: https://chromiumcodereview.appspot.com//9254009

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3408 260f80e4-7a28-3924-810f-c04153c831b5
2012-01-18 19:14:07 +00:00