Commit Graph

449 Commits

Author SHA1 Message Date
efortuna@google.com f46f19e0ff Fix dealing with incomplete files as the first set of files encountered.
Review URL: https://chromiumcodereview.appspot.com//10391037

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@7477 260f80e4-7a28-3924-810f-c04153c831b5
2012-05-09 23:21:52 +00:00
efortuna@google.com c8f1b44423 Store files locally in a different location after they've been posted.
Review URL: https://chromiumcodereview.appspot.com//10383053

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@7424 260f80e4-7a28-3924-810f-c04153c831b5
2012-05-08 16:53:39 +00:00
mattsh@google.com 3ee233c155 updated legpad with new DART2JS_LIBRARY_MAP
BUG=
TEST=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@7417 260f80e4-7a28-3924-810f-c04153c831b5
2012-05-08 15:06:05 +00:00
ngeoffray@google.com 4e3f5102f9 Start implementing checked mode and tools support for using it.
Review URL: https://chromiumcodereview.appspot.com//10353014

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@7375 260f80e4-7a28-3924-810f-c04153c831b5
2012-05-07 13:18:21 +00:00
efortuna@google.com dd900032c4 Make change to actually upload to app engine.
Review URL: https://chromiumcodereview.appspot.com//10360004

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@7296 260f80e4-7a28-3924-810f-c04153c831b5
2012-05-03 18:23:06 +00:00
ager@google.com e6b2635059 Change Platform members to getters instead of methods.
R=sgjesse@google.com
BUG=dartbug.com/1668
TEST=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@7282 260f80e4-7a28-3924-810f-c04153c831b5
2012-05-03 13:16:33 +00:00
sigmund@google.com 8369d0ad46 reenable some dartc tests that have been disabled accidentally. Move
client/dartc/ to samples/dartc/.

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@7262 260f80e4-7a28-3924-810f-c04153c831b5
2012-05-02 22:55:51 +00:00
efortuna@google.com ea407c8a0f Add uploading to appengine code back in.
Review URL: https://chromiumcodereview.appspot.com//10340006

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@7259 260f80e4-7a28-3924-810f-c04153c831b5
2012-05-02 22:31:13 +00:00
sigmund@google.com e14efee078 fix vm test configuration to specify vm/cc
Review URL: https://chromiumcodereview.appspot.com//10335002

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@7254 260f80e4-7a28-3924-810f-c04153c831b5
2012-05-02 20:35:01 +00:00
sigmund@google.com 5b8ad6bfab test rename overhaul: step 14 - vm tests
Review URL: https://chromiumcodereview.appspot.com//10271014

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@7245 260f80e4-7a28-3924-810f-c04153c831b5
2012-05-02 16:46:16 +00:00
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