Commit Graph

6631 Commits

Author SHA1 Message Date
sigmund@google.com 1dd7f30abc test rename overhaul: step 11 - tests/utils
Review URL: https://chromiumcodereview.appspot.com//10170040

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@7117 260f80e4-7a28-3924-810f-c04153c831b5
2012-04-28 00:16:04 +00:00
sigmund@google.com 45efebba9a test rename overhaul: step 10 - crypto tests, and add back other tests commited
recently, but just before the rename overhaul.

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@7115 260f80e4-7a28-3924-810f-c04153c831b5
2012-04-28 00:12:28 +00:00
efortuna@google.com a74e2b4f11 Improve posting format for size tests.
Review URL: https://chromiumcodereview.appspot.com//10252017

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@7110 260f80e4-7a28-3924-810f-c04153c831b5
2012-04-27 23:03:41 +00:00
mattsh@google.com b7e61d5ede fix legpad example to use new dart2js bash script
BUG=
TEST=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@7102 260f80e4-7a28-3924-810f-c04153c831b5
2012-04-27 19:07:38 +00:00
sigmund@google.com 64d7bc5acf test rename overhaul: step 8 - language tests
Review URL: https://chromiumcodereview.appspot.com//10248007

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@7101 260f80e4-7a28-3924-810f-c04153c831b5
2012-04-27 18:45:10 +00:00
efortuna@google.com 421d36c5e2 Don't run Dartium on JS perf tests.
Review URL: https://chromiumcodereview.appspot.com//10238013

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@7098 260f80e4-7a28-3924-810f-c04153c831b5
2012-04-27 18:40:06 +00:00
sigmund@google.com d9eae90196 test rename overhaul: step 7 - corelib tests
Review URL: https://chromiumcodereview.appspot.com//10244009

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@7096 260f80e4-7a28-3924-810f-c04153c831b5
2012-04-27 18:06:37 +00:00
sigmund@google.com ef47ac2f90 test rename overhaul: step 5 frog and leg
Review URL: https://chromiumcodereview.appspot.com//10250002

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@7094 260f80e4-7a28-3924-810f-c04153c831b5
2012-04-27 17:43:47 +00:00
sigmund@google.com 6dbe08da0a test rename overhaul: step 9 - minor fix for client tests.
Review URL: https://chromiumcodereview.appspot.com//10254010

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@7091 260f80e4-7a28-3924-810f-c04153c831b5
2012-04-27 17:18:06 +00:00
sigmund@google.com d6c2cca796 test rename overhaul: step 6 - isolate tests
Review URL: https://chromiumcodereview.appspot.com//10247004

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@7088 260f80e4-7a28-3924-810f-c04153c831b5
2012-04-27 17:06:51 +00:00
asiva@google.com 4043c8ee0c use O2 for debug builds on mac.
Review URL: https://chromiumcodereview.appspot.com//10180014

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@7053 260f80e4-7a28-3924-810f-c04153c831b5
2012-04-27 01:19:13 +00:00
sigmund@google.com daef678742 test renaming overhaul: step 4 client tests
Review URL: https://chromiumcodereview.appspot.com//10191033

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@7041 260f80e4-7a28-3924-810f-c04153c831b5
2012-04-26 20:09:35 +00:00
efortuna@google.com d6426082f6 Make test.dart respect the requested order of test suites, and also split up IE
bot load.
Review URL: https://chromiumcodereview.appspot.com//10239010

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@7035 260f80e4-7a28-3924-810f-c04153c831b5
2012-04-26 18:14:30 +00:00
efortuna@google.com f79e1bcd2d Fix webdriver_test_setup script for installing with correct permissions on nonWindows machines.
Review URL: https://chromiumcodereview.appspot.com//10239011

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@7034 260f80e4-7a28-3924-810f-c04153c831b5
2012-04-26 18:11:33 +00:00
efortuna@google.com 2c0555c3c8 Add exception handling in get_drt.py
Review URL: https://chromiumcodereview.appspot.com//10222025

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@7029 260f80e4-7a28-3924-810f-c04153c831b5
2012-04-26 16:54:17 +00:00
sigmund@google.com 50256eecf8 test.dart: print suite name in browser tests
Review URL: https://chromiumcodereview.appspot.com//10227016

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@7028 260f80e4-7a28-3924-810f-c04153c831b5
2012-04-26 16:52:11 +00:00
ahe@google.com 85bcb1124f Address review comments from CL 10151014.
Review URL: https://chromiumcodereview.appspot.com//10228003

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@7016 260f80e4-7a28-3924-810f-c04153c831b5
2012-04-26 14:23:15 +00:00
ager@google.com acbb5eef57 Add 'lib' test suite to default tests.
R=ricow@google.com
BUG=
TEST=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@7014 260f80e4-7a28-3924-810f-c04153c831b5
2012-04-26 12:38:02 +00:00
whesse@google.com dcaf164bce Fix summary report count of tests run by test.dart when tests are run on a browser.
BUG=dart:2726
TEST=test.py with browser != none, suite == frog.

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@7007 260f80e4-7a28-3924-810f-c04153c831b5
2012-04-26 11:09:58 +00:00
whesse@google.com 7a31ae82e2 Cancel timout in test_runner.dart if RunningProcess transfers control to BatchRunnerProcess
BUG=dart:2726
TEST=test.py with compiler: frog, runtime: chrome mode: release, system: win7,

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@6996 260f80e4-7a28-3924-810f-c04153c831b5
2012-04-26 09:11:09 +00:00
whesse@google.com cd29ee3fad Add handler for Process.onError in test_runner.dart.
The handler prints informaion, and does nothing.  This reproduces the current behavior with no handler, and is a first step to handling this error correctly.

BUG=dart:2726
TEST=tools/test.dart (Selenium and Browser tests?)

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@6990 260f80e4-7a28-3924-810f-c04153c831b5
2012-04-26 07:33:36 +00:00
sigmund@google.com f1d72ac4f9 rename _tests.dart to _test.dart
Review URL: https://chromiumcodereview.appspot.com//10154010

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@6984 260f80e4-7a28-3924-810f-c04153c831b5
2012-04-26 00:23:45 +00:00
efortuna@google.com 20bb8812d4 Get get_drt working on Windows, take 2.
Review URL: https://chromiumcodereview.appspot.com//10134070

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@6983 260f80e4-7a28-3924-810f-c04153c831b5
2012-04-25 23:29:33 +00:00
sigmund@google.com cb8056e881 (second try) unittest steps 3, 4: removes TestFramework.dart
Review URL: https://chromiumcodereview.appspot.com//10222013

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@6980 260f80e4-7a28-3924-810f-c04153c831b5
2012-04-25 22:31:04 +00:00
efortuna@google.com 69b93479c7 Revert r6969.
Review URL: https://chromiumcodereview.appspot.com//10191026

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@6976 260f80e4-7a28-3924-810f-c04153c831b5
2012-04-25 21:26:25 +00:00
efortuna@google.com d8d0e0e317 Make get_drt.py work in Windows.
Review URL: https://chromiumcodereview.appspot.com//10224006

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@6969 260f80e4-7a28-3924-810f-c04153c831b5
2012-04-25 19:44:00 +00:00
sigmund@google.com a7e7679286 Revert "unittest step 3 and 4: remove TestFramework.dart, make test.dart use"
Review URL: https://chromiumcodereview.appspot.com//10226008

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@6968 260f80e4-7a28-3924-810f-c04153c831b5
2012-04-25 19:42:26 +00:00
efortuna@google.com 2947bf792e Complete perf data posting.
Review URL: https://chromiumcodereview.appspot.com//10225010

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@6966 260f80e4-7a28-3924-810f-c04153c831b5
2012-04-25 19:20:23 +00:00
sigmund@google.com edac4ecb27 unittest step 3 and 4: remove TestFramework.dart, make test.dart use
unittest.dart, so tests written with it will work both in the vm and browsers.

This involved a few changes:
- removing uses of TestFramework, use unittest instead (in test.dart and some
  isolate tests)
- making test.dart use unittest and html_config to wrap standalone tests as
  browser tests. This is done for tests written with or without unittest
- unittest: trap errors at the top-level, so we can detect errors during setup,
  but also to detect normal failures in tests that are wrapped by test.dart.

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@6963 260f80e4-7a28-3924-810f-c04153c831b5
2012-04-25 18:37:23 +00:00
sigmund@google.com ba197a8cfa test rename overhaul: step 2 css tests.
Review URL: https://chromiumcodereview.appspot.com//10209016

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@6961 260f80e4-7a28-3924-810f-c04153c831b5
2012-04-25 18:23:21 +00:00
sigmund@google.com a54a1c8355 remove tests from code that was recently deleted.
Review URL: https://chromiumcodereview.appspot.com//10207032

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@6956 260f80e4-7a28-3924-810f-c04153c831b5
2012-04-25 17:07:48 +00:00
ahe@google.com df055abd27 Get the absolute path of the test file when creating a tempory directory.
Review URL: https://chromiumcodereview.appspot.com//10191017

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@6938 260f80e4-7a28-3924-810f-c04153c831b5
2012-04-25 13:26:48 +00:00
ahe@google.com 332412c93a Run dart2js directly from test.dart.
Review URL: https://chromiumcodereview.appspot.com//10151014

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@6936 260f80e4-7a28-3924-810f-c04153c831b5
2012-04-25 13:10:40 +00:00
whesse@google.com 9fcda075eb Remove unused class DirectoryTestSuite from test script.
BUG=
TEST=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@6933 260f80e4-7a28-3924-810f-c04153c831b5
2012-04-25 10:56:14 +00:00
iposva@google.com d10d1d2cb3 - Add tests/lib to start testing libraries outside of core.
Review URL: https://chromiumcodereview.appspot.com//10197008

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@6929 260f80e4-7a28-3924-810f-c04153c831b5
2012-04-25 09:13:56 +00:00
efortuna@google.com 1fe42965f9 Let dart2js tests run on browsers locally.
Review URL: https://chromiumcodereview.appspot.com//10216007

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@6921 260f80e4-7a28-3924-810f-c04153c831b5
2012-04-25 01:25:33 +00:00
efortuna@google.com 53222bcd0f Update browser testing documentation.
Review URL: https://chromiumcodereview.appspot.com//10217015

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@6917 260f80e4-7a28-3924-810f-c04153c831b5
2012-04-25 00:27:39 +00:00
jmesserly@google.com 1d9b213866 Vim syntax updates: highlight dart core interfaces
https://github.com/dart-lang/dart/pull/5

Highlight all interfaces listed on the dart:core page:
http://api.dartlang.org/dart_core.html

Thanks to Ajnasz for this change!

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@6916 260f80e4-7a28-3924-810f-c04153c831b5
2012-04-24 23:47:02 +00:00
efortuna@google.com 310599fc64 Get rid of selfhosted test in perf tracking and fix for uploading data.
Review URL: https://chromiumcodereview.appspot.com//10210010

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@6915 260f80e4-7a28-3924-810f-c04153c831b5
2012-04-24 23:33:11 +00:00
vsm@google.com eaf9061f63 Upgrade gsutil to 3.4
This appears to fix a Windows download bug I'm hitting on the win perf bot.

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@6914 260f80e4-7a28-3924-810f-c04153c831b5
2012-04-24 22:33:26 +00:00
vsm@google.com 787e4992c8 Reenable test.dart to be invoked from dartium checkout
This will be used to remove the Dartium usage of minfrog.  From a dartium enlistment, the following will work.

To test with frog:

./dart/tools/test.py --compiler=frog --frog=/usr/local/google/vsm/git/src/dart/frog/frogc.dart --shell=./out/Release/dart --runtime=drt --drt=./out/Release/DumpRenderTree --mode=release client/html

To test with dart2js:

./dart/tools/test.py --compiler=dart2js --frog=/usr/local/google/vsm/git/src/dart/frog/frogc.dart --shell=./out/Release/dart --runtime=drt --drt=./out/Release/DumpRenderTree --mode=release client/html

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@6897 260f80e4-7a28-3924-810f-c04153c831b5
2012-04-24 16:32:26 +00:00
whesse@google.com 5ff63fdb1a Revert changelists 6885 and 6881 (partial). Return to state where Process.onError is not handled.
BUG=
TEST=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@6888 260f80e4-7a28-3924-810f-c04153c831b5
2012-04-24 15:08:36 +00:00
whesse@google.com 944fed81d3 Fix error in test.dart where a process will be closed twice.
BUG=
TEST=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@6885 260f80e4-7a28-3924-810f-c04153c831b5
2012-04-24 14:54:45 +00:00
whesse@google.com 240fca8010 Fix timeouts in standalone/io/TestRunnerTest by increasing timeout. Fix a few errors in test_runner.dart.
BUG=
TEST=standalone/io/TestRunnerTest

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@6881 260f80e4-7a28-3924-810f-c04153c831b5
2012-04-24 14:24:13 +00:00
ahe@google.com 9eac6a5748 Remove frogsh.
Review URL: https://chromiumcodereview.appspot.com//10164004

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@6840 260f80e4-7a28-3924-810f-c04153c831b5
2012-04-23 13:26:06 +00:00
jmesserly@google.com 956715b105 Updated VIM bindings, thanks to Ladicek!
https://github.com/dart-lang/dart/pull/2

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@6816 260f80e4-7a28-3924-810f-c04153c831b5
2012-04-20 23:01:06 +00:00
sigmund@google.com d25fe08396 test rename overhaul: step 1 peg.
The overhaul consists of:
- use _tests.dart notation, instead of xTest.dart
- use the directory setup (no more test_config, yay!)

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@6815 260f80e4-7a28-3924-810f-c04153c831b5
2012-04-20 22:57:03 +00:00
efortuna@google.com 678eca7072 Don't upload data to appengine.
Review URL: https://chromiumcodereview.appspot.com//10164009

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@6813 260f80e4-7a28-3924-810f-c04153c831b5
2012-04-20 19:51:28 +00:00
efortuna@google.com 8736ce1aaf Remove suppression code for VM crash! Celebrate!
Review URL: https://chromiumcodereview.appspot.com//10126011

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@6759 260f80e4-7a28-3924-810f-c04153c831b5
2012-04-19 18:22:50 +00:00
sgjesse@google.com 41cc58affa Fix a number of editor errors and warnings in io tests
R=ager@google.com

BUG=
TEST=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@6731 260f80e4-7a28-3924-810f-c04153c831b5
2012-04-19 09:17:14 +00:00