Commit Graph

1865 Commits

Author SHA1 Message Date
mattsh@google.com 1d37faa181 trimmed newline in frogpad output
BUG=
TEST=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@5580 260f80e4-7a28-3924-810f-c04153c831b5
2012-03-16 18:31:53 +00:00
ahe@google.com 884ca9aade Add --host-checked option to test.dart and use it on dart2js build bots.
Review URL: https://chromiumcodereview.appspot.com//9704019

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@5511 260f80e4-7a28-3924-810f-c04153c831b5
2012-03-15 06:59:16 +00:00
ager@google.com 467f901665 Update stable test binaries.
R=zundel@google.com
BUG=
TEST=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@5467 260f80e4-7a28-3924-810f-c04153c831b5
2012-03-14 14:14:01 +00:00
antonm@google.com 33f5b3f573 Revert "Wrap multioption args into quotes."
Review URL: https://chromiumcodereview.appspot.com//9700018

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@5466 260f80e4-7a28-3924-810f-c04153c831b5
2012-03-14 13:56:44 +00:00
antonm@google.com 9ee478ef3a Wrap multioption args into quotes.
Review URL: https://chromiumcodereview.appspot.com//9699019

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@5458 260f80e4-7a28-3924-810f-c04153c831b5
2012-03-14 12:36:30 +00:00
hausner@google.com 63b525bb0e Revert change 5444
Review URL: https://chromiumcodereview.appspot.com//9703004

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@5448 260f80e4-7a28-3924-810f-c04153c831b5
2012-03-14 00:35:16 +00:00
hausner@google.com a995d60106 named optional parameters must not be private
Named optional parameters may not start with an underscore '_'.

Fix issue 434 (http://code.google.com/p/dart/issues/detail?id=434)
Review URL: https://chromiumcodereview.appspot.com//9701001

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@5444 260f80e4-7a28-3924-810f-c04153c831b5
2012-03-13 23:24:37 +00:00
vsm@google.com 3fe7e6b239 Add git svn support to create_graph.py.
This lets git users test locally.

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@5426 260f80e4-7a28-3924-810f-c04153c831b5
2012-03-13 18:35:47 +00:00
whesse@google.com 20ed810cc7 Fix test.dart in the case of running dartium tests on Windows without building dart.
BUG=
TEST=test.py -cdartium

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@5420 260f80e4-7a28-3924-810f-c04153c831b5
2012-03-13 17:49:07 +00:00
whesse@google.com cc32995172 In test_runner.dart, trim spaces from a special command before checking an assert.
BUG=dart:2131
TEST=tools/test.py --valgrind

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@5398 260f80e4-7a28-3924-810f-c04153c831b5
2012-03-13 13:11:42 +00:00
whesse@google.com 874e325ace Revert stray edit to test.dart.
BUG=
TEST=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@5387 260f80e4-7a28-3924-810f-c04153c831b5
2012-03-13 10:22:00 +00:00
mattsh@google.com a3d56000af fix directory ambiguity problem in frogpad
BUG=
TEST=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@5373 260f80e4-7a28-3924-810f-c04153c831b5
2012-03-13 00:11:27 +00:00
mattsh@google.com 7cebe7570b removed unused chromium component
BUG=
TEST=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@5372 260f80e4-7a28-3924-810f-c04153c831b5
2012-03-13 00:10:27 +00:00
efortuna@google.com dc32a3ecb5 revert change 5358
Review URL: https://chromiumcodereview.appspot.com//9689029

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@5362 260f80e4-7a28-3924-810f-c04153c831b5
2012-03-12 21:01:55 +00:00
efortuna@google.com 9c40b0c82b Not properly handling backslashes for extra files on Windows.
Review URL: https://chromiumcodereview.appspot.com//9677008

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@5358 260f80e4-7a28-3924-810f-c04153c831b5
2012-03-12 20:43:05 +00:00
efortuna@google.com 75f9d253dd Fix build breakage caused from revision 5341 in Windows.
TBR: whesse@google.com
Review URL: https://chromiumcodereview.appspot.com//9677007

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@5355 260f80e4-7a28-3924-810f-c04153c831b5
2012-03-12 20:22:24 +00:00
zundel@google.com 02858c27a9 Base test case of a multi-test now insists no static type warnings
There were 5 multitests that need adjustment after this change. 4 of them
were trivial changes, so I went ahead and fixed them.

http://code.google.com/p/dart/issues/detail?id=2107

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@5350 260f80e4-7a28-3924-810f-c04153c831b5
2012-03-12 19:41:07 +00:00
whesse@google.com 9fd54b2ed5 Remove invalid assert from test.dart, that webdriver tests require DumpRenderTree.
TBR=ager@google.com
BUG=
TEST=test.py -cwebdriver

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@5342 260f80e4-7a28-3924-810f-c04153c831b5
2012-03-12 18:22:36 +00:00
whesse@google.com 13e331b53c Add get_drt.py to test.dart, so that testing browser components updates DumpRenderTree.
BUG=
TEST=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@5341 260f80e4-7a28-3924-810f-c04153c831b5
2012-03-12 18:12:56 +00:00
whesse@google.com bb385c8b50 Fix some type and logical errors in test.dart, found by the Dart editor.
BUG=
TEST=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@5334 260f80e4-7a28-3924-810f-c04153c831b5
2012-03-12 16:46:45 +00:00
mattsh@google.com e13b59e7cf Revert "Revert the revert."
This reverts commit 6f2615a9e5162ccb5b678a924d5d11ecdadbfff8.

BUG=
TEST=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@5272 260f80e4-7a28-3924-810f-c04153c831b5
2012-03-10 00:17:14 +00:00
mattsh@google.com 65b2c304e5 make test.py invoked under xvfb-runw
BUG=
TEST=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@5268 260f80e4-7a28-3924-810f-c04153c831b5
2012-03-09 23:19:17 +00:00
efortuna@google.com 8c0a55b24f Take out force browser close.
Now that the tests are more stable with the batch runner, we won't force all
browser windows to close. If it seems this is still needed on the buildbots,
we'll move the logic into builbot_annotated_steps.py.
Review URL: https://chromiumcodereview.appspot.com//9649011

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@5263 260f80e4-7a28-3924-810f-c04153c831b5
2012-03-09 22:26:10 +00:00
mattsh@google.com cd421383d2 add xvfb
BUG=
TEST=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@5262 260f80e4-7a28-3924-810f-c04153c831b5
2012-03-09 22:22:42 +00:00
mattsh@google.com 3c22704fd2 now use xvfb
BUG=
TEST=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@5258 260f80e4-7a28-3924-810f-c04153c831b5
2012-03-09 22:16:36 +00:00
mattsh@google.com 0dd164aa24 fix logging.info
BUG=
TEST=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@5254 260f80e4-7a28-3924-810f-c04153c831b5
2012-03-09 21:41:27 +00:00
mattsh@google.com 669c67d299 adding cwd logging
BUG=
TEST=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@5251 260f80e4-7a28-3924-810f-c04153c831b5
2012-03-09 21:25:22 +00:00
mattsh@google.com 17cf3623f4 Revert the revert.
This reverts commit 738ecebb4a1719beda41c17c994bb7b60c4791f7.

BUG=
TEST=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@5248 260f80e4-7a28-3924-810f-c04153c831b5
2012-03-09 21:05:25 +00:00
zundel@google.com b9fc839bcc Change string used to annotate static type issues to 'static type warning' in multitest
Gilad requested we update the annotation used in multitests to reflect
the terminology used in the Dart specification.

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@5233 260f80e4-7a28-3924-810f-c04153c831b5
2012-03-09 14:01:03 +00:00
whesse@google.com 744ca3cf46 Fix whitespace, long lines, and "boolean".
BUG=
TEST=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@5225 260f80e4-7a28-3924-810f-c04153c831b5
2012-03-09 09:46:01 +00:00
mattsh@google.com 51fe0dab31 revert prior submit
BUG=
TEST=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@5216 260f80e4-7a28-3924-810f-c04153c831b5
2012-03-09 04:04:27 +00:00
mattsh@google.com e34bb02189 print stderr
BUG=
TEST=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@5215 260f80e4-7a28-3924-810f-c04153c831b5
2012-03-09 03:52:26 +00:00
mattsh@google.com 62c53d0dce fix stderr format
BUG=
TEST=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@5214 260f80e4-7a28-3924-810f-c04153c831b5
2012-03-09 03:48:15 +00:00
mattsh@google.com 4a21184e4f fix exit_code
BUG=
TEST=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@5213 260f80e4-7a28-3924-810f-c04153c831b5
2012-03-09 03:40:45 +00:00
mattsh@google.com 33b9b1d586 fix log level
BUG=
TEST=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@5212 260f80e4-7a28-3924-810f-c04153c831b5
2012-03-09 03:28:55 +00:00
mattsh@google.com 9c15b85e7a fix log_level
BUG=
TEST=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@5210 260f80e4-7a28-3924-810f-c04153c831b5
2012-03-09 02:38:47 +00:00
mattsh@google.com c3a5ab0129 remove node.js dependency by running the frog compiler in
DumpRenderTree instead of on node.js

BUG=
TEST=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@5207 260f80e4-7a28-3924-810f-c04153c831b5
2012-03-09 00:57:29 +00:00
zundel@google.com 28595b885e Multitest annotations now accept multiple annotations on one line.
Many times a test case involves a static type warning for the
static analyzer and a dynamic type error for the VM or dart
compiled to JS, but not always.  Thus, this change introduces
the annotations as allowing multiple outcomes for a test.

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@5191 260f80e4-7a28-3924-810f-c04153c831b5
2012-03-08 19:33:22 +00:00
jmesserly@google.com 4cbd0a8a8e fix #resource tag in browser tests. Now ResourceTest passes :)
Review URL: https://chromiumcodereview.appspot.com//9448001

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@5166 260f80e4-7a28-3924-810f-c04153c831b5
2012-03-08 12:38:21 +00:00
ager@google.com 2fd60df247 Change test_runner.dart to always move on in the batch runner if the batch runner crashed.
If the batch runner crashes we close the streams and restart a new
process.

The other alternative is to distinguish between a hard crash or the java
process and a soft crash where we throw an exception. On a soft crash
we can put a token in stderr, wait for stderr to drain and then restart
the process. I don't think that adds much. If there is a soft crash the
crash indication is all that really matters and we need to fix that in
any case before moving on.

R=whesse@google.com,zundel@google.com
BUG=
TEST=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@5156 260f80e4-7a28-3924-810f-c04153c831b5
2012-03-08 09:16:56 +00:00
mattsh@google.com d8af601ce4 removed unused 'prefix' line from status files
Review URL: https://chromiumcodereview.appspot.com//9621003

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@5101 260f80e4-7a28-3924-810f-c04153c831b5
2012-03-07 16:10:57 +00:00
mattsh@google.com 644f5ba733 create build_frogpad_js.py to help repro bug 1700
BUG=
TEST=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@5041 260f80e4-7a28-3924-810f-c04153c831b5
2012-03-06 18:27:06 +00:00
jacobr@google.com de1d525459 Enable new dart:html wrapperless frog bindings and wrapper dartium bindings.
Split unittest.dart into unittest_html and unittest_dom

Bug fixes to the new dart:html bindings to compile with dartc.

BUG=
TEST=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@4998 260f80e4-7a28-3924-810f-c04153c831b5
2012-03-06 00:30:09 +00:00
efortuna@google.com 24340ce51b Clean up temporary directories in buildbot script.
Review URL: https://chromiumcodereview.appspot.com//9600033

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@4985 260f80e4-7a28-3924-810f-c04153c831b5
2012-03-05 22:15:31 +00:00
efortuna@google.com c82f3462c9 Fix for webdriver_test_setup in Windows, and don't force close of the browsers if we're not running on a buildbot.
Review URL: https://chromiumcodereview.appspot.com//9601023

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@4984 260f80e4-7a28-3924-810f-c04153c831b5
2012-03-05 22:14:36 +00:00
zundel@google.com a3f451b2ec Removes a redundant mode_arch component from paths for generated tests
Review URL: https://chromiumcodereview.appspot.com//9595022

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@4979 260f80e4-7a28-3924-810f-c04153c831b5
2012-03-05 20:08:31 +00:00
mattsh@google.com c93f8c7ca5 documented component
BUG=
TEST=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@4968 260f80e4-7a28-3924-810f-c04153c831b5
2012-03-05 18:48:14 +00:00
zundel@google.com 0789695885 Re-apply "Enable use of #import stmts containing relative paths in Dart multitests"
Commit r4858 broke browser tests because of recursive directory handling.

I've removed the reference to the new recursive directory creation routine
from the 'createOutputDirectory()' method.  I don't understand the current
directory structure - it might be a bug, but my attempt to fix it
leaves browser tests in a broken state.

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@4954 260f80e4-7a28-3924-810f-c04153c831b5
2012-03-05 15:07:37 +00:00
ager@google.com b2b123d24b Update Timer API to take the callback as the last parameter.
This makes the code easier to read when the callback actually does
work:

  new Timer(1000, (t) {
    // do
    // lots
    // of
    // stuff
  });

Also, it is more consistent with the rest of the APIs.

R=sgjesse@google.com
BUG=
TEST=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@4945 260f80e4-7a28-3924-810f-c04153c831b5
2012-03-05 12:43:41 +00:00
asiva@google.com fd22ae633c Disable build of simarm from the -arch=all configuration.
Review URL: https://chromiumcodereview.appspot.com//9581037

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@4914 260f80e4-7a28-3924-810f-c04153c831b5
2012-03-03 01:44:24 +00:00