whesse@google.com
d74fb28fd0
Fix test.dart problem when matching client status files when run from a subdirectory.
...
BUG=dart:1040
TEST=cd frog; ../tools/test.dart -cfrogium client; ../tools/build.py; ../tools/test.dart -cfrogium client
Review URL: http://codereview.chromium.org//9111010
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@2990 260f80e4-7a28-3924-810f-c04153c831b5
2012-01-05 11:19:51 +00:00
whesse@google.com
15a3f0852a
Clean up test.dart by merging dartium and chromium test case generation.
...
BUG=
TEST=tools/test.dart -cchromium,dartium,frogium
Review URL: http://codereview.chromium.org//9087011
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@2983 260f80e4-7a28-3924-810f-c04153c831b5
2012-01-05 09:26:51 +00:00
ager@google.com
708ce692b2
Allow using '--option value' as well as '--option=value' in dart test script.
...
R=whesse@google.com
BUG=
TEST=
Review URL: http://codereview.chromium.org//9091006
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@2945 260f80e4-7a28-3924-810f-c04153c831b5
2012-01-04 14:51:05 +00:00
ager@google.com
d5696e2026
Change the behavior of open on files to not truncate by default
...
when opening for writing.
We have an explicit truncate method in the API and truncating
the file is a bit hostile to users who want to modify or append
to an existing file. :-)
R=whesse@google.com
BUG=
TEST=
Review URL: http://codereview.chromium.org//9034005
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@2941 260f80e4-7a28-3924-810f-c04153c831b5
2012-01-04 12:23:01 +00:00
whesse@google.com
bb7ec07431
Add client/tests/client web tests to the test.dart test script.
...
BUG=
TEST=tools/test.dart --component=dartium,chromium,frogium client
Review URL: http://codereview.chromium.org//9036009
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@2939 260f80e4-7a28-3924-810f-c04153c831b5
2012-01-04 11:55:08 +00:00
efortuna@google.com
33c8a3ada3
Changing display of perf graphs to make them more readable.
...
Review URL: http://codereview.chromium.org//9071015
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@2927 260f80e4-7a28-3924-810f-c04153c831b5
2012-01-03 23:42:24 +00:00
efortuna@google.com
b7cb80a026
Added readme about performance testing for browser perf setup.
...
Review URL: http://codereview.chromium.org//8815018
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@2919 260f80e4-7a28-3924-810f-c04153c831b5
2012-01-03 19:02:32 +00:00
efortuna@google.com
0da8b0a4fa
Fixing upload_sdk for windows.
...
Note CL http://codereview.chromium.org/9022043/ goes with this.
Review URL: http://codereview.chromium.org//9053006
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@2918 260f80e4-7a28-3924-810f-c04153c831b5
2012-01-03 18:36:05 +00:00
whesse@google.com
8a7e905d70
Fix tools/test.dart dartc/junit_tests callback type error.
...
BUG=dart:1025
TEST=tools/test.dart --component=dartc dartc/junit_tests
Review URL: http://codereview.chromium.org//9072006
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@2917 260f80e4-7a28-3924-810f-c04153c831b5
2012-01-03 17:55:37 +00:00
whesse@google.com
f245169804
Add --list option to tools/test.dart.
...
BUG=
TEST=tools/test.dart --list
Review URL: http://codereview.chromium.org//9053009
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@2897 260f80e4-7a28-3924-810f-c04153c831b5
2012-01-02 13:20:51 +00:00
sgjesse@google.com
8055ffeb77
Add close to input stream and cleanup socket and streams
...
* All input streams now have a close method for just cutting
the stream
* Removed interfaces FileInputStream and FileOutputStream
* Added exceptions to socket to avoid mixing stream and non-stream
use of the same socket
* Added special handling of the socket connect handler callback
R=ager@google.com
BUG=
TEST=
Review URL: http://codereview.chromium.org//9029001
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@2893 260f80e4-7a28-3924-810f-c04153c831b5
2012-01-02 13:00:59 +00:00
whesse@google.com
ff7c583340
Use blocking file access in tools/test.dart for multitest creation.
...
Speeds up test.dart by a factor of 2, and test.dart --list by a factor of 6.
Test.dart is now only 15% slower than test.py.
BUG=
TEST=tools/test.dart
Review URL: http://codereview.chromium.org//9003017
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@2889 260f80e4-7a28-3924-810f-c04153c831b5
2012-01-02 11:47:22 +00:00
whesse@google.com
a3a4b50337
Add dartc junit tests to test.dart.
...
BUG=
TEST=tools/test.dart --component=dartc dartc/junit_tests
Review URL: http://codereview.chromium.org//9015005
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@2885 260f80e4-7a28-3924-810f-c04153c831b5
2011-12-30 13:16:07 +00:00
efortuna@google.com
9dd32c3ca2
Adding report tag for language tests.
...
TBR=sigmund@google.com
Review URL: http://codereview.chromium.org//9026021
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@2794 260f80e4-7a28-3924-810f-c04153c831b5
2011-12-23 00:04:44 +00:00
sigmund@google.com
396f798124
frog isolate fixes: minor changes to the isolate library + architecture.py
...
Review URL: http://codereview.chromium.org//8999030
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@2792 260f80e4-7a28-3924-810f-c04153c831b5
2011-12-22 22:19:12 +00:00
efortuna@google.com
895325df1a
Fixing capitalization with style guide as per jmesserly's comments.
...
TBR=jmesserly@google.com
Review URL: http://codereview.chromium.org//9024022
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@2787 260f80e4-7a28-3924-810f-c04153c831b5
2011-12-22 21:26:45 +00:00
efortuna@google.com
7a327e1c25
Changes to testing script so we can run on Windows.
...
Review URL: http://codereview.chromium.org//9025024
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@2785 260f80e4-7a28-3924-810f-c04153c831b5
2011-12-22 20:53:02 +00:00
whesse@google.com
e8eafba0c2
Enable frogium component in test.dart.
...
BUG=
TEST=tools/test.dart --component=frogium
Review URL: http://codereview.chromium.org//9022004
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@2765 260f80e4-7a28-3924-810f-c04153c831b5
2011-12-22 16:11:01 +00:00
ager@google.com
27508f3eb1
Change the process API to be completely asynchronous.
...
Some of the implementation is still not asynchronous but the API is
now prepared for it.
This is a breaking change for the dart test scripts. Once the
change has its final form I will add new stable builds of the
VM to the changelist for running tests.
R=sgjesse@google.com
BUG=
TEST=
Review URL: http://codereview.chromium.org//9024008
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@2753 260f80e4-7a28-3924-810f-c04153c831b5
2011-12-22 13:43:43 +00:00
whesse@google.com
69353d663c
Implement chromium component.
...
BUG=
TEST=tools/test.dart --component=chromium
Review URL: http://codereview.chromium.org//8995009
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@2695 260f80e4-7a28-3924-810f-c04153c831b5
2011-12-21 13:56:12 +00:00
whesse@google.com
678d466d1a
Fix test.dart by not closing processes twice.
...
BUG=
TEST=tools/test.dart
Review URL: http://codereview.chromium.org//8949034
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@2693 260f80e4-7a28-3924-810f-c04153c831b5
2011-12-21 12:14:44 +00:00
whesse@google.com
a5f326bed1
Fix test.dart by closing the compilation process when running browser tests.
...
BUG=
TEST=tools/test.dart --component=dartium
Review URL: http://codereview.chromium.org//9020005
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@2685 260f80e4-7a28-3924-810f-c04153c831b5
2011-12-21 08:16:37 +00:00
ager@google.com
59a7964b3a
Fix Mac path to DumpRenderTree in dart test scripts.
...
R=whesse@google.com
BUG=
TEST=
Review URL: http://codereview.chromium.org//9017006
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@2684 260f80e4-7a28-3924-810f-c04153c831b5
2011-12-21 08:14:39 +00:00
ahe@google.com
e69861f879
Fix bug in frog_wrapper.py that caused it to eat the first argument
...
Review URL: http://codereview.chromium.org//8965039
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@2626 260f80e4-7a28-3924-810f-c04153c831b5
2011-12-20 11:27:58 +00:00
ager@google.com
47a7c9bcdb
Undo change that converted exit code 255 to -1.
...
It seems that most systems do not perform that conversion and it
could therefore be confusing.
Simplify the crash handling in the test scripts accordingly.
R=sgjesse@google.com
BUG=
TEST=
Review URL: http://codereview.chromium.org//8989011
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@2620 260f80e4-7a28-3924-810f-c04153c831b5
2011-12-20 10:06:35 +00:00
ager@google.com
fb053d8126
Update test.dart to use the leg_only option for the leg component.
...
Take the new *-leg.status status files into account.
R=whesse@google.com
BUG=
TEST=
Review URL: http://codereview.chromium.org//8992015
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@2583 260f80e4-7a28-3924-810f-c04153c831b5
2011-12-19 15:07:29 +00:00
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
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
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
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
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
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
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
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