sigmund@google.com
7beec61faa
fix isolate.status: oops, all browsers, not just drt
...
TBR=efortuna@google.com
BUG=
TEST=
Review URL: https://chromiumcodereview.appspot.com//10693033
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@9221 260f80e4-7a28-3924-810f-c04153c831b5
2012-06-28 20:53:16 +00:00
sigmund@google.com
5548949d3d
update isolate.status: triagge what works and what doesn't work in dart2js
...
Review URL: https://chromiumcodereview.appspot.com//10694023
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@9219 260f80e4-7a28-3924-810f-c04153c831b5
2012-06-28 20:48:25 +00:00
floitsch@google.com
71f123f9e9
Update status file.
...
Review URL: https://chromiumcodereview.appspot.com//10533105
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@8546 260f80e4-7a28-3924-810f-c04153c831b5
2012-06-12 12:49:42 +00:00
floitsch@google.com
af0fbc6d5f
Give static functions that have a getter a name.
...
This is necessary so we can use them in spawnFunction.
Fixes issue 3244.
Review URL: https://chromiumcodereview.appspot.com//10539104
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@8540 260f80e4-7a28-3924-810f-c04153c831b5
2012-06-12 11:49:12 +00:00
kasperl@google.com
78326ef863
Update status (more passing tests on IE).
...
TBR'ed.
R=ngeoffray@google.com
BUG=
TEST=
Review URL: https://chromiumcodereview.appspot.com//10538078
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@8485 260f80e4-7a28-3924-810f-c04153c831b5
2012-06-11 10:02:12 +00:00
kasperl@google.com
b21cfb024e
Unskip the last tests covered by http://dartbug/3304 .
...
TBR'ed.
R=ngeoffray@google.com
BUG=
TEST=
Review URL: https://chromiumcodereview.appspot.com//10532083
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@8484 260f80e4-7a28-3924-810f-c04153c831b5
2012-06-11 08:49:10 +00:00
kasperl@google.com
9b510ecbf8
Adjust status files after r8332.
...
R=floitsch@google.com
BUG=
TEST=
Review URL: https://chromiumcodereview.appspot.com//10537027
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@8334 260f80e4-7a28-3924-810f-c04153c831b5
2012-06-06 14:05:54 +00:00
kasperl@google.com
2bae781a21
Fix IE status files.
...
R=ngeoffray@google.com
BUG=
TEST=
Review URL: https://chromiumcodereview.appspot.com//10442083
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@8105 260f80e4-7a28-3924-810f-c04153c831b5
2012-05-30 14:24:48 +00:00
kasperl@google.com
d9d1eb2a75
Update status files to make IE build bots green.
...
R=ngeoffray@google.com
BUG=
TEST=
Review URL: https://chromiumcodereview.appspot.com//10453074
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@8086 260f80e4-7a28-3924-810f-c04153c831b5
2012-05-30 07:30:26 +00:00
ngeoffray@google.com
e2c7c6eaee
Update status files for dart2js/mac/safari.
...
Review URL: https://chromiumcodereview.appspot.com//10442081
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@8085 260f80e4-7a28-3924-810f-c04153c831b5
2012-05-30 07:26:01 +00:00
kasperl@google.com
5d23a99d71
Skip tests that time out on IE.
...
R=ngeoffray@google.com
BUG=http://dartbug.com/3304
TEST=
Review URL: https://chromiumcodereview.appspot.com//10444084
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@8084 260f80e4-7a28-3924-810f-c04153c831b5
2012-05-30 05:59:16 +00:00
turnidge@google.com
a339f45296
Add a regression test for bug 2235.
...
Review URL: https://chromiumcodereview.appspot.com//10443067
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@8081 260f80e4-7a28-3924-810f-c04153c831b5
2012-05-29 21:36:42 +00:00
ngeoffray@google.com
2cb4416340
Use the typedef arity to know how to invoke a closure given by the dom.
...
Review URL: https://chromiumcodereview.appspot.com//10441071
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@8067 260f80e4-7a28-3924-810f-c04153c831b5
2012-05-29 15:53:54 +00:00
ngeoffray@google.com
5ca4106a51
Skip dart2js/firefox until we fix issue 2615.
...
Review URL: https://chromiumcodereview.appspot.com//10449049
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@8045 260f80e4-7a28-3924-810f-c04153c831b5
2012-05-29 09:41:29 +00:00
ngeoffray@google.com
50debf9fe0
It's system: macos, not system: mac
...
Review URL: https://chromiumcodereview.appspot.com//10458010
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@8039 260f80e4-7a28-3924-810f-c04153c831b5
2012-05-29 09:08:12 +00:00
ngeoffray@google.com
3542e0bc07
Status file update to have dart2js/chrome/mac green.
...
Review URL: https://chromiumcodereview.appspot.com//10459006
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@8037 260f80e4-7a28-3924-810f-c04153c831b5
2012-05-29 08:55:40 +00:00
turnidge@google.com
ee4309c783
Skip some vm tests on other systems. They were timing out instead of
...
failing, which was making the buildbot sad.
Review URL: https://chromiumcodereview.appspot.com//10424005
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@7920 260f80e4-7a28-3924-810f-c04153c831b5
2012-05-23 19:17:39 +00:00
turnidge@google.com
05b5d44b0e
spawnUri. Take two. This time I'll wait for Anton before committing :-).
...
See original change 7756 for description.
Review URL: https://chromiumcodereview.appspot.com//10407042
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@7917 260f80e4-7a28-3924-810f-c04153c831b5
2012-05-23 18:32:51 +00:00
turnidge@google.com
76d4586dea
Revert my last change.
...
Review URL: https://chromiumcodereview.appspot.com//10332257
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@7757 260f80e4-7a28-3924-810f-c04153c831b5
2012-05-18 18:35:04 +00:00
turnidge@google.com
6a8c82db83
Implement spawnUri from dart:isolate. This function allows us to
...
launch an isolate running a different script. Finally.
Reviewers: This isn't as hard to review as it looks. Dive right in!
Siggi: Take a look at my test status file changes and make sure I'm
excluding the right stuff.
Much of the churn in the CL comes from moving ownership of the
import_map. It used to be set per-library and is now set per-isolate.
This caused a lot of superficial diffs.
DART EMBEDDING API CHANGES:
- Dart_IsolateCreateCallback now takes a script_uri and main argument
instead of a name_prefix argument. The script_uri argument allows
the callback to launch different scripts. The main argument is used
in creating the isolate debug name.
- Dart_CreateIsolate now takes script_uri and main arguments. These
are used to build the isolate's debug name.
- Dart_LibraryTagHandler, Dart_LoadScript, and Dart_LoadLibrary no
longer take an import_map.
- Added Dart_SetImportMap.
- Added Dart_RootLibrary to provide access to the root library for the
current isolate.
OTHER STUFF
Add a couple of tests for spawnUri -- the existing tests assume that
scripts end in a .js suffix which isn't going to work out for us.
Changed how the debug name for isolates get built a bit.
Refactored bin/main.cc a bit. Fixed some problems with error handling
while creating isolates.
Minor refactoring in builtin.dart to always pass is_windows rather
than relying on it being squirreled away.
Review URL: https://chromiumcodereview.appspot.com//10386107
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@7756 260f80e4-7a28-3924-810f-c04153c831b5
2012-05-18 18:22:10 +00:00
sigmund@google.com
d6c2cca796
test rename overhaul: step 6 - isolate tests
...
Review URL: https://chromiumcodereview.appspot.com//10247004
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@7088 260f80e4-7a28-3924-810f-c04153c831b5
2012-04-27 17:06:51 +00:00
sigmund@google.com
cb8056e881
(second try) unittest steps 3, 4: removes TestFramework.dart
...
Review URL: https://chromiumcodereview.appspot.com//10222013
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@6980 260f80e4-7a28-3924-810f-c04153c831b5
2012-04-25 22:31:04 +00:00
sigmund@google.com
a7e7679286
Revert "unittest step 3 and 4: remove TestFramework.dart, make test.dart use"
...
Review URL: https://chromiumcodereview.appspot.com//10226008
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@6968 260f80e4-7a28-3924-810f-c04153c831b5
2012-04-25 19:42:26 +00:00
sigmund@google.com
edac4ecb27
unittest step 3 and 4: remove TestFramework.dart, make test.dart use
...
unittest.dart, so tests written with it will work both in the vm and browsers.
This involved a few changes:
- removing uses of TestFramework, use unittest instead (in test.dart and some
isolate tests)
- making test.dart use unittest and html_config to wrap standalone tests as
browser tests. This is done for tests written with or without unittest
- unittest: trap errors at the top-level, so we can detect errors during setup,
but also to detect normal failures in tests that are wrapped by test.dart.
Review URL: https://chromiumcodereview.appspot.com//10153005
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@6963 260f80e4-7a28-3924-810f-c04153c831b5
2012-04-25 18:37:23 +00:00
ahe@google.com
9eac6a5748
Remove frogsh.
...
Review URL: https://chromiumcodereview.appspot.com//10164004
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@6840 260f80e4-7a28-3924-810f-c04153c831b5
2012-04-23 13:26:06 +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
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
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
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
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
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
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
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