Commit Graph

283 Commits

Author SHA1 Message Date
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
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
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
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
sigmund@google.com bfa1567347 changes to suppress vm failures in windows
Review URL: https://chromiumcodereview.appspot.com//10079015

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@6540 260f80e4-7a28-3924-810f-c04153c831b5
2012-04-13 20:20:51 +00:00
efortuna@google.com 7a1d9ee1b0 Mask VM crash for realsies.
Review URL: https://chromiumcodereview.appspot.com//10067022

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@6489 260f80e4-7a28-3924-810f-c04153c831b5
2012-04-12 23:26:03 +00:00
efortuna@google.com 5f113b4c94 Mask the "Kind:" error, too.
Review URL: https://chromiumcodereview.appspot.com//10064002

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@6487 260f80e4-7a28-3924-810f-c04153c831b5
2012-04-12 22:49:31 +00:00
vsm@google.com 78ea52b486 Selenium / Dartium cleanup
- Set client.status
- Enable executable path to be passed into test.dart (needed for dartium bots to invoke)

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@6387 260f80e4-7a28-3924-810f-c04153c831b5
2012-04-10 22:25:38 +00:00
vsm@google.com 2f2b098362 Add runtime=dartium webdriver support to test.dart
Review URL: https://chromiumcodereview.appspot.com//9960050

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@6381 260f80e4-7a28-3924-810f-c04153c831b5
2012-04-10 20:53:00 +00:00
zundel@google.com 50aa4ef307 Double the timeout for JUnit tests in dartc
Review URL: https://chromiumcodereview.appspot.com//10031029

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@6350 260f80e4-7a28-3924-810f-c04153c831b5
2012-04-10 06:48:56 +00:00
sigmund@google.com 15cc1bae7a make configurations like frog-none do the right thing: call frog, but don't
execute the code.

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@6346 260f80e4-7a28-3924-810f-c04153c831b5
2012-04-10 00:12:30 +00:00
sra@google.com 416af198eb Switch IndexedDB1Test to use addEventListener.
BUG=
TEST=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@6258 260f80e4-7a28-3924-810f-c04153c831b5
2012-04-06 01:28:11 +00:00
sra@google.com 36cce3e793 Revert "First indexeddb test"
This reverts commit 75eb74d0ae44d8716a33a33d9fda122d8c92329e.

BUG=
TEST=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@6256 260f80e4-7a28-3924-810f-c04153c831b5
2012-04-05 23:33:10 +00:00
sra@google.com baefe79b75 First indexeddb test
BUG=
TEST=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@6252 260f80e4-7a28-3924-810f-c04153c831b5
2012-04-05 23:01:43 +00:00
zundel@google.com 4d40985460 Implement @runtime-error in co19 tests for static analysis (no runtime)
http://code.google.com/p/dart/issues/detail?id=2406

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@6243 260f80e4-7a28-3924-810f-c04153c831b5
2012-04-05 19:39:38 +00:00
antonm@google.com af6e51cc22 Lift restrictions for browser test to pass.
If test prints something, those prints may go between 'Content-Type:...' and 'PASS'
strings.

BUG=2371

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@6174 260f80e4-7a28-3924-810f-c04153c831b5
2012-04-04 16:42:20 +00:00
eub@google.com bbbba54afc Fix "Compilion" typo.
Review URL: https://chromiumcodereview.appspot.com//9956127

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@6154 260f80e4-7a28-3924-810f-c04153c831b5
2012-04-03 23:52:41 +00:00
efortuna@google.com 5c65834f87 Mark Stopwatch Test as flaky.
Review URL: https://chromiumcodereview.appspot.com//9956090

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@6126 260f80e4-7a28-3924-810f-c04153c831b5
2012-04-03 16:57:04 +00:00
zundel@google.com 8cdd2f25cb Revert "Renamed the 'dartc' launch script to 'dart_analyzer' and adds it to dart-sdk"
Was r6073

BUG=
TEST=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@6074 260f80e4-7a28-3924-810f-c04153c831b5
2012-03-31 21:27:15 +00:00
zundel@google.com fdc069b8e4 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@6073 260f80e4-7a28-3924-810f-c04153c831b5
2012-03-31 17:19:32 +00:00
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
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
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
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
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
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
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
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