ager@google.com
b09cb0fb16
Fix bug in VM cctest running. Recognize when the cctest binary is not there.
...
R=whesse@google.com
BUG=
TEST=
Review URL: http://codereview.chromium.org//9123029
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3288 260f80e4-7a28-3924-810f-c04153c831b5
2012-01-13 13:34:33 +00:00
zundel@google.com
dc680dc973
Turn on fatal warnings for compiler tests in the 'dartc' tests again
...
BUG=
TEST=
Review URL: http://codereview.chromium.org//9187064
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3260 260f80e4-7a28-3924-810f-c04153c831b5
2012-01-12 21:59:21 +00:00
nweiz@google.com
1ec79ff3ca
Fix a dumb typo in SVGElementWrappingImplementation.
...
TBR
Review URL: http://codereview.chromium.org//9190060
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3255 260f80e4-7a28-3924-810f-c04153c831b5
2012-01-12 21:17:17 +00:00
zundel@google.com
577a54160c
Fix dartc build break by temporarily removing --fatal-* flags from test_suite.dart
...
Review URL: http://codereview.chromium.org//9190056
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3252 260f80e4-7a28-3924-810f-c04153c831b5
2012-01-12 20:38:49 +00:00
whesse@google.com
44e292a27d
Add warning messages to test.dart to help debug vm tests on Windows.
...
BUG=
TEST=
Review URL: http://codereview.chromium.org//9190045
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3242 260f80e4-7a28-3924-810f-c04153c831b5
2012-01-12 16:16:22 +00:00
whesse@google.com
517b6a3793
Let test.dart's compact progress indicator be overwritten by the summary report.
...
BUG=dart:1125
TEST=tools/test.dart --report
Review URL: http://codereview.chromium.org//9148062
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3238 260f80e4-7a28-3924-810f-c04153c831b5
2012-01-12 14:48:25 +00:00
whesse@google.com
083f882a04
Allow test.dart dartc/junit_tests to be run from the compiler subdirectory.
...
BUG=
TEST=cd compiler; ../tools/build.py dartc; ../tools/test.dart -cdartc dartc/junit_tests
Review URL: http://codereview.chromium.org//9188032
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3237 260f80e4-7a28-3924-810f-c04153c831b5
2012-01-12 14:45:54 +00:00
efortuna@google.com
1748f8213f
Make browser "sometest" like a regular test run by test.dart/py instead of
...
create_graph.py
Review URL: http://codereview.chromium.org//9139031
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3213 260f80e4-7a28-3924-810f-c04153c831b5
2012-01-11 22:59:38 +00:00
sigmund@google.com
090a413004
test.dart: a small fix to handle flakyness with DumpRenderTree and xvfb
...
BUG=
TEST=
Review URL: http://codereview.chromium.org//9107018
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3210 260f80e4-7a28-3924-810f-c04153c831b5
2012-01-11 21:57:55 +00:00
rnystrom@google.com
5bf318ec21
Hook up the dartdoc tests to test.py, test.dart, and frog/presubmit.py.
...
Review URL: http://codereview.chromium.org//9147058
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3207 260f80e4-7a28-3924-810f-c04153c831b5
2012-01-11 21:29:13 +00:00
sigmund@google.com
8139db7ae4
bots: include webdriver tests in bots.
...
Review URL: http://codereview.chromium.org//9188012
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3206 260f80e4-7a28-3924-810f-c04153c831b5
2012-01-11 20:48:33 +00:00
whesse@google.com
4a7645ceab
Fix flaky tests on chromium buildbot, by adding a correct fix to test.dart.
...
BUG=dart:1135,dart:1127
TEST=tools/test.dart -cchromium language
Review URL: http://codereview.chromium.org//9190011
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3197 260f80e4-7a28-3924-810f-c04153c831b5
2012-01-11 18:26:37 +00:00
whesse@google.com
91aa36e658
Add check for repeated options on test.dart command line. Revert debugging commit r3110.
...
Also fix bug where unknown options would crash test.dart.
BUG=
TEST=tools/test.dart --flag foo --flag bar --mispellede
Review URL: http://codereview.chromium.org//9166013
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3195 260f80e4-7a28-3924-810f-c04153c831b5
2012-01-11 17:48:22 +00:00
whesse@google.com
3da8cc127f
Fix flaky error on buildbot due to virtual X server xvfb.
...
The test.py test script handles this flaky error, and this CL adds
handling of this error to the test.dart script. Issue dart:1135 is filed to
get rid of this error.
BUG=dart:1135
TEST=xvfb-run tools/test.py -cchromium language
Review URL: http://codereview.chromium.org//9139012
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3182 260f80e4-7a28-3924-810f-c04153c831b5
2012-01-11 14:01:45 +00:00
efortuna@google.com
a324098caf
Changed automated testing to run test.dart instead of test.py
...
Review URL: http://codereview.chromium.org//9181006
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3173 260f80e4-7a28-3924-810f-c04153c831b5
2012-01-11 01:38:27 +00:00
whesse@google.com
edcf12235f
Fix an error on the buildbots where the dartc shell script was throwing an error.
...
Also, improve error output from test.dart.
Add verbose output from the dartc bash script, and separators between compilation and execution phase output in the test.dart browser tests.
BUG=dart:1104
TEST=tools/test.dart -cchromium language
Review URL: http://codereview.chromium.org//9158011
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3143 260f80e4-7a28-3924-810f-c04153c831b5
2012-01-10 14:14:49 +00:00
rnystrom@google.com
9f73ad9b27
Make test.dart not barf if the path to your repo has 'src/' in it.
...
Review URL: http://codereview.chromium.org//9146019
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3125 260f80e4-7a28-3924-810f-c04153c831b5
2012-01-10 01:09:40 +00:00
whesse@google.com
3a5bd98866
test.dart: Stop looping over vmOptions in browser tests to turn the buildbot green.
...
There are some flaky tests in the language suite in component chromium with the dart test script. They all have multiple vmOptions lines, so temporarily disabling that functionality to turn the build green again.
BUG=
TEST=tools/test.dart -cchromium language
Review URL: http://codereview.chromium.org//9150006
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3110 260f80e4-7a28-3924-810f-c04153c831b5
2012-01-09 18:55:45 +00:00
whesse@google.com
421d80b491
Create multiple temporary directories in test.dart for multiple vmOptions in a test.
...
BUG=
TEST=tools/test.dart -cchromium language/StaticImplicitClosure
Review URL: http://codereview.chromium.org//9148007
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3107 260f80e4-7a28-3924-810f-c04153c831b5
2012-01-09 17:57:35 +00:00
whesse@google.com
84fc2e6305
Use test.dart for dartc buildbot. Ensure that test.dart creates the build directory.
...
BUG=
TEST=rm -rf out; tools/test.dart -cdartium
Review URL: http://codereview.chromium.org//9155001
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3100 260f80e4-7a28-3924-810f-c04153c831b5
2012-01-09 15:47:43 +00:00
whesse@google.com
2b388ee864
Enable webdriver component in test.dart
...
BUG=dart:1046
TEST=tools/test.dart -cwebdriver
Review URL: http://codereview.chromium.org//9110031
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3082 260f80e4-7a28-3924-810f-c04153c831b5
2012-01-09 09:42:07 +00:00
whesse@google.com
203196c37a
Fix test.dart on Frogium component, enable in buildbot.
...
BUG=
TEST=cd frog; ../tools/build.py; ../tools/test.py -cfrogium frog
Review URL: http://codereview.chromium.org//9110032
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3042 260f80e4-7a28-3924-810f-c04153c831b5
2012-01-06 15:15:24 +00:00
ager@google.com
3f7dcb6557
Add python wrapper for test.dart.
...
Use test.dart (through the wrapper) for all frog testing both
for developers and on the buildbot.
Will commit this once the frogium tests have been fixed to be
runable from the frog directory.
R=whesse@google.com
BUG=
TEST=
Review URL: http://codereview.chromium.org//9086008
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3026 260f80e4-7a28-3924-810f-c04153c831b5
2012-01-06 10:26:37 +00:00
whesse@google.com
6f47474a2c
Add standard options to test.dart browser tests compilation command.
...
BUG=
TEST=tools/test.dart -cfrogium --checked client/html
Review URL: http://codereview.chromium.org//9112011
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@2999 260f80e4-7a28-3924-810f-c04153c831b5
2012-01-05 15:17:05 +00:00
whesse@google.com
9ae78036dc
Fix static type warnings in test.dart.
...
BUG=
TEST=dartc tools/test.dart ; frog tools/test.dart
Review URL: http://codereview.chromium.org//9109012
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@2997 260f80e4-7a28-3924-810f-c04153c831b5
2012-01-05 14:08:15 +00:00
ager@google.com
fce78ae7cb
Allow runtime tests to run on Windows.
...
R=whesse@google.com
BUG=
TEST=
Review URL: http://codereview.chromium.org//9112007
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@2996 260f80e4-7a28-3924-810f-c04153c831b5
2012-01-05 14:03:59 +00:00
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