Commit Graph

6631 Commits

Author SHA1 Message Date
whesse@google.com 0fc415a002 Add flag to tools/test.dart. Add utils test suite to list of default suites.
Optional --drt= flag specifies non-standard location of DumpRenderTree for browser tests.

BUG=
TEST=tools/test.dart -cdartium --drt=client/tests/drt/DumpRenderTree

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3728 260f80e4-7a28-3924-810f-c04153c831b5
2012-01-31 14:10:53 +00:00
ahe@google.com 26d232679d Create a URI class in utils/ (based on client/util/).
Review URL: https://chromiumcodereview.appspot.com//9295043

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3722 260f80e4-7a28-3924-810f-c04153c831b5
2012-01-31 12:11:10 +00:00
ager@google.com 821d6c1dfe Enable test.dart on Mac after fixing flakiness caused by signal handlers.
R=sgjesse@google.com
BUG=
TEST=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3714 260f80e4-7a28-3924-810f-c04153c831b5
2012-01-31 09:26:41 +00:00
efortuna@google.com 95498e8e50 Prevent browser windows from staying open.
Review URL: https://chromiumcodereview.appspot.com//9303019

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3705 260f80e4-7a28-3924-810f-c04153c831b5
2012-01-31 01:47:41 +00:00
efortuna@google.com 5a44035961 Changing to recommended way to fix console.log in IE by Kasper.
Plus some updates to the test.stats files for IE results.
Review URL: https://chromiumcodereview.appspot.com//9302012

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3704 260f80e4-7a28-3924-810f-c04153c831b5
2012-01-31 00:51:43 +00:00
vsm@google.com 9f963fb24e Refactoring to migrate layout tests over.
I'll rename layout tests to end in Test.dart as I migrate them over.

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3674 260f80e4-7a28-3924-810f-c04153c831b5
2012-01-27 23:30:08 +00:00
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
ager@google.com 8a59838677 Fix the dart:builtin and dart:io parts of the SDK.
- Deal with the newly introduced io.dart library.
- Fix the handling of builtin_runtime.dart so it does not contain
  multiple #library tags.

R=dgrove@google.com,iposva@google.com
BUG=
TEST=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3641 260f80e4-7a28-3924-810f-c04153c831b5
2012-01-27 06:54:16 +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
iposva@google.com 092f54c99a Revert 3502 as it causes flaky test runs on Macs:
- Disable test-runtime.dart for Mac OS test runners.
Review URL: https://chromiumcodereview.appspot.com//9169056

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3608 260f80e4-7a28-3924-810f-c04153c831b5
2012-01-25 21:16:42 +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
whesse@google.com f4ab2c43f8 Enable test.dart on Mac OS test runners for VM component.
BUG=
TEST=tools/test.dart

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3502 260f80e4-7a28-3924-810f-c04153c831b5
2012-01-23 15:40:16 +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 e543e9901e Synchronize test-runtime.dart and test-compiler.dart with changed test.dart.
BUG=
TEST=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3399 260f80e4-7a28-3924-810f-c04153c831b5
2012-01-18 16:06:44 +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
sigmund@google.com 0db85d31b1 bot: fix to get appropriate executable in windows.
Review URL: http://codereview.chromium.org//9133019

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3316 260f80e4-7a28-3924-810f-c04153c831b5
2012-01-13 23:26:33 +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 fffd398c06 Disable test.dart on MacOS VM buildbot.
TBR=iposva@google.com
BUG=
TEST=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3299 260f80e4-7a28-3924-810f-c04153c831b5
2012-01-13 16:20:13 +00:00
whesse@google.com c2645c3ca6 Reenable test.dart on Windows and MacOS buildbots.
BUG=
TEST=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3293 260f80e4-7a28-3924-810f-c04153c831b5
2012-01-13 14:36:11 +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 619fb7badd Use test.py instead of test.dart on Windows and MacOS platforms for vm tests.
BUG=
TEST=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3243 260f80e4-7a28-3924-810f-c04153c831b5
2012-01-12 16:58:14 +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
whesse@google.com dfcaf76c50 Make test_wrapper.py and test_compiler.dart that will work for a deps.compiler checkout.
BUG=
TEST=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3236 260f80e4-7a28-3924-810f-c04153c831b5
2012-01-12 14:45:10 +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