ager@google.com
1aaa58f803
Make the repeating argument to timers optional.
...
R=sgjesse@google.com
BUG=
TEST=
Review URL: http://codereview.chromium.org//8992007
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@2577 260f80e4-7a28-3924-810f-c04153c831b5
2011-12-19 12:34:12 +00:00
ahe@google.com
258010fddb
Always use --leg_only option.
...
Review URL: http://codereview.chromium.org//8957008
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@2567 260f80e4-7a28-3924-810f-c04153c831b5
2011-12-19 10:07:32 +00:00
danrubel@google.com
9ca720176f
Rename and fix json frog library in SDK
...
Review URL: http://codereview.chromium.org//8972004
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@2558 260f80e4-7a28-3924-810f-c04153c831b5
2011-12-17 03:33:50 +00:00
efortuna@google.com
89fc7ef53e
Fix paths in build process so we can build dartc (and then frog) on Windows.
...
Review URL: http://codereview.chromium.org//8972011
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@2538 260f80e4-7a28-3924-810f-c04153c831b5
2011-12-16 19:36:40 +00:00
efortuna@google.com
ec53d1d253
Don't treat warnings as errors when compiling minfrog items.
...
TBR=sigmund,
Review URL: http://codereview.chromium.org//8972006
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@2495 260f80e4-7a28-3924-810f-c04153c831b5
2011-12-16 00:31:32 +00:00
efortuna@google.com
9a525e35c6
Final touches for running smoketests. On buildbot, run
...
python create_graph.py -v -b -l
Review URL: http://codereview.chromium.org//8890091
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@2491 260f80e4-7a28-3924-810f-c04153c831b5
2011-12-15 23:24:46 +00:00
mrrussell@google.com
a492215662
This is a fix to allow the upload to the test bucket when run on non-buildbot machine
...
Review URL: http://codereview.chromium.org//8914019
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@2479 260f80e4-7a28-3924-810f-c04153c831b5
2011-12-15 21:52:50 +00:00
alexeif@google.com
0a3383c963
Add operator keyword to vim syntax.
...
Review URL: http://codereview.chromium.org//8954011
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@2466 260f80e4-7a28-3924-810f-c04153c831b5
2011-12-15 13:51:44 +00:00
devoncarew@google.com
6684be82f9
Add frog/server/frog_server.dart and related files to the dart-sdk build.
...
Review URL: http://codereview.chromium.org//8911009
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@2442 260f80e4-7a28-3924-810f-c04153c831b5
2011-12-14 20:27:35 +00:00
whesse@google.com
cc9ae85f55
Fix read handler bug in tools/test.dart: Replace dataHandler with lineHandler if using readLine.
...
BUG=dart:802
TEST=language/Unary2Test
Review URL: http://codereview.chromium.org//8931027
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@2422 260f80e4-7a28-3924-810f-c04153c831b5
2011-12-14 11:24:13 +00:00
dgrove@google.com
317425483d
Build and upload SDK in both debug and release.
...
Make move from sdk tmp directory to sdk atomic.
Review URL: http://codereview.chromium.org//8932009
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@2404 260f80e4-7a28-3924-810f-c04153c831b5
2011-12-13 23:34:41 +00:00
dgrove@google.com
e0b00f65a3
Create the SDK in dart-sdk directory. The sdk zip file's contents
...
will be rooted at dart-sdk/ (rather than being root at bin/lib/... ,
as it is today).
Also, add a revision file to the SDK that contains the version number.
Review URL: http://codereview.chromium.org//8935008
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@2400 260f80e4-7a28-3924-810f-c04153c831b5
2011-12-13 22:47:56 +00:00
efortuna@google.com
011093a066
Add Safari to the list of browsers we test on a regular basis.
...
Review URL: http://codereview.chromium.org//8920009
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@2393 260f80e4-7a28-3924-810f-c04153c831b5
2011-12-13 18:56:41 +00:00
mrrussell@google.com
0f59b580f3
Per our email conversation I removed the print statement that told the user that gsutil could not be found and replace with a todo.
...
Review URL: http://codereview.chromium.org//8933004
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@2392 260f80e4-7a28-3924-810f-c04153c831b5
2011-12-13 18:52:45 +00:00
mrrussell@google.com
4adf860b73
Python Dict throws an exception if a key is not found. I needed to use the has_key function instead. TBR=danrubel
...
Review URL: http://codereview.chromium.org//8918030
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@2368 260f80e4-7a28-3924-810f-c04153c831b5
2011-12-13 01:28:28 +00:00
mrrussell@google.com
27c00758c9
Changed upload_sdk.py to look for an environment variable and deploy to a different bucket if a developer is running a local editor build.
...
This prevents local developer builds from ending up on dart-dump-render-tree.
Review URL: http://codereview.chromium.org//8923007
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@2366 260f80e4-7a28-3924-810f-c04153c831b5
2011-12-13 01:20:11 +00:00
efortuna@google.com
b9ea49523e
Added barebones framework to get appengine to host our data.
...
Review URL: http://codereview.chromium.org//8883033
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@2316 260f80e4-7a28-3924-810f-c04153c831b5
2011-12-09 16:57:11 +00:00
whesse@google.com
7f1edc16cb
Enable Dartium tests in tools/test.dart.
...
BUG=
TEST=tools/test.dart
Review URL: http://codereview.chromium.org//8889016
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@2312 260f80e4-7a28-3924-810f-c04153c831b5
2011-12-09 15:23:09 +00:00
sgjesse@google.com
8f1b82458f
Improve the event handling for string input stream
...
1. The string input stream now calls the data or line handler if there
is still data available after returning from the data or line
handler. These callbacks are scheduled on the event loop.
2. The reading of data is now throtteld so that calls to read or
readLine will not eagerly try to read from the wrapped input
stream. After each call to read the data handler is installed if
no more buffered data is available. Also when the data handler
is called the data handler on the wrapped input stream is
un-installed if no more data is required for the current data or
line handler.
One side effect of this change is that just reading from an input
stream obtained from a file is no longer possible. One will have to
set up a data handler callback of some kind before any calls to read
will return data. We can of cause change this to allow synchronous
usage of an input stream obtained from a file (maybe with an optional
argument to openInputStream).
Fixed a related throtteling issue with the chunked input stream.
R=ager@google.com
BUG=
TEST=
Review URL: http://codereview.chromium.org//8885032
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@2310 260f80e4-7a28-3924-810f-c04153c831b5
2011-12-09 14:08:47 +00:00
ager@google.com
a0d46e99f6
Cache the tests across configurations in the test scripts.
...
Only generate the generated tests once and run them for each
configuration.
R=whesse@google.com
BUG=
TEST=
Review URL: http://codereview.chromium.org//8872064
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@2308 260f80e4-7a28-3924-810f-c04153c831b5
2011-12-09 13:24:30 +00:00
ager@google.com
64ca753193
Split File into File and RandomAccessFile.
...
Update all users of the API.
R=sgjesse@google.com
BUG=
TEST=
Review URL: http://codereview.chromium.org//8883017
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@2272 260f80e4-7a28-3924-810f-c04153c831b5
2011-12-08 19:37:17 +00:00
efortuna@google.com
7578faca4b
Modification to the order that classes are printed out so that the prototype
...
class is always printed out before the inheriting class. Adjustments to make the
benchmarks run in IE9.
Review URL: http://codereview.chromium.org//8828008
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@2271 260f80e4-7a28-3924-810f-c04153c831b5
2011-12-08 19:27:12 +00:00
ager@google.com
01b6853960
Only use dartc batch processing for the dartc component.
...
Running frog tests would actually spin up java processes. :-\
R=whesse@google.com
BUG=
TEST=
Review URL: http://codereview.chromium.org//8873017
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@2247 260f80e4-7a28-3924-810f-c04153c831b5
2011-12-08 14:08:08 +00:00
ager@google.com
45a4f01a78
Fix progress indicator typo.
...
TBR
R=sgjesse@google.com
BUG=
TEST=
Review URL: http://codereview.chromium.org//8889010
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@2243 260f80e4-7a28-3924-810f-c04153c831b5
2011-12-08 12:22:15 +00:00
ager@google.com
ad170cc5e9
Get rid of the spinner in progress indicators.
...
R=whesse@google.com
BUG=
TEST=
Review URL: http://codereview.chromium.org//8873013
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@2239 260f80e4-7a28-3924-810f-c04153c831b5
2011-12-08 11:20:21 +00:00
dgrove@google.com
e984d80ba2
Use dart-dump-render-tree to hold SDK's for the moment.
...
TBR=sigmund
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@2196 260f80e4-7a28-3924-810f-c04153c831b5
2011-12-07 20:46:02 +00:00
ager@google.com
fd97081f49
Add --time option to dart test scripts.
...
This is useful for finding new tests that start taking a long time.
R=whesse@google.com
BUG=
TEST=
Review URL: http://codereview.chromium.org//8845001
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@2183 260f80e4-7a28-3924-810f-c04153c831b5
2011-12-07 16:33:16 +00:00
ager@google.com
54de7bd01c
Make test scripts work on Windows again.
...
R=whesse@google.com
BUG=
TEST=
Review URL: http://codereview.chromium.org//8832008
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@2177 260f80e4-7a28-3924-810f-c04153c831b5
2011-12-07 14:41:27 +00:00
ager@google.com
0854b17c4b
Add suite name to display name. This makes it easier to find failing tests.
...
Without the suite name it is hard to figure out how to run the failing test
again because you don't know which suite to run.
R=whesse@google.com
BUG=
TEST=
Review URL: http://codereview.chromium.org//8833017
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@2176 260f80e4-7a28-3924-810f-c04153c831b5
2011-12-07 13:44:02 +00:00
ager@google.com
efc76278db
Support --special-command test option. As a special case support --valgrind option.
...
R=whesse@google.com
BUG=
TEST=
Review URL: http://codereview.chromium.org//8835010
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@2174 260f80e4-7a28-3924-810f-c04153c831b5
2011-12-07 13:23:57 +00:00
ager@google.com
5023793165
Correctly handle the --arch argument to dart test scripts.
...
Support a --verbose/-v flag that prints all commands run.
R=whesse@google.com
BUG=
TEST=
Review URL: http://codereview.chromium.org//8835008
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@2169 260f80e4-7a28-3924-810f-c04153c831b5
2011-12-07 12:48:09 +00:00
dgrove@google.com
6bdf9443fc
Create lib/core/core_compiler.dart and lib/coreimpl/coreimpl_compiler.dart .
...
Review URL: http://codereview.chromium.org//8839002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@2162 260f80e4-7a28-3924-810f-c04153c831b5
2011-12-07 05:55:49 +00:00
dgrove@google.com
a7b867c302
Add frogc shell script for SDK. ≈
...
Review URL: http://codereview.chromium.org//8825011
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@2155 260f80e4-7a28-3924-810f-c04153c831b5
2011-12-07 00:12:26 +00:00
vsm@google.com
b08be1f8e6
Enable test invoker to provide path to frog for frogium test.
...
Review URL: http://codereview.chromium.org//8824013
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@2154 260f80e4-7a28-3924-810f-c04153c831b5
2011-12-06 23:43:45 +00:00
vsm@google.com
d6ffcb539d
Enable test script to specify different DRT binary
...
Review URL: http://codereview.chromium.org//8817025
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@2144 260f80e4-7a28-3924-810f-c04153c831b5
2011-12-06 21:39:34 +00:00
sigmund@google.com
fec44ca6f4
bot: delay cleanup of temp test files in case we need to retry.
...
Review URL: http://codereview.chromium.org//8827006
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@2139 260f80e4-7a28-3924-810f-c04153c831b5
2011-12-06 20:33:13 +00:00
dgrove@google.com
9d53adf599
Create the SDK in a temporary directory and copy it as a final step.
...
Review URL: http://codereview.chromium.org//8819030
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@2137 260f80e4-7a28-3924-810f-c04153c831b5
2011-12-06 19:38:54 +00:00
sigmund@google.com
8a5ebd6af5
make test.py more reselient to flakyness in xvfb-run + DumpRenderTree
...
Review URL: http://codereview.chromium.org//8818021
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@2136 260f80e4-7a28-3924-810f-c04153c831b5
2011-12-06 18:43:39 +00:00
zundel@google.com
b6fa88ca14
The last change to create_sdk.py failed if the 'sdk' dir already existed
...
BUG=
TEST=
Review URL: http://codereview.chromium.org//8820017
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@2125 260f80e4-7a28-3924-810f-c04153c831b5
2011-12-06 15:03:02 +00:00
zundel@google.com
1417eedeb7
Gets past broken build for --mode debug
...
Review URL: http://codereview.chromium.org//8815011
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@2122 260f80e4-7a28-3924-810f-c04153c831b5
2011-12-06 14:43:03 +00:00
ager@google.com
9c4bb86594
Support actual stub generation in the dart test scripts.
...
R=whesse@google.com
BUG=
TEST=
Review URL: http://codereview.chromium.org//8817017
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@2120 260f80e4-7a28-3924-810f-c04153c831b5
2011-12-06 13:39:43 +00:00
ager@google.com
f7b6b6eaba
Add more test configurations. Everything seems covered for frog again now.
...
R=sgjesse@google.com
BUG=
TEST=
Review URL: http://codereview.chromium.org//8821009
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@2118 260f80e4-7a28-3924-810f-c04153c831b5
2011-12-06 10:46:13 +00:00
dgrove@google.com
4962f8aacc
set ACL of SDK public-read
...
Review URL: http://codereview.chromium.org//8821001
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@2113 260f80e4-7a28-3924-810f-c04153c831b5
2011-12-06 02:18:05 +00:00
dgrove@google.com
8dfd473996
Set ACL on SDK.
...
Review URL: http://codereview.chromium.org//8819002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@2112 260f80e4-7a28-3924-810f-c04153c831b5
2011-12-06 02:01:03 +00:00
dgrove@google.com
490e11a2c2
Upload SDK builds to gs://dartium-archive . This step will only
...
happen on buildbots.
Review URL: http://codereview.chromium.org//8803027
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@2106 260f80e4-7a28-3924-810f-c04153c831b5
2011-12-06 00:41:37 +00:00
efortuna@google.com
d9e4e72576
Small adjustment to run smoketests on buildbots.
...
Review URL: http://codereview.chromium.org//8805015
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@2096 260f80e4-7a28-3924-810f-c04153c831b5
2011-12-05 22:09:50 +00:00
dgrove@google.com
7bde487aac
Add runtime's dart:builtin to SDK.
...
Review URL: http://codereview.chromium.org//8805012
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@2081 260f80e4-7a28-3924-810f-c04153c831b5
2011-12-05 18:28:35 +00:00
ager@google.com
2713ef1ca0
Make tools/test-runtime.dart executable.
...
R=sgjesse@google.com
BUG=
TEST=
Review URL: http://codereview.chromium.org//8803014
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@2073 260f80e4-7a28-3924-810f-c04153c831b5
2011-12-05 15:00:16 +00:00
ager@google.com
456d63c6ab
Add support for client/dartc compilation only tests.
...
These tests do not fit in that nicely. They have an interesting
way of finding out what are test cases. They use the .dart
suffix in the status file.
Implement directory createTempSync.
R=whesse@google.com
BUG=
TEST=
Review URL: http://codereview.chromium.org//8799009
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@2067 260f80e4-7a28-3924-810f-c04153c831b5
2011-12-05 13:34:12 +00:00
ager@google.com
17d97944a1
Do not show percentages when we don't know what they are in test progress indication.
...
Print the --report output as soon as we can.
R=whesse@google.com
BUG=
TEST=
Review URL: http://codereview.chromium.org//8776049
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@2064 260f80e4-7a28-3924-810f-c04153c831b5
2011-12-05 08:04:57 +00:00