Commit Graph

6631 Commits

Author SHA1 Message Date
rnystrom@google.com 139b211f7d First check in for pub package manager.
It doesn't do anything more than show usage and version, but the test
infrastructure is there.

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@6066 260f80e4-7a28-3924-810f-c04153c831b5
2012-03-30 20:48:32 +00:00
asiva@google.com 29334088c1 Fix configuration check so that the test scripts runs the vm unit tests.
Review URL: https://chromiumcodereview.appspot.com//9956005

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@6045 260f80e4-7a28-3924-810f-c04153c831b5
2012-03-30 16:18:41 +00:00
mattsh@google.com 13fa7a6330 legpad.py (python script that generates legpad.html files)
BUG=
TEST=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@6041 260f80e4-7a28-3924-810f-c04153c831b5
2012-03-30 15:41:00 +00:00
vsm@google.com a8c2357dea Some clean up on run_perf_test
Review URL: https://chromiumcodereview.appspot.com//9933002

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@6022 260f80e4-7a28-3924-810f-c04153c831b5
2012-03-30 04:28:13 +00:00
efortuna@google.com 83d84bfcb3 Improve help output and Windows VM hack.
Review URL: https://chromiumcodereview.appspot.com//9949001

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@6018 260f80e4-7a28-3924-810f-c04153c831b5
2012-03-30 02:23:13 +00:00
rnystrom@google.com d068ce4b3e Oops.
Review URL: https://chromiumcodereview.appspot.com//9937007

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@6016 260f80e4-7a28-3924-810f-c04153c831b5
2012-03-30 01:26:39 +00:00
rnystrom@google.com 26947913d9 Add DirectoryTestSuite.
Review URL: https://chromiumcodereview.appspot.com//9863057

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@6010 260f80e4-7a28-3924-810f-c04153c831b5
2012-03-29 23:37:31 +00:00
efortuna@google.com 691a98a1e1 Total hack to mask the VM crash to get Windows bots running again. (Fake a PASS
when the VM crashes on compile with the particular error code.)
Review URL: https://chromiumcodereview.appspot.com//9887001

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@6005 260f80e4-7a28-3924-810f-c04153c831b5
2012-03-29 22:43:52 +00:00
efortuna@google.com ec1c8454bd Improve invalid file handling and command line options for perf script.
Review URL: https://chromiumcodereview.appspot.com//9910026

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@6002 260f80e4-7a28-3924-810f-c04153c831b5
2012-03-29 20:48:25 +00:00
efortuna@google.com df1cff62ae Fix path previously only intended for Windows. (Now runs also if the out directory doesn't exist).
Review URL: https://chromiumcodereview.appspot.com//9911018

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@5997 260f80e4-7a28-3924-810f-c04153c831b5
2012-03-29 18:37:45 +00:00
efortuna@google.com de2df24b75 Get rid of --component in perf testing script.
Review URL: https://chromiumcodereview.appspot.com//9923016

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@5993 260f80e4-7a28-3924-810f-c04153c831b5
2012-03-29 17:56:21 +00:00
ricow@google.com 07610dd414 Don't use the full filename for hash value when sharding tests, this will make the result depend on the directory layout (which is not the same on the buildbot).
Review URL: https://chromiumcodereview.appspot.com//9918017

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@5983 260f80e4-7a28-3924-810f-c04153c831b5
2012-03-29 17:02:52 +00:00
ricow@google.com 74e2bf9a04 Use string hash for sharding tests instead of using an index in a sorted list.
This is done to avoid issues on the buildbot where a failure could
potentially be pinned to the wrong revision.
Review URL: https://chromiumcodereview.appspot.com//9927001

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@5979 260f80e4-7a28-3924-810f-c04153c831b5
2012-03-29 16:47:55 +00:00
whesse@google.com 4e3a5d4f37 Shard tests run by test.dart, so they can be distributed to multiple machines.
This adds the --shards and --shard option.  Shards is the number of shards, and shard is the 1-based index of this shard.

BUG=
TEST=tools/test.py --shards=3 --shard=1

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@5960 260f80e4-7a28-3924-810f-c04153c831b5
2012-03-28 23:15:44 +00:00
dgrove@google.com ca61f09608 Move unittest into lib, and put it into the SDK.
Review URL: http://codereview.chromium.org//9802015

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@5956 260f80e4-7a28-3924-810f-c04153c831b5
2012-03-28 22:26:14 +00:00
efortuna@google.com 2e5f443d1a Delete temporary files on firefox bot.
Review URL: https://chromiumcodereview.appspot.com//9837126

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@5951 260f80e4-7a28-3924-810f-c04153c831b5
2012-03-28 21:46:18 +00:00
vsm@google.com 59d574c599 Move copy_dart.py from client to tools
Review URL: https://chromiumcodereview.appspot.com//9789004

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@5941 260f80e4-7a28-3924-810f-c04153c831b5
2012-03-28 17:51:20 +00:00
zundel@google.com aafda3eaa1 Conditionally create the lib/isolate/runtime directory
Review URL: https://chromiumcodereview.appspot.com//9837110

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@5933 260f80e4-7a28-3924-810f-c04153c831b5
2012-03-28 14:59:47 +00:00
zundel@google.com e5ca48a7d5 Removes dartc reliance on its own libraries, now can be targeted at any implementation's libraries
Adds a new cmdline flags

--dart-sdk to point it at a directory where the dart library files are staged
--platform the name of the platform {dartium, vm, frog, dart2js}
to target with the analyzer

Committed: https://code.google.com/p/dart/source/detail?r=5885

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@5930 260f80e4-7a28-3924-810f-c04153c831b5
2012-03-28 14:20:29 +00:00
ahe@google.com a7b2cbc0f0 Fix the SDK build after frog/leg rename.
Review URL: https://chromiumcodereview.appspot.com//9877001

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@5927 260f80e4-7a28-3924-810f-c04153c831b5
2012-03-28 10:40:28 +00:00
efortuna@google.com 71ad23e52c Apply Siggi's comments (compile also for drt step).
TBR=sigmund@google.com
Review URL: https://chromiumcodereview.appspot.com//9791042

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@5914 260f80e4-7a28-3924-810f-c04153c831b5
2012-03-27 22:05:21 +00:00
efortuna@google.com cc5382cc0a Demorgan's law application failure.
TBR=sigmund@google.com
Review URL: https://chromiumcodereview.appspot.com//9864054

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@5908 260f80e4-7a28-3924-810f-c04153c831b5
2012-03-27 21:02:39 +00:00
efortuna@google.com d8ad4a2086 Fix merge failure. Compile step for frog.
Review URL: https://chromiumcodereview.appspot.com//9861038

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@5906 260f80e4-7a28-3924-810f-c04153c831b5
2012-03-27 20:48:53 +00:00
efortuna@google.com 411bab35d4 Fix typo 2
Review URL: https://chromiumcodereview.appspot.com//9860049

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@5897 260f80e4-7a28-3924-810f-c04153c831b5
2012-03-27 19:17:22 +00:00
efortuna@google.com 15ac7efa09 Add frog and froglib options back in dartium uses them.
TBR=vsm@google.com
Review URL: https://chromiumcodereview.appspot.com//9865033

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@5896 260f80e4-7a28-3924-810f-c04153c831b5
2012-03-27 19:16:23 +00:00
efortuna@google.com 85346eb7bc Fix VM.
TBR
Review URL: https://chromiumcodereview.appspot.com//9863045

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@5895 260f80e4-7a28-3924-810f-c04153c831b5
2012-03-27 19:05:58 +00:00
efortuna@google.com c8e35dbeb1 Rename test.dart component to specify compiler + runtime.
Review URL: https://chromiumcodereview.appspot.com//9838068

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@5893 260f80e4-7a28-3924-810f-c04153c831b5
2012-03-27 18:40:41 +00:00
zundel@google.com 1486f2602d Revert "Removes dartc reliance on its own libraries, now can be targeted at any implementation's libraries"
This reverts commit r5885 which works locally, but not on the builder

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@5886 260f80e4-7a28-3924-810f-c04153c831b5
2012-03-27 17:04:03 +00:00
zundel@google.com b838d39acb Removes dartc reliance on its own libraries, now can be targeted at any implementation's libraries
Adds a new cmdline flags

--dart-sdk to point it at a directory where the dart library files are staged
--platform the name of the platform {dartium, vm, frog, dart2js}
to target with the analyzer

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@5885 260f80e4-7a28-3924-810f-c04153c831b5
2012-03-27 16:25:54 +00:00
mattsh@google.com ed060deddf add legpad
BUG=
TEST=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@5860 260f80e4-7a28-3924-810f-c04153c831b5
2012-03-27 02:34:28 +00:00
dgrove@google.com 7d558789d6 Rename client/{dom,html} to lib/{dom,html} .
Review URL: http://codereview.chromium.org//9845043

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@5840 260f80e4-7a28-3924-810f-c04153c831b5
2012-03-26 16:29:54 +00:00
ahe@google.com dfe94552d1 Require compile mode.
Review URL: https://chromiumcodereview.appspot.com//9836085

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@5813 260f80e4-7a28-3924-810f-c04153c831b5
2012-03-26 06:33:16 +00:00
zundel@google.com d2ce092831 Fixes two type warnings in test_runner.dart
Review URL: https://chromiumcodereview.appspot.com//9845029

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@5798 260f80e4-7a28-3924-810f-c04153c831b5
2012-03-23 23:31:01 +00:00
ahe@google.com 29f23acca0 Make a VM crash more obvious.
Review URL: https://chromiumcodereview.appspot.com//9838017

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@5774 260f80e4-7a28-3924-810f-c04153c831b5
2012-03-23 11:52:43 +00:00
ahe@google.com 4862db199f Recognize VM stack traces to enable M-x next-error, etc.
Review URL: https://chromiumcodereview.appspot.com//9836003

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@5755 260f80e4-7a28-3924-810f-c04153c831b5
2012-03-22 16:08:22 +00:00
ager@google.com 15889a3c5f Use dart:io directory deletion instead of starting a process.
Bill, Eric, is this path ever hit at this point. It seems to me
that it was only hit when dartc produced output to be run in
a browser. If that is the case, could one of you remove all the
code that has to do with the temporary directory handling as
a follow-up change?

R=zundel@google.com,whesse@google.com
BUG=1211
TEST=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@5748 260f80e4-7a28-3924-810f-c04153c831b5
2012-03-22 12:03:30 +00:00
ahe@google.com 87a64a1be8 Add "mock" compilation feature to dart2js and use it to improve test coverage.
Review URL: https://chromiumcodereview.appspot.com//9813012

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@5743 260f80e4-7a28-3924-810f-c04153c831b5
2012-03-22 10:34:03 +00:00
ager@google.com 2aba281fa6 Remove backwards compatibility 'win32' name from test status files.
Using win32 instead of windows was temporary to be compatible with
the old python script. That is now gone.

R=antonm@google.com
BUG=
TEST=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@5736 260f80e4-7a28-3924-810f-c04153c831b5
2012-03-21 22:06:52 +00:00
efortuna@google.com 41441de90e Fix webdriver setup.
Review URL: https://chromiumcodereview.appspot.com//9748022

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@5693 260f80e4-7a28-3924-810f-c04153c831b5
2012-03-20 17:48:37 +00:00
ahe@google.com 4ca586ce37 Revert "Switch frog tests to run on frogsh"
Review URL: https://chromiumcodereview.appspot.com//9732031

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@5667 260f80e4-7a28-3924-810f-c04153c831b5
2012-03-19 23:34:54 +00:00
jmesserly@google.com 653c01192c Switch frog tests to run on frogsh
This is a patch from issue 9724008, with a one line change to corelib.status

TBR=efortuna@google.com

Committed: https://code.google.com/p/dart/source/detail?r=5661

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@5663 260f80e4-7a28-3924-810f-c04153c831b5
2012-03-19 23:05:23 +00:00
jmesserly@google.com 114d8e634a revert r5661
Review URL: https://chromiumcodereview.appspot.com//9730017

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@5662 260f80e4-7a28-3924-810f-c04153c831b5
2012-03-19 22:39:17 +00:00
jmesserly@google.com de11dc720a Switch frog tests to run on frogsh
This is a patch from issue 9724008, with a one line change to corelib.status

TBR=efortuna@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@5661 260f80e4-7a28-3924-810f-c04153c831b5
2012-03-19 22:28:15 +00:00
rnystrom@google.com 1ab996e50f Get rid of bash for dartdoc and do the whole thing in dart.
Review URL: https://chromiumcodereview.appspot.com//9722012

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@5659 260f80e4-7a28-3924-810f-c04153c831b5
2012-03-19 21:30:34 +00:00
ahe@google.com dd96f32250 Rename leg -> dart2js.
Review URL: https://chromiumcodereview.appspot.com//9717033

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@5636 260f80e4-7a28-3924-810f-c04153c831b5
2012-03-19 08:36:39 +00:00
ahe@google.com 787c939d5f Set timeout multipliers based on observed values
Review URL: https://chromiumcodereview.appspot.com//9719024

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@5617 260f80e4-7a28-3924-810f-c04153c831b5
2012-03-18 07:43:44 +00:00
ahe@google.com 37e5c1aad2 Double timeout in host_checked mode
Review URL: https://chromiumcodereview.appspot.com//9718021

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@5616 260f80e4-7a28-3924-810f-c04153c831b5
2012-03-18 07:30:43 +00:00
efortuna@google.com 3abf33b06b Revert r5607. Not all the new machines have node installed. :-(
TBR=rnystrom@google.com
Review URL: https://chromiumcodereview.appspot.com//9724009

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@5608 260f80e4-7a28-3924-810f-c04153c831b5
2012-03-17 00:43:30 +00:00
efortuna@google.com 056e9e5974 Switch frogium, legium, and webdriver tests to running on frogsh, until the VM bug gets fixed.
Review URL: https://chromiumcodereview.appspot.com//9724008

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@5607 260f80e4-7a28-3924-810f-c04153c831b5
2012-03-17 00:37:47 +00:00
efortuna@google.com 8c0039c490 Fix typo on run_perf_tests.py.
Review URL: https://chromiumcodereview.appspot.com//9724006

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@5602 260f80e4-7a28-3924-810f-c04153c831b5
2012-03-16 23:08:14 +00:00