Commit Graph

1689 Commits

Author SHA1 Message Date
efortuna@google.com 825ee40c58 Add closing paren.
TBR=sigmund@google.com,
Review URL: https://chromiumcodereview.appspot.com//9232062

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3670 260f80e4-7a28-3924-810f-c04153c831b5
2012-01-27 21:35:37 +00:00
efortuna@google.com 9f58ccf764 Fix dartc tests, and second half of r3585 for Windows.
TBR=sigmund@google.com,
Review URL: https://chromiumcodereview.appspot.com//9298028

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3669 260f80e4-7a28-3924-810f-c04153c831b5
2012-01-27 21:29:34 +00:00
efortuna@google.com 02c2b89f37 Resubmitting first half of r3585 from issue http://chromiumcodereview.appspot.com/9146049/
This previously broke dartc tests.
Review URL: https://chromiumcodereview.appspot.com//9234078

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3665 260f80e4-7a28-3924-810f-c04153c831b5
2012-01-27 20:46:53 +00:00
efortuna@google.com c4aea9a397 Add doctype to test html boilerplate so that IE 9 does not go into quirks mode.
Review URL: https://chromiumcodereview.appspot.com//9271083

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3663 260f80e4-7a28-3924-810f-c04153c831b5
2012-01-27 19:20:49 +00:00
efortuna@google.com e16df64b9d Wrote a daily update script.
Review URL: https://chromiumcodereview.appspot.com//9235046

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3623 260f80e4-7a28-3924-810f-c04153c831b5
2012-01-26 19:26:09 +00:00
efortuna@google.com a84c69a064 Reverting r3585. Unclear how this broke dartc...
TBR=sigmund@google.com,
Review URL: https://chromiumcodereview.appspot.com//9290006

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3588 260f80e4-7a28-3924-810f-c04153c831b5
2012-01-25 02:45:41 +00:00
efortuna@google.com 0d150af08d More fixes for test.dart to run browser tests on Windows!
Review URL: https://chromiumcodereview.appspot.com//9146049

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3585 260f80e4-7a28-3924-810f-c04153c831b5
2012-01-25 00:57:09 +00:00
ager@google.com 4efd1f98fa Split dart:builtin into dart:builtin and dart:io.
- dart:builtin is implicitly imported.
- dart:io has to be explicitly imported.

I will update the macos and windows stable test binaries when we
are happy with the solution.

R=iposva@google.com
BUG=
TEST=

Review URL: https://chromiumcodereview.appspot.com//9254026

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3537 260f80e4-7a28-3924-810f-c04153c831b5
2012-01-24 07:36:59 +00:00
efortuna@google.com c8e620d663 Fix frogsh + Windows + test.dart take 2
Review URL: https://chromiumcodereview.appspot.com//9117010

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3522 260f80e4-7a28-3924-810f-c04153c831b5
2012-01-23 23:34:13 +00:00
sigmund@google.com 036f2cdbd3 Revert "Make changes to test.dart and frogsh for Windows."
Review URL: https://chromiumcodereview.appspot.com//9193021

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3510 260f80e4-7a28-3924-810f-c04153c831b5
2012-01-23 19:59:06 +00:00
efortuna@google.com 9bd7f7722f Make changes to test.dart and frogsh for Windows.
This should enable frogsh to build correctly and function properly on Windows. 
test.dart is waiting on a fix in the VM before it will be fully ready.
Review URL: https://chromiumcodereview.appspot.com//9233015

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3506 260f80e4-7a28-3924-810f-c04153c831b5
2012-01-23 19:09:32 +00:00
efortuna@google.com f3a51018d0 Update browser testing readme.
TBR=sigmund@google.com,
Review URL: https://chromiumcodereview.appspot.com//9272003

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3478 260f80e4-7a28-3924-810f-c04153c831b5
2012-01-22 01:05:25 +00:00
iposva@google.com 0e36a463f6 Address comment from https://chromiumcodereview.appspot.com/9150027:
- Add an _ between mode and arch in test configuration.
Review URL: https://chromiumcodereview.appspot.com//9150035

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3438 260f80e4-7a28-3924-810f-c04153c831b5
2012-01-19 17:12:31 +00:00
whesse@google.com ca63b5de74 Add configuration information to test.dart output.
BUG=dart:1168
TEST=

Review URL: https://chromiumcodereview.appspot.com//9150027

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3431 260f80e4-7a28-3924-810f-c04153c831b5
2012-01-19 12:37:41 +00:00
whesse@google.com 202d43e713 Test.dart will wait for the temporary directory to be deleted before exiting.
BUG=
TEST=

Review URL: https://chromiumcodereview.appspot.com//9195006

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3429 260f80e4-7a28-3924-810f-c04153c831b5
2012-01-19 10:21:20 +00:00
vsm@google.com dbf9aaea7f Do not set checked mode unconditionally for Dartium
It should get picked up based on whether --checked is passed in.  This should get the bot green(er).

TBR=sigmund

Review URL: https://chromiumcodereview.appspot.com//9232033

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3421 260f80e4-7a28-3924-810f-c04153c831b5
2012-01-19 00:28:10 +00:00
whesse@google.com d500436f9c Fix test.dart on Windows: change all backslashes to slashes eagerly.
BUG=dart:1206
TEST=

Review URL: https://chromiumcodereview.appspot.com//9250009

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3400 260f80e4-7a28-3924-810f-c04153c831b5
2012-01-18 16:24:01 +00:00
whesse@google.com 7eb6b33a01 Add temporary directory for dartc compilation of tests.
This subdirectory of the system temp directory is deleted after tests are run.
This CL also unifies finding of the top-level dart checkout directory.

BUG=dart:1167
TEST=tools/test.dart -cdartc,chromium

Review URL: https://chromiumcodereview.appspot.com//9240011

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3397 260f80e4-7a28-3924-810f-c04153c831b5
2012-01-18 15:37:44 +00:00
efortuna@google.com 4ecc520173 Make changes for Safari to run with webdriver on the bots.
Review URL: https://chromiumcodereview.appspot.com//9252002

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3382 260f80e4-7a28-3924-810f-c04153c831b5
2012-01-18 02:22:10 +00:00
efortuna@google.com 14d6a24393 Fix test.dart to have the same behavior as test.py for --frog and --froglib.
(Fixing Issue 1046)
Review URL: https://chromiumcodereview.appspot.com//9178022

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3366 260f80e4-7a28-3924-810f-c04153c831b5
2012-01-17 18:37:17 +00:00
ager@google.com b01e8121b9 Tiny style and comment fixes to test_suite.dart.
R=whesse@google.com
BUG=
TEST=

Review URL: https://chromiumcodereview.appspot.com//9244004

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3354 260f80e4-7a28-3924-810f-c04153c831b5
2012-01-17 13:09:13 +00:00
whesse@google.com c220130314 Add summary of failures to end of test.dart output.
BUG=
TEST=

Review URL: http://codereview.chromium.org//9234002

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3336 260f80e4-7a28-3924-810f-c04153c831b5
2012-01-16 12:31:50 +00:00
efortuna@google.com 9fa0180cc1 Get Firefox and IE working again with Object.defineProperty!
Review URL: http://codereview.chromium.org//9214005

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3312 260f80e4-7a28-3924-810f-c04153c831b5
2012-01-13 22:28:50 +00:00
whesse@google.com ffc864b671 Fix test.dart multitest generated_test directory on Windows.
Also revert debugging change r3242.

BUG=
TEST=cd runtime; ../tools/testing/bin/windows/dart.exe ../tools/test.dart -component=vm

Review URL: http://codereview.chromium.org//9162005

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3292 260f80e4-7a28-3924-810f-c04153c831b5
2012-01-13 14:35:41 +00:00
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