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
dgrove@google.com
c2bf7a2524
remove dartdoc from sdk until it actually works there.
...
TBR=efortuna
Review URL: http://codereview.chromium.org//9147005
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3099 260f80e4-7a28-3924-810f-c04153c831b5
2012-01-09 15:40:58 +00:00
whesse@google.com
4e3faf80e4
Revert change 3084.
...
Review URL: http://codereview.chromium.org//9146003
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3086 260f80e4-7a28-3924-810f-c04153c831b5
2012-01-09 10:47:03 +00:00
whesse@google.com
1b7d7303d8
Replace test.py with test.dart, using test_wrapper.py, temporarily to find problems. Will be reverted immediately.
...
Review URL: http://codereview.chromium.org//9148002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3084 260f80e4-7a28-3924-810f-c04153c831b5
2012-01-09 10:35:36 +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
69c162ee4c
Adding 7-zip to third party so that we can zip SDKs on Windows.
...
This is a reincarnation of this CL: http://codereview.chromium.org/9022043
Review URL: http://codereview.chromium.org//9074007
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@2929 260f80e4-7a28-3924-810f-c04153c831b5
2012-01-04 00:58:20 +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
efortuna@google.com
d9205c17e4
Removing tabs that Windows accidentally snuck in.
...
TBR=iposva
Review URL: http://codereview.chromium.org//8956034
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@2655 260f80e4-7a28-3924-810f-c04153c831b5
2011-12-20 18:47:16 +00:00
efortuna@google.com
e8106ee3a2
Fix windows VM build.
...
TBR=jmesserly
Review URL: http://codereview.chromium.org//9005014
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@2654 260f80e4-7a28-3924-810f-c04153c831b5
2011-12-20 18:16:11 +00:00
efortuna@google.com
994839e3d9
Fix build to create Windows SDK.
...
(Resubmission of http://codereview.chromium.org/9004001/ with jmesserly's
suggestions and update fix.)
TBR=jmesserly
Review URL: http://codereview.chromium.org//8989020
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@2649 260f80e4-7a28-3924-810f-c04153c831b5
2011-12-20 18:04:45 +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
sigmund@google.com
f392b25a55
Revert "Fix build so we can make a Windows SDK!" (tbr)
...
Review URL: http://codereview.chromium.org//9005002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@2613 260f80e4-7a28-3924-810f-c04153c831b5
2011-12-20 02:26:16 +00:00
efortuna@google.com
03a9b0a828
Fix build so we can make a Windows SDK!
...
Review URL: http://codereview.chromium.org//9004001
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@2612 260f80e4-7a28-3924-810f-c04153c831b5
2011-12-20 02:22:08 +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