Commit Graph

1865 Commits

Author SHA1 Message Date
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
efortuna@google.com 1dc456d66e Fix auto-install script to properly install on Windows.
Review URL: https://chromiumcodereview.appspot.com//10082031

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@6546 260f80e4-7a28-3924-810f-c04153c831b5
2012-04-14 00:02:20 +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 d0849c3575 Fix firefox install on setup script.
Review URL: https://chromiumcodereview.appspot.com//10084015

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@6539 260f80e4-7a28-3924-810f-c04153c831b5
2012-04-13 18:21:23 +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 d72332b690 Fix graphing error.
Review URL: https://chromiumcodereview.appspot.com//10069025

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