Commit Graph

1689 Commits

Author SHA1 Message Date
ahe@google.com e98525d2ba dart2js_developer is not in the SDK.
Review URL: https://chromiumcodereview.appspot.com//10304008

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@7232 260f80e4-7a28-3924-810f-c04153c831b5
2012-05-02 12:13:28 +00:00
ahe@google.com c4c5443e6b Shoehorn dart2js into the SDK.
Review URL: https://chromiumcodereview.appspot.com//10266011

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@7230 260f80e4-7a28-3924-810f-c04153c831b5
2012-05-02 11:48:06 +00:00
vsm@google.com bf779d8e33 Suppress get_drt/dartium download if an executable is provided via flag
Note, the Dartium win bot was hanging (I believe timing out) at this
point running the webdriver test even though it was providing its own
binary.  I had commented out the webdriver test - this CL should
enable it to work again.

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@7194 260f80e4-7a28-3924-810f-c04153c831b5
2012-05-01 16:34:51 +00:00
efortuna@google.com 94c7096faf Skip crashing test on Chrome in Windows.
Review URL: https://chromiumcodereview.appspot.com//10267016

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@7171 260f80e4-7a28-3924-810f-c04153c831b5
2012-04-30 23:08:05 +00:00
efortuna@google.com 6c8c8ff71d Change "VM" for DromaeoSize.
Review URL: https://chromiumcodereview.appspot.com//10270026

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@7170 260f80e4-7a28-3924-810f-c04153c831b5
2012-04-30 22:01:58 +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
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 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
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
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
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
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
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 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
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
efortuna@google.com d2f2f746ee fix crash in VM type checked mode
Review URL: https://chromiumcodereview.appspot.com//10124002

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@6721 260f80e4-7a28-3924-810f-c04153c831b5
2012-04-19 01:16:00 +00:00
efortuna@google.com 0d589f65f9 Fix issue 2625.
Review URL: https://chromiumcodereview.appspot.com//10041031

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@6699 260f80e4-7a28-3924-810f-c04153c831b5
2012-04-18 17:16:25 +00:00
vsm@google.com 253597427c Add Dartium to browser_perf tests
Review URL: https://chromiumcodereview.appspot.com//10095016

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@6696 260f80e4-7a28-3924-810f-c04153c831b5
2012-04-18 15:46:31 +00:00
ager@google.com 37b82247ac Remove need to instantiate Platform and make methods static.
This will require an update of the stable test binary. I will upload
a new build when done with the review process.

R=sgjesse@google.com
BUG=
TEST=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@6682 260f80e4-7a28-3924-810f-c04153c831b5
2012-04-18 11:39:16 +00:00
efortuna@google.com d986fd676b Get Dromaeo tests running on Windows.
Review URL: https://chromiumcodereview.appspot.com//10115011

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@6666 260f80e4-7a28-3924-810f-c04153c831b5
2012-04-17 23:23:37 +00:00
zundel@google.com 4ce241dc76 Revert "Renamed the 'dartc' launch script to 'dart_analyzer' and adds it to dart-sdk"
This reverts r6629.  Breaks the windows editor build in a different way.

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@6633 260f80e4-7a28-3924-810f-c04153c831b5
2012-04-17 13:26:54 +00:00
zundel@google.com f209ea4140 Renamed the 'dartc' launch script to 'dart_analyzer' and adds it to dart-sdk
Some now unused scripts and files were also removed.

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@6629 260f80e4-7a28-3924-810f-c04153c831b5
2012-04-17 12:59:39 +00:00
efortuna@google.com 7e3897e122 Fix install script to deal with unzip for Windows.
Review URL: https://chromiumcodereview.appspot.com//10106012

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@6614 260f80e4-7a28-3924-810f-c04153c831b5
2012-04-17 01:07:45 +00:00
whesse@google.com ec58b8b233 Fix some type warnings in the test scripts, that show up when using the editor.
BUG=
TEST=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@6569 260f80e4-7a28-3924-810f-c04153c831b5
2012-04-16 12:41:45 +00:00
efortuna@google.com fc9c2d5eb3 Switch to using wiki page for brower test setup instructions, and cleanup readme file.
Review URL: https://chromiumcodereview.appspot.com//10079026

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@6555 260f80e4-7a28-3924-810f-c04153c831b5
2012-04-14 00:29:25 +00:00