Commit Graph

383 Commits

Author SHA1 Message Date
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
efortuna@google.com 6d0547caf6 Major refactoring for run_perf_tests.py.
Review URL: https://chromiumcodereview.appspot.com//10027026

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@6344 260f80e4-7a28-3924-810f-c04153c831b5
2012-04-09 22:46:59 +00:00
vsm@google.com e17d681cc1 Preliminary selenium support for Dartium
Note, nothing is hooked up to get_drt.py --dartium yet.  Future CLs
will download it on demand in:
- run_perf_tests.py
- test.dart for webdriver tests

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@6343 260f80e4-7a28-3924-810f-c04153c831b5
2012-04-09 22:07:13 +00:00
efortuna@google.com af02299601 Further automation. Occasionaly we get a new svn server certificate, and we get
a prompt if we're willing to accept the certificate. This makes sure we don't
hang waiting for the user to respond on that.
Review URL: https://chromiumcodereview.appspot.com//10006052

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@6301 260f80e4-7a28-3924-810f-c04153c831b5
2012-04-07 01:27:52 +00:00
vsm@google.com adf73884eb Normalize droameo benchmarks to legal filenames in perf runner script
Review URL: https://chromiumcodereview.appspot.com//10012046

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@6293 260f80e4-7a28-3924-810f-c04153c831b5
2012-04-06 19:33:49 +00:00
efortuna@google.com b5b2eebe64 Make importing Matplotlib optional.
Review URL: https://chromiumcodereview.appspot.com//10005043

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@6290 260f80e4-7a28-3924-810f-c04153c831b5
2012-04-06 18:13:29 +00:00
efortuna@google.com 42fcd619b2 Fix typo and build v8.
Review URL: https://chromiumcodereview.appspot.com//10008038

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@6259 260f80e4-7a28-3924-810f-c04153c831b5
2012-04-06 02:03:09 +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
vsm@google.com 62a3c07ecb Refactor dromeao driver to skip broken tests
Review URL: https://chromiumcodereview.appspot.com//9949044

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@6257 260f80e4-7a28-3924-810f-c04153c831b5
2012-04-06 01:16:08 +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
vsm@google.com bfff69b0a0 Add a separate perf graph for dromaeo
Review URL: https://chromiumcodereview.appspot.com//9980019

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@6242 260f80e4-7a28-3924-810f-c04153c831b5
2012-04-05 19:33:54 +00:00
vsm@google.com 90fefc69d6 Various perf/selenium script cleanup suggested in earlier CLs
Review URL: https://chromiumcodereview.appspot.com//9960018

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@6219 260f80e4-7a28-3924-810f-c04153c831b5
2012-04-05 14:38:17 +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
mattsh@google.com eaa028f3d5 small fixes per code review
BUG=
TEST=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@6124 260f80e4-7a28-3924-810f-c04153c831b5
2012-04-03 16:19:46 +00:00
vsm@google.com a1a92bedb2 Add Dromaeo generated code size measurements
Review URL: https://chromiumcodereview.appspot.com//9969076

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@6123 260f80e4-7a28-3924-810f-c04153c831b5
2012-04-03 15:48:18 +00:00
vsm@google.com 1bb202400f Add support for Dromaeo tests in perf scripts.
Review URL: https://chromiumcodereview.appspot.com//9958051

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@6115 260f80e4-7a28-3924-810f-c04153c831b5
2012-04-02 22:13:58 +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
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
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