Commit Graph

370 Commits

Author SHA1 Message Date
dgrove@google.com 518b80f7c6 Continue removal of frog.
Review URL: https://chromiumcodereview.appspot.com//10854232

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@10996 260f80e4-7a28-3924-810f-c04153c831b5
2012-08-20 19:35:58 +00:00
dgrove@google.com 39889f6270 Move dartdoc from lib/ to pkg/ .
Reviewed at desk by rnystrom, since gcl upload fails when there
are binary images in the change.

TBR=rnystrom@google.com



git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@10776 260f80e4-7a28-3924-810f-c04153c831b5
2012-08-15 22:59:55 +00:00
devoncarew@google.com 07fb9c4a95 Increase the timeout for the dartc junit tests.
Review URL: https://chromiumcodereview.appspot.com//10831333

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@10766 260f80e4-7a28-3924-810f-c04153c831b5
2012-08-15 20:10:23 +00:00
antonm@google.com d5405063c1 Ignore unrecognized flags when running DartVM.
That matches behaviour of other chains which end up running on DartVM.

R=smok@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@10749 260f80e4-7a28-3924-810f-c04153c831b5
2012-08-15 16:56:43 +00:00
ricow@google.com 942e3cf4c1 Add a support for a slow marker in status files.
The reasoning for this is that we want to have a sufficiently low
timeout to catch performance regressions, but still want to maintain
the support for having a few tests that takes a longer time to
complete.

This cl adds 2 slow functions, I will add more if any additional tests timeout on the buildbot.
Review URL: https://chromiumcodereview.appspot.com//10854156

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@10714 260f80e4-7a28-3924-810f-c04153c831b5
2012-08-15 11:55:44 +00:00
alanknight@google.com 4d23964337 Run tests in the pkg sub-directory when running all
Review URL: https://chromiumcodereview.appspot.com//10825358

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@10695 260f80e4-7a28-3924-810f-c04153c831b5
2012-08-15 00:38:49 +00:00
dgrove@google.com c265902bea Move unittest from lib to pkg.
Review URL: https://chromiumcodereview.appspot.com//10836241

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@10685 260f80e4-7a28-3924-810f-c04153c831b5
2012-08-14 22:36:59 +00:00
antonm@google.com 0bdef30a5b Do not force checked mode on VM.
R=whesse@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@10635 260f80e4-7a28-3924-810f-c04153c831b5
2012-08-14 11:47:35 +00:00
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
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
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 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
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 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
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
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
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
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
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
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
ahe@google.com ec723484c6 Handle native paths in test wrappers.
Review URL: https://chromiumcodereview.appspot.com//10447060

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@8041 260f80e4-7a28-3924-810f-c04153c831b5
2012-05-29 09:15:28 +00:00
ngeoffray@google.com 3c29a44d83 Add a browser configuration to avoid repeating (runtime == 'ff' || runtime == 'ie' || ...).
Review URL: https://chromiumcodereview.appspot.com//10451062

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@8035 260f80e4-7a28-3924-810f-c04153c831b5
2012-05-29 07:39:36 +00:00
whesse@google.com 820b8e5672 Fix bug in refactoring of string concatenations in test code.
BUG=
TEST=test.py --compiler=dartc --runtime=none dartc/junit

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@7898 260f80e4-7a28-3924-810f-c04153c831b5
2012-05-23 09:15:46 +00:00
whesse@google.com a4e88c8b3e Remove string concatenation with + from all Dart files in tools directory.
Fix whitespace errors and rename shadowed variable in ddbg.dart.

BUG=
TEST=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@7897 260f80e4-7a28-3924-810f-c04153c831b5
2012-05-23 08:51:38 +00:00
whesse@google.com a7ccbaf9ba Remove string concatenation using + from test_suite.dart. Simplify output directory recursive directory creation, removing a TODO.
BUG=
TEST=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@7845 260f80e4-7a28-3924-810f-c04153c831b5
2012-05-22 11:15:08 +00:00