Commit Graph

1865 Commits

Author SHA1 Message Date
scheglov@google.com ba4c0b4a2b Fix test_suite.dart to fix dartc tests
R=brianwilkerson@google.com
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@10580 260f80e4-7a28-3924-810f-c04153c831b5
2012-08-13 15:03:56 +00:00
antonm@google.com b5afc18701 Speculative fix for dartc problem.
TBR=whesse@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@10576 260f80e4-7a28-3924-810f-c04153c831b5
2012-08-13 14:43:26 +00:00
antonm@google.com 553cfe80b6 Proper support for VMOptions declarations for dart2dart.
Plus remove suppressions for now passing tests and retriage ones
for which we hoped the reason was in VMOptions.

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@10563 260f80e4-7a28-3924-810f-c04153c831b5
2012-08-13 12:05:58 +00:00
efortuna@google.com 5072b18d98 Enable Opera testing (!!!).
Review URL: https://chromiumcodereview.appspot.com//10832239

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@10513 260f80e4-7a28-3924-810f-c04153c831b5
2012-08-10 16:50:34 +00:00
sigmund@google.com 26eed674ba Fix layout tests.
Review URL: https://chromiumcodereview.appspot.com//10854075

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@10462 260f80e4-7a28-3924-810f-c04153c831b5
2012-08-09 21:52:07 +00:00
vsm@google.com 7a5a9ecc63 More robust exit test for Dromaeo
This should fix the immediate close in Safari.

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@10423 260f80e4-7a28-3924-810f-c04153c831b5
2012-08-08 22:02:31 +00:00
gram@google.com 04addcf452 Fix break.
Review URL: https://chromiumcodereview.appspot.com//10834195

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@10317 260f80e4-7a28-3924-810f-c04153c831b5
2012-08-06 22:57:17 +00:00
gram@google.com 8532a6349d Clean up the test wrapper code so that it does not use reportTestError, and made that private.
The HTML configs still need a way of reporting errors so I added a method to Config which can be used for this purpose. This seems a bit cleaner and more flexible, as configs can now override this.
Review URL: https://chromiumcodereview.appspot.com//10854013

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@10311 260f80e4-7a28-3924-810f-c04153c831b5
2012-08-06 22:00:59 +00:00
efortuna@google.com df9944faad Update script to switch through revision history successfully.
Review URL: https://chromiumcodereview.appspot.com//10832149

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@10271 260f80e4-7a28-3924-810f-c04153c831b5
2012-08-04 20:37:24 +00:00
ager@google.com 4531c0c770 Remove old isolate API and update all code in the repository to use
the new API.

R=kasperl@google.com,sigmund@google.com,turnidge@google.com
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@10210 260f80e4-7a28-3924-810f-c04153c831b5
2012-08-03 07:24:29 +00:00
efortuna@google.com 44d192d551 Properly update chromedriver.
Review URL: https://chromiumcodereview.appspot.com//10826125

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@10200 260f80e4-7a28-3924-810f-c04153c831b5
2012-08-02 22:22:47 +00:00
efortuna@google.com ee6d5ce9fd Rerun each CL 10 times to smooth out noise in perf testing.
Review URL: https://chromiumcodereview.appspot.com//10828077

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@10086 260f80e4-7a28-3924-810f-c04153c831b5
2012-07-31 20:17:05 +00:00
antonm@google.com 74d17a16f9 dart2dart compiler support.
R=whesse@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@9880 260f80e4-7a28-3924-810f-c04153c831b5
2012-07-25 11:20:41 +00:00
vsm@google.com 6c344183fc Initial tests for JS interop
BUG=625

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@9384 260f80e4-7a28-3924-810f-c04153c831b5
2012-07-04 07:45:41 +00:00
antonm@google.com 2b5662a8de Try to speed up output piping.
Chances are that leads to mysterious timeouts.

R=sigmund@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@9366 260f80e4-7a28-3924-810f-c04153c831b5
2012-07-03 17:56:58 +00:00
whesse@google.com 139a410f1c Test Scripts: Fix Windows path error in layout tests.
BUG=3942
TEST=tools/test.py -c none -r drt html/shadow_dom_layout

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@9283 260f80e4-7a28-3924-810f-c04153c831b5
2012-07-02 10:51:52 +00:00
whesse@google.com 28a43a2280 Add test for native extensions that copies the extension to a test directory and runs it.
BUG=dart:1817
TEST=standalone/io/test_extension_test

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@9247 260f80e4-7a28-3924-810f-c04153c831b5
2012-06-29 12:45:28 +00:00
sigmund@google.com be52d28a66 fixing drt-trampoline
BUG=http://dartbug.com/3917

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@9230 260f80e4-7a28-3924-810f-c04153c831b5
2012-06-28 21:55:40 +00:00
sigmund@google.com 25a24b69a5 Adds support for layout tests.
Review URL: https://chromiumcodereview.appspot.com//10683009

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@9207 260f80e4-7a28-3924-810f-c04153c831b5
2012-06-28 17:05:10 +00:00
whesse@google.com ee9d6f8844 Test scripts: Replace a guard that was optimistically removed, fixing a break on Windows.
BUG=
TEST=tools/test.py

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@9205 260f80e4-7a28-3924-810f-c04153c831b5
2012-06-28 16:15:08 +00:00
whesse@google.com 79b7dc558d Test scripts: Fix a missing Path.toNativePath() in reading status files for tests.
BUG=
TEST=tools/test.py

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@9204 260f80e4-7a28-3924-810f-c04153c831b5
2012-06-28 15:52:18 +00:00
whesse@google.com 5673b2b301 Add Path library and change test scripts, combined change.
Use Path for the filename and TestInformation.filename throughout test scripts.

Change test_suite.dart to use Path class.

Fix bug in join

Address comments.

Address comments

Address comments on Path library.

Add path library to dart:io.

BUG=
TEST=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@9203 260f80e4-7a28-3924-810f-c04153c831b5
2012-06-28 15:39:28 +00:00
samhop@google.com 9d08d66b7d added preliminary ShadowDOM tests
BUG=
TEST=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@9141 260f80e4-7a28-3924-810f-c04153c831b5
2012-06-26 23:16:07 +00:00
ahe@google.com 968159dba8 Revert "Added the ability to filter which tests are run by name, using a --filter argument passed to test.dart."
Review URL: https://chromiumcodereview.appspot.com//10632017

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@9018 260f80e4-7a28-3924-810f-c04153c831b5
2012-06-22 09:14:54 +00:00
ahe@google.com d8a395734a Correctly detect unhandled exceptions on Windows.
Review URL: https://chromiumcodereview.appspot.com//10572047

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@9015 260f80e4-7a28-3924-810f-c04153c831b5
2012-06-22 08:46:02 +00:00
gram@google.com 2436664bb5 Added the ability to filter which tests are run by name, using a --filter argument passed to test.dart.
Review URL: https://chromiumcodereview.appspot.com//10627008

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@9006 260f80e4-7a28-3924-810f-c04153c831b5
2012-06-21 22:03:55 +00:00
efortuna@google.com a539626bb3 Fix webdriver test setup script for windows and add proper path for pip.
Review URL: https://chromiumcodereview.appspot.com//10634013

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@9005 260f80e4-7a28-3924-810f-c04153c831b5
2012-06-21 21:54:20 +00:00
iposva@google.com 0fd25118b9 - Move the Timer interface to the dart:isolate library so that it
is accessible from both client and standalone program.
- Enable a way for the embedder to provide the implementation of
  the Timer interface.
- Update tests.
Review URL: https://chromiumcodereview.appspot.com//10532123

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@8987 260f80e4-7a28-3924-810f-c04153c831b5
2012-06-21 16:17:21 +00:00
sigmund@google.com 82f6756e91 Listen for on.error events in test_controller.js
Review URL: https://chromiumcodereview.appspot.com//10627004

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@8983 260f80e4-7a28-3924-810f-c04153c831b5
2012-06-21 15:32:40 +00:00
vsm@google.com 652d9a986d Remove dom from test_options
TBR=sra

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@8867 260f80e4-7a28-3924-810f-c04153c831b5
2012-06-19 19:53:29 +00:00
efortuna@google.com 75de60eed8 Get Dromaeo benchmarks running again.
Review URL: https://chromiumcodereview.appspot.com//10577010

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@8829 260f80e4-7a28-3924-810f-c04153c831b5
2012-06-18 23:20:33 +00:00
whesse@google.com a4d55c1bc6 Test infrastructure: Remove "race condition" bug from restarting batch process runners.
BUG=
TEST=tools/test.py -c dartc -r none

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@8794 260f80e4-7a28-3924-810f-c04153c831b5
2012-06-18 13:36:10 +00:00
whesse@google.com b080bc440e Drop obsolete special case from test.dart for dartc/samples status file.
BUG=
TEST=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@8549 260f80e4-7a28-3924-810f-c04153c831b5
2012-06-12 14:01:16 +00:00
efortuna@google.com 17f116fc9a MessageFormat fixup
Review URL: https://chromiumcodereview.appspot.com//10538033

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@8413 260f80e4-7a28-3924-810f-c04153c831b5
2012-06-07 23:37:28 +00:00
zundel@google.com 8574e3abdf Renamed the 'dartc' launch script to 'dart_analyzer' and adds it to dart-sdk
Some now unused scripts and files were also removed.

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

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@8392 260f80e4-7a28-3924-810f-c04153c831b5
2012-06-07 12:39:38 +00:00
kasperl@google.com 52990c6f01 Try to fix IE issues.
Add <meta> tag to our generated browser test cases to make sure IE does not use IE7 compatibility mode when loading these from the intranet.

R=ngeoffray@google.com
BUG=
TEST=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@8380 260f80e4-7a28-3924-810f-c04153c831b5
2012-06-07 08:17:53 +00:00
zundel@google.com a45703b87a Reverts r8373 "Renamed the 'dartc' launch script to 'dart_analysis'"
Not all linux builders have same Java configuration.  Browser builds on
windows invoke dart_analyzer build.

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@8377 260f80e4-7a28-3924-810f-c04153c831b5
2012-06-07 01:57:19 +00:00
zundel@google.com d8e00833f2 merged
executable suffix

Merge branch 'master' into rename-dartc

 added missing line of code from bad merge

merged

 updated

Merge branch 'master' into rename-dartc

 updated

 updated

 committed

 updated test_suite.dart

 updated create_sdk.py

 fixed up dart.gyp

 added dart_analyzer.sh

 added analyzer_series_test.sh

added analyzer_metrics.sh

 added dart_analyzer.xml

BUG=
TEST=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@8376 260f80e4-7a28-3924-810f-c04153c831b5
2012-06-07 01:35:40 +00:00
zundel@google.com 9f4387bf1e another patch up for windows in test_suite.dart.
Review URL: https://chromiumcodereview.appspot.com//10532045

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@8375 260f80e4-7a28-3924-810f-c04153c831b5
2012-06-07 01:28:05 +00:00
zundel@google.com 629ad67b51 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@8373 260f80e4-7a28-3924-810f-c04153c831b5
2012-06-07 01:16:04 +00:00
whesse@google.com dff5549f93 Eliminate standalone timeout_test, pass_test, and fail_test.
These are now built into standalone/io/test_runner_test.

BUG=dart:3216
TEST=tools/test.py standalone/io/test_runner_test

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@8315 260f80e4-7a28-3924-810f-c04153c831b5
2012-06-06 09:18:37 +00:00
efortuna@google.com 4bd7052a8b Get performance tests running without frog in the SDK.
Review URL: https://chromiumcodereview.appspot.com//10510010

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@8309 260f80e4-7a28-3924-810f-c04153c831b5
2012-06-05 22:38:54 +00:00
ahe@google.com 96ac4bc26e Remove underscores from configurations.
Underscores don't work in Visual Studio 2010.

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@8235 260f80e4-7a28-3924-810f-c04153c831b5
2012-06-04 07:41:59 +00:00
efortuna@google.com fbc9385f56 Run dart2js browser benchpress tests.
Review URL: https://chromiumcodereview.appspot.com//10458061

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@8168 260f80e4-7a28-3924-810f-c04153c831b5
2012-05-31 17:41:49 +00:00
ahe@google.com 725984cf50 Create a unique name for each failure step.
Review URL: https://chromiumcodereview.appspot.com//10456026

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@8091 260f80e4-7a28-3924-810f-c04153c831b5
2012-05-30 09:12:51 +00:00
whesse@google.com 823eac8021 Fix erroneous asynchronous code in test scripts (batch runner).
BUG=3286
TEST=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@8058 260f80e4-7a28-3924-810f-c04153c831b5
2012-05-29 13:49:27 +00:00
ahe@google.com f6d5547147 Make sure the failing build step is red.
Review URL: https://chromiumcodereview.appspot.com//10448050

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@8056 260f80e4-7a28-3924-810f-c04153c831b5
2012-05-29 13:22:13 +00:00
ahe@google.com 857a7108d9 Improve annotated steps output:
* Make sure a step is started before anything is printed (this removes the "preamble" section).

* Create a "failures" step before printing the failures again. This makes it easier to find the failures (especially, from a mobile browser).

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@8054 260f80e4-7a28-3924-810f-c04153c831b5
2012-05-29 13:01:22 +00:00
whesse@google.com 7cbe0da91d Revert "Add some temporary code to work around an error in test scripts, to fix buildbots."
This reverts commit 40369a8c5e5b32bdcbbbda2c5779ea83369e7d39.

BUG=dart:3286
TEST=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@8053 260f80e4-7a28-3924-810f-c04153c831b5
2012-05-29 12:41:58 +00:00
whesse@google.com 4e32a2e22a Add some temporary code to work around an error in test scripts, to fix buildbots.
BUG=
TEST=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@8043 260f80e4-7a28-3924-810f-c04153c831b5
2012-05-29 09:27:23 +00:00