ahe@google.com
857a7108d9
Improve annotated steps output:
...
* Make sure a step is started before anything is printed (this removes the "preamble" section).
* Create a "failures" step before printing the failures again. This makes it easier to find the failures (especially, from a mobile browser).
Review URL: https://chromiumcodereview.appspot.com//10443057
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@8054 260f80e4-7a28-3924-810f-c04153c831b5
2012-05-29 13:01:22 +00:00
whesse@google.com
7cbe0da91d
Revert "Add some temporary code to work around an error in test scripts, to fix buildbots."
...
This reverts commit 40369a8c5e5b32bdcbbbda2c5779ea83369e7d39.
BUG=dart:3286
TEST=
Review URL: https://chromiumcodereview.appspot.com//10448048
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@8053 260f80e4-7a28-3924-810f-c04153c831b5
2012-05-29 12:41:58 +00:00
whesse@google.com
4e32a2e22a
Add some temporary code to work around an error in test scripts, to fix buildbots.
...
BUG=
TEST=
Review URL: https://chromiumcodereview.appspot.com//10458009
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@8043 260f80e4-7a28-3924-810f-c04153c831b5
2012-05-29 09:27:23 +00:00
ahe@google.com
ec723484c6
Handle native paths in test wrappers.
...
Review URL: https://chromiumcodereview.appspot.com//10447060
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@8041 260f80e4-7a28-3924-810f-c04153c831b5
2012-05-29 09:15:28 +00:00
ngeoffray@google.com
3c29a44d83
Add a browser configuration to avoid repeating (runtime == 'ff' || runtime == 'ie' || ...).
...
Review URL: https://chromiumcodereview.appspot.com//10451062
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@8035 260f80e4-7a28-3924-810f-c04153c831b5
2012-05-29 07:39:36 +00:00
efortuna@google.com
c2c8e28e2d
Fix typo in webdriver test setup script.
...
Review URL: https://chromiumcodereview.appspot.com//10443036
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@8023 260f80e4-7a28-3924-810f-c04153c831b5
2012-05-26 01:27:38 +00:00
podivilov@google.com
f698b3dd5d
Copy nativewrappers to dart-sdk directory.
...
TBR=zundel@google.com
Review URL: https://chromiumcodereview.appspot.com//10444027
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@8001 260f80e4-7a28-3924-810f-c04153c831b5
2012-05-25 14:56:26 +00:00
vsm@google.com
cb9abc9a4f
Suppress dart:dom version of Dromaeo for Dartium
...
Review URL: https://chromiumcodereview.appspot.com//10441011
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@7950 260f80e4-7a28-3924-810f-c04153c831b5
2012-05-24 15:41:37 +00:00
whesse@google.com
ce3d64c8b7
Unite processing of all simple commands in command-line debugger.
...
BUG=
TEST=
Review URL: https://chromiumcodereview.appspot.com//10414074
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@7910 260f80e4-7a28-3924-810f-c04153c831b5
2012-05-23 16:06:20 +00:00
whesse@google.com
820b8e5672
Fix bug in refactoring of string concatenations in test code.
...
BUG=
TEST=test.py --compiler=dartc --runtime=none dartc/junit
Review URL: https://chromiumcodereview.appspot.com//10407118
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@7898 260f80e4-7a28-3924-810f-c04153c831b5
2012-05-23 09:15:46 +00:00
whesse@google.com
a4e88c8b3e
Remove string concatenation with + from all Dart files in tools directory.
...
Fix whitespace errors and rename shadowed variable in ddbg.dart.
BUG=
TEST=
Review URL: https://chromiumcodereview.appspot.com//10387232
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@7897 260f80e4-7a28-3924-810f-c04153c831b5
2012-05-23 08:51:38 +00:00
vsm@google.com
6de0884cb0
Run dart2js compiled Dromaeo on Chrome
...
Review URL: https://chromiumcodereview.appspot.com//10408075
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@7883 260f80e4-7a28-3924-810f-c04153c831b5
2012-05-22 23:05:16 +00:00
vsm@google.com
120b4c94e0
Generate dart2js versions of Dromaeo
...
Note, this only generates dart2js versions and enables running them in the browser. Before enabling dart2js in the perf script, I need to debug it. The dart2js tests currently hang.
Review URL: https://chromiumcodereview.appspot.com//10407099
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@7875 260f80e4-7a28-3924-810f-c04153c831b5
2012-05-22 20:13:59 +00:00
hausner@google.com
b00ae2d1a0
Introduce remote objects in Debugger protocol
...
Review URL: https://chromiumcodereview.appspot.com//10407071
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@7864 260f80e4-7a28-3924-810f-c04153c831b5
2012-05-22 18:06:34 +00:00
efortuna@google.com
2b98dbf338
Deal with different chromedrivers running on for Chrome and Dartium.
...
Review URL: https://chromiumcodereview.appspot.com//10417025
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@7861 260f80e4-7a28-3924-810f-c04153c831b5
2012-05-22 17:07:53 +00:00
whesse@google.com
a7ccbaf9ba
Remove string concatenation using + from test_suite.dart. Simplify output directory recursive directory creation, removing a TODO.
...
BUG=
TEST=
Review URL: https://chromiumcodereview.appspot.com//10387214
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@7845 260f80e4-7a28-3924-810f-c04153c831b5
2012-05-22 11:15:08 +00:00
whesse@google.com
dbd1d5b33d
Remove system-provided temporary directory usage from test scripts.
...
BUG=
TEST=
Review URL: https://chromiumcodereview.appspot.com//10398056
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@7783 260f80e4-7a28-3924-810f-c04153c831b5
2012-05-21 08:00:47 +00:00
efortuna@google.com
c88a79b13c
Add unittest to SDK.
...
Review URL: https://chromiumcodereview.appspot.com//10388204
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@7777 260f80e4-7a28-3924-810f-c04153c831b5
2012-05-18 23:16:16 +00:00
hausner@google.com
048b8bde32
More String + elimination in tests
...
Worst offender was standalone test suite
Review URL: https://chromiumcodereview.appspot.com//10414002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@7762 260f80e4-7a28-3924-810f-c04153c831b5
2012-05-18 21:03:59 +00:00
sigmund@google.com
a19e8bb1fe
test.dart: include _dart2js.status when creating test suites with 'forDirectory'
...
this will allow dart2js to split their status files to reduce their conflicts.
Review URL: https://chromiumcodereview.appspot.com//10399021
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@7663 260f80e4-7a28-3924-810f-c04153c831b5
2012-05-15 17:11:40 +00:00
hausner@google.com
de86bd5ed8
Debugger wire protocol: setting breakpoints
...
- Adding commands to set breakpoints and showing current stack trace.
- Adding a callback hook to signal when a breakpoint gets resolved to
and actual line number.
- Adding ids for breakpoints and new breakpoint API functions, deprecating
the existing ones.
- Adding one helper function to the JSON class
Anton may want to take a look at the JSON addition.
Review URL: https://chromiumcodereview.appspot.com//10383164
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@7628 260f80e4-7a28-3924-810f-c04153c831b5
2012-05-14 21:10:25 +00:00
whesse@google.com
b46a7bc2f7
Report total time for multiphase tests, in test script's --test option, not time of last phase.
...
BUG=
TEST=test.py --time
Review URL: https://chromiumcodereview.appspot.com//10392078
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@7607 260f80e4-7a28-3924-810f-c04153c831b5
2012-05-14 13:03:34 +00:00
ager@google.com
b6e35655cf
Make the crypto library an official dart:crypto library.
...
The library now works on dart2js and on the VM.
Add the library to the API docs and to the sdk.
R=iposva@google.com ,dgrove@google.com ,kasperl@google.com
BUG=
TEST=
Review URL: https://chromiumcodereview.appspot.com//10332109
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@7604 260f80e4-7a28-3924-810f-c04153c831b5
2012-05-14 11:20:56 +00:00
ager@google.com
0a181379c7
Fix dartc part of test scripts.
...
R=sgjesse@google.com
BUG=
TEST=
Review URL: https://chromiumcodereview.appspot.com//10356125
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@7531 260f80e4-7a28-3924-810f-c04153c831b5
2012-05-11 06:19:28 +00:00
ager@google.com
5fb75d3952
Change dart:io to use Future for one-shot operations.
...
This appears to be what a lot of our users are doing and it is the
style used in our other libraries.
Noteworthy changes:
- File and Directory objects are now immutable.
- Directory.list returns an active lister object.
- Write operations on files return futures and the
onNoPendingWrites handler is gone. The same
functionality is there by using 'then' on the
future returned from the last write operation.
- Process starting is now done with static methods:
-- Process.start yields an InteractiveProcess.
-- Process.run yields a Future<ProcessResult>
BUG=
TEST=
Review URL: https://chromiumcodereview.appspot.com//10392023
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@7529 260f80e4-7a28-3924-810f-c04153c831b5
2012-05-11 06:09:42 +00:00
hausner@google.com
e5d8d80479
Support more debugger commands in the wire protocol
...
Also add a very simple debugger shell which at this point
is meant to be a debugging help for the debugger code rather
than a user-friendly tool.
Review URL: https://chromiumcodereview.appspot.com//10392017
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@7518 260f80e4-7a28-3924-810f-c04153c831b5
2012-05-10 22:04:50 +00:00
efortuna@google.com
f46f19e0ff
Fix dealing with incomplete files as the first set of files encountered.
...
Review URL: https://chromiumcodereview.appspot.com//10391037
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@7477 260f80e4-7a28-3924-810f-c04153c831b5
2012-05-09 23:21:52 +00:00
efortuna@google.com
4a5c42ebb1
Add a revert script.
...
Review URL: https://chromiumcodereview.appspot.com//10388020
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@7434 260f80e4-7a28-3924-810f-c04153c831b5
2012-05-08 23:56:47 +00:00
efortuna@google.com
c8f1b44423
Store files locally in a different location after they've been posted.
...
Review URL: https://chromiumcodereview.appspot.com//10383053
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@7424 260f80e4-7a28-3924-810f-c04153c831b5
2012-05-08 16:53:39 +00:00
mattsh@google.com
3ee233c155
updated legpad with new DART2JS_LIBRARY_MAP
...
BUG=
TEST=
Review URL: https://chromiumcodereview.appspot.com//10391007
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@7417 260f80e4-7a28-3924-810f-c04153c831b5
2012-05-08 15:06:05 +00:00
ngeoffray@google.com
4e3f5102f9
Start implementing checked mode and tools support for using it.
...
Review URL: https://chromiumcodereview.appspot.com//10353014
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@7375 260f80e4-7a28-3924-810f-c04153c831b5
2012-05-07 13:18:21 +00:00
rnystrom@google.com
7b9089417a
Add pub (and by extension YAML) to the SDK.
...
Review URL: https://chromiumcodereview.appspot.com//10171019
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@7301 260f80e4-7a28-3924-810f-c04153c831b5
2012-05-03 20:56:07 +00:00
efortuna@google.com
dd900032c4
Make change to actually upload to app engine.
...
Review URL: https://chromiumcodereview.appspot.com//10360004
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@7296 260f80e4-7a28-3924-810f-c04153c831b5
2012-05-03 18:23:06 +00:00
ager@google.com
e6b2635059
Change Platform members to getters instead of methods.
...
R=sgjesse@google.com
BUG=dartbug.com/1668
TEST=
Review URL: https://chromiumcodereview.appspot.com//10351011
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@7282 260f80e4-7a28-3924-810f-c04153c831b5
2012-05-03 13:16:33 +00:00
sigmund@google.com
638238152a
lingering step 2 of the test rename overhaul: make await tests also a directory
...
test rule
Review URL: https://chromiumcodereview.appspot.com//10304018
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@7263 260f80e4-7a28-3924-810f-c04153c831b5
2012-05-02 23:21:29 +00:00
sigmund@google.com
8369d0ad46
reenable some dartc tests that have been disabled accidentally. Move
...
client/dartc/ to samples/dartc/.
Review URL: https://chromiumcodereview.appspot.com//10343008
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@7262 260f80e4-7a28-3924-810f-c04153c831b5
2012-05-02 22:55:51 +00:00
efortuna@google.com
ea407c8a0f
Add uploading to appengine code back in.
...
Review URL: https://chromiumcodereview.appspot.com//10340006
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@7259 260f80e4-7a28-3924-810f-c04153c831b5
2012-05-02 22:31:13 +00:00
sigmund@google.com
e14efee078
fix vm test configuration to specify vm/cc
...
Review URL: https://chromiumcodereview.appspot.com//10335002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@7254 260f80e4-7a28-3924-810f-c04153c831b5
2012-05-02 20:35:01 +00:00
sigmund@google.com
5b8ad6bfab
test rename overhaul: step 14 - vm tests
...
Review URL: https://chromiumcodereview.appspot.com//10271014
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@7245 260f80e4-7a28-3924-810f-c04153c831b5
2012-05-02 16:46:16 +00:00
ahe@google.com
e98525d2ba
dart2js_developer is not in the SDK.
...
Review URL: https://chromiumcodereview.appspot.com//10304008
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@7232 260f80e4-7a28-3924-810f-c04153c831b5
2012-05-02 12:13:28 +00:00
ahe@google.com
c4c5443e6b
Shoehorn dart2js into the SDK.
...
Review URL: https://chromiumcodereview.appspot.com//10266011
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@7230 260f80e4-7a28-3924-810f-c04153c831b5
2012-05-02 11:48:06 +00:00
ahe@google.com
2b5fd1ca69
Share a tool for listing dependencies thus fixing a dependency problem on Windows.
...
Review URL: https://chromiumcodereview.appspot.com//10308006
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@7227 260f80e4-7a28-3924-810f-c04153c831b5
2012-05-02 11:30:28 +00:00
vsm@google.com
bf779d8e33
Suppress get_drt/dartium download if an executable is provided via flag
...
Note, the Dartium win bot was hanging (I believe timing out) at this
point running the webdriver test even though it was providing its own
binary. I had commented out the webdriver test - this CL should
enable it to work again.
Review URL: https://chromiumcodereview.appspot.com//10264005
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@7194 260f80e4-7a28-3924-810f-c04153c831b5
2012-05-01 16:34:51 +00:00
ager@google.com
bf1687f227
Update SDK with VM native extension development files.
...
- dart_api.h
- import library on Windows
- dart_debugger_api.h
The debugger api is not necessarily needed at this point but I see no
reason to leave it out.
Dan, do I need to do something more than this to make sure that the
import library that is only built on Windows ends up in the final
SDK that we ship?
R=dgrove@google.com ,whesse@google.com ,iposva@google.com
Review URL: https://chromiumcodereview.appspot.com//10269025
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@7182 260f80e4-7a28-3924-810f-c04153c831b5
2012-05-01 09:14:43 +00:00
efortuna@google.com
94c7096faf
Skip crashing test on Chrome in Windows.
...
Review URL: https://chromiumcodereview.appspot.com//10267016
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@7171 260f80e4-7a28-3924-810f-c04153c831b5
2012-04-30 23:08:05 +00:00
efortuna@google.com
6c8c8ff71d
Change "VM" for DromaeoSize.
...
Review URL: https://chromiumcodereview.appspot.com//10270026
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@7170 260f80e4-7a28-3924-810f-c04153c831b5
2012-04-30 22:01:58 +00:00
sigmund@google.com
f8db005eb2
test rename overhaul: step 12 - standalone
...
Review URL: https://chromiumcodereview.appspot.com//10252020
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@7165 260f80e4-7a28-3924-810f-c04153c831b5
2012-04-30 17:34:19 +00:00
sigmund@google.com
13ec089739
test rename overhaul: step 13 - samples
...
Review URL: https://chromiumcodereview.appspot.com//10253022
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@7164 260f80e4-7a28-3924-810f-c04153c831b5
2012-04-30 17:27:08 +00:00
ahe@google.com
e38d098845
Fix dependencies for create and upload SDK.
...
Review URL: https://chromiumcodereview.appspot.com//10273005
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@7152 260f80e4-7a28-3924-810f-c04153c831b5
2012-04-30 12:42:10 +00:00
ager@google.com
a51e9e3591
Implement HMAC support in lib/crypto.
...
R=sgjesse@google.com ,benl@google.com
BUG=
TEST=
Review URL: https://chromiumcodereview.appspot.com//10170027
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@7145 260f80e4-7a28-3924-810f-c04153c831b5
2012-04-30 09:54:59 +00:00