Commit Graph

1128 Commits

Author SHA1 Message Date
whesse@google.com edcdb5e02d Update co19 test suite to r737
R=ricow@google.com

Review URL: https://codereview.chromium.org//330633002

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@37305 260f80e4-7a28-3924-810f-c04153c831b5
2014-06-13 08:15:06 +00:00
zra@google.com e3f564fb6c Changes for running tests on arm64 hardware.
R=regis@google.com

Review URL: https://codereview.chromium.org//311413002

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@37046 260f80e4-7a28-3924-810f-c04153c831b5
2014-06-05 18:43:55 +00:00
sigmund@google.com 5e8288d086 Once again, seems that there are still tests failing with 59 chars. Seems that
is the longest we got in the bots thus far.

Review URL: https://codereview.chromium.org//300973004

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@36773 260f80e4-7a28-3924-810f-c04153c831b5
2014-05-28 22:20:43 +00:00
nweiz@google.com 37a3ab9189 Code review changes for r36718.
R=kustermann@google.com

Review URL: https://codereview.chromium.org//303693006

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@36765 260f80e4-7a28-3924-810f-c04153c831b5
2014-05-28 20:37:43 +00:00
sigmund@google.com 702986dc4b Fix again long paths in windows - seems that we had an off by one error in this
check.

Review URL: https://codereview.chromium.org//307693004

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@36761 260f80e4-7a28-3924-810f-c04153c831b5
2014-05-28 20:05:58 +00:00
sigmund@google.com b8e0779330 Patch long names in polymer/e2e_test/... (updates test_suite.dart)
R=jmesserly@google.com, ricow@google.com

Review URL: https://codereview.chromium.org//305633003

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@36755 260f80e4-7a28-3924-810f-c04153c831b5
2014-05-28 18:14:18 +00:00
nweiz@google.com 9c43b077fb Don't run tests against pinned barback versions in third_party.
These packages are kept around to ensure that pub continues working
with historic barback versions, but pub's test suite handles loading
and testing against them manually. Other test suites (pkgbuild in
particular) can safely ignore them.

TBR

Review URL: https://codereview.chromium.org//306603002

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@36718 260f80e4-7a28-3924-810f-c04153c831b5
2014-05-27 23:05:18 +00:00
ahe@google.com c5a9af1d62 Send data with 404 response
The primary reason is to work around http://dartbug.com/19024, but this is not a hack or temporary code.

R=ricow@google.com

Review URL: https://codereview.chromium.org//301683002

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@36675 260f80e4-7a28-3924-810f-c04153c831b5
2014-05-27 13:30:49 +00:00
ricow@google.com 6da681a7f4 Add dart2js batch mode support
This removes an old map from runtimes to executables that is no longer needed and instead assumes a ProcessCommand that has an executable.
The added benefit of this is that it works with --use-sdk (and there are less code to maintain)

The flag to enable dart2js batch mode is temporary until we can switch the default.

When we can, this can go away and we can reuse the noBatch flag (which defaults to false)

R=whesse@google.com

Review URL: https://codereview.chromium.org//305453003

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@36628 260f80e4-7a28-3924-810f-c04153c831b5
2014-05-26 11:03:03 +00:00
whesse@google.com 6fc4ef13a6 Fix logical error in r36299
BUG=
R=kustermann@google.com

Review URL: https://codereview.chromium.org//295603003

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@36301 260f80e4-7a28-3924-810f-c04153c831b5
2014-05-19 15:01:37 +00:00
whesse@google.com dae3c92848 test.dart: Handle checkout paths containing spaces.
Change TestUtils to correctly convert from a URI to a file path, and
simplify the setting of the path to the Dart checkout.

R=kustermann@google.com

Review URL: https://codereview.chromium.org//282173004

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@36299 260f80e4-7a28-3924-810f-c04153c831b5
2014-05-19 14:30:26 +00:00
efortuna@google.com cad8fc591c Add additional case where we use the use-dart2js-libraries flag in test.dart.
BUG=
R=whesse@google.com

Review URL: https://codereview.chromium.org//283223003

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@36224 260f80e4-7a28-3924-810f-c04153c831b5
2014-05-15 15:27:19 +00:00
efortuna@google.com 3a51e6bf88 Update test.dart to tell the analyzer to use the --use-dart2js-libraries flag when analyzing dart2js libs.
BUG=
R=brianwilkerson@google.com

Review URL: https://codereview.chromium.org//286883004

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@36189 260f80e4-7a28-3924-810f-c04153c831b5
2014-05-14 20:34:43 +00:00
zra@google.com 2146126308 Fix bug on arm64.
Also increases test timeout to match simarm and simmips.

R=regis@google.com

Review URL: https://codereview.chromium.org//283833005

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@36175 260f80e4-7a28-3924-810f-c04153c831b5
2014-05-14 16:56:12 +00:00
ricow@google.com 51df890220 Add missing file from revert in revision 36165
Review URL: https://codereview.chromium.org//272543007

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@36167 260f80e4-7a28-3924-810f-c04153c831b5
2014-05-14 13:53:01 +00:00
ricow@google.com d4c3fb063b Revert revisions 36163 and 36162
Review URL: https://codereview.chromium.org//288703003

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@36165 260f80e4-7a28-3924-810f-c04153c831b5
2014-05-14 13:41:58 +00:00
ricow@google.com 4872c41303 Cache output of dart2js compilations that went wrong on disk.
This change adds a out.js.cached_output (or equivalent) for compilations that fails.
There are two cases where this helps:
  Commits where the sdk does not change and but we would normally recompile since we don't have the dart2js output
  Runs on the buildbot where we do several runs on different runtimes in serial

Additionally, this introduces a check on multitest files so we don't copy the file if the content is already correct. The reason for this is that a bunch of tests depend on the copied import which will then trigger a recompilation.
This will help in the same two cases as above.

This change also changes dart2js to always output the deps file, otherwise we have no way of knowing if we can reuse the output.

R=floitsch@google.com, kustermann@google.com, whesse@google.com

Review URL: https://codereview.chromium.org//256743009

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@36162 260f80e4-7a28-3924-810f-c04153c831b5
2014-05-14 12:54:01 +00:00
ricow@google.com 6be37386e0 Add mobile safari simulator support in the testing scripts
R=whesse@google.com

Review URL: https://codereview.chromium.org//262763005

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@35626 260f80e4-7a28-3924-810f-c04153c831b5
2014-05-01 11:32:08 +00:00
whesse@google.com 89c4738b70 Fix long co19 path names in new directory.
BUG=
R=ricow@google.com

Review URL: https://codereview.chromium.org//266523002

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@35567 260f80e4-7a28-3924-810f-c04153c831b5
2014-04-30 09:41:13 +00:00
ricow@google.com 9a9ca47034 Add clear_browser_cache flag to test.dart
This can be used by any browser implementation to flush browser specific caches if set

clear_safari_cache is left in as a synonym for now, I will remove if after I update the bots
Review URL: https://chromiumcodereview.appspot.com//252653007

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@35477 260f80e4-7a28-3924-810f-c04153c831b5
2014-04-28 09:38:31 +00:00
ricow@google.com 6886c3f350 Add default selector exclution flag to test.dart
This can be used like this:
tools/test.py -mrelease --exclude-suite=co19,pkg
to run the default selector tests but not run pkg and co19 tests.

Why am I doing this:
We want to keep broad testing on developer machines, but want to allow testing resources to have a better and more logic distribution on the bots, e.g., not run pkg tests on the vm bots.

R=whesse@google.com

Review URL: https://codereview.chromium.org//256703003

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@35424 260f80e4-7a28-3924-810f-c04153c831b5
2014-04-25 14:42:33 +00:00
whesse@google.com 9bb09add29 Reduce memory usage of test.dart: canonicalize Set<Expectation>
BUG=dartbug.com/18084
R=kustermann@google.com

Review URL: https://codereview.chromium.org//258523006

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@35375 260f80e4-7a28-3924-810f-c04153c831b5
2014-04-24 15:42:17 +00:00
whesse@google.com afbf758380 Reduce test.dart memory usage
BUG=dartbug.com/18084
R=ricow@google.com

Review URL: https://codereview.chromium.org//247223009

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@35365 260f80e4-7a28-3924-810f-c04153c831b5
2014-04-24 11:09:49 +00:00
whesse@google.com bede5d4373 Reduce test.dart memory usage.
BUG=dartbug.com/18084
R=ricow@google.com

Review URL: https://codereview.chromium.org//234673003

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@35313 260f80e4-7a28-3924-810f-c04153c831b5
2014-04-23 15:07:47 +00:00
whesse@google.com 4faa800a5c Remove obsolete "interop.js" from browser test scripts.
BUG=dartbug.com/17661
R=ricow@google.com

Review URL: https://codereview.chromium.org//246443005

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@35248 260f80e4-7a28-3924-810f-c04153c831b5
2014-04-22 08:00:10 +00:00
efortuna@google.com d8a23ea25a "Reverting 35157"
BUG=
R=blois@google.com

Review URL: https://codereview.chromium.org//243253002

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@35211 260f80e4-7a28-3924-810f-c04153c831b5
2014-04-21 17:51:42 +00:00
efortuna@google.com b5ffc1968e Fix Browser Controller to not reuse iFrames, which can sometimes cause bad state to be left between tests.
BUG=
R=jmesserly@google.com

Review URL: https://codereview.chromium.org//241783003

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@35157 260f80e4-7a28-3924-810f-c04153c831b5
2014-04-17 22:56:05 +00:00
paulberry@google.com b2a55b4309 Avoid exceptions when analyzing truncated test output.
r34867 introduced a mechanism to truncate excessively long test
output.  Since the truncation may happen in the middle of a line, we
need to be tolerant of mal-formed lines when analyzing the test
output.

R=kustermann@google.com, whesse@google.com

Review URL: https://codereview.chromium.org//236313005

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@35063 260f80e4-7a28-3924-810f-c04153c831b5
2014-04-15 15:49:36 +00:00
whesse@google.com 48b4b4550f Reduce test.dart memory usage.
BUG=18084
R=kustermann@google.com

Review URL: https://codereview.chromium.org//239003002

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@35058 260f80e4-7a28-3924-810f-c04153c831b5
2014-04-15 12:50:46 +00:00
whesse@google.com 052d61b1da Truncate excessively long output from tests in test.dart.
BUG=dartbug.com/18084
R=kustermann@google.com

Review URL: https://codereview.chromium.org//227113010

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@34867 260f80e4-7a28-3924-810f-c04153c831b5
2014-04-09 10:38:28 +00:00
sigmund@google.com 5c363f6831 Include PUB_CACHE when invoking build.dart too.
R=whesse@google.com

Review URL: https://codereview.chromium.org//229183002

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@34843 260f80e4-7a28-3924-810f-c04153c831b5
2014-04-08 21:09:37 +00:00
whesse@google.com 55546df84a Update co19 test suite to r706
R=kustermann@google.com

Review URL: https://codereview.chromium.org//225403020

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@34826 260f80e4-7a28-3924-810f-c04153c831b5
2014-04-08 14:48:59 +00:00
whesse@google.com 9139d46d39 test.dart: Enable shortening of shorter generated test paths on Windows.
BUG=
R=kustermann@google.com

Review URL: https://codereview.chromium.org//226543004

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@34780 260f80e4-7a28-3924-810f-c04153c831b5
2014-04-07 15:28:47 +00:00
whesse@google.com 25c05ba8ea test.dart: Shorten long paths for generated test files on Windows.
BUG=
R=kustermann@google.com

Review URL: https://codereview.chromium.org//225863004

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@34778 260f80e4-7a28-3924-810f-c04153c831b5
2014-04-07 14:47:30 +00:00
whesse@google.com 8fb7ab6c74 test.dart: Add timeout for browsers that are started but do not fetch tests.
BUG=
R=kustermann@google.com

Review URL: https://codereview.chromium.org//218683009

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@34701 260f80e4-7a28-3924-810f-c04153c831b5
2014-04-03 12:35:22 +00:00
ricow@google.com d3305f559c Don't send csp flag to polymer build step
Filed issue 18011 to track removing unneccesary stuff from polymer pkg

R=johnniwinther@google.com

Review URL: https://codereview.chromium.org//223403004

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@34686 260f80e4-7a28-3924-810f-c04153c831b5
2014-04-03 08:54:55 +00:00
zra@google.com 2fe51715e5 Begins work on ARM64, first assembler test.
Most new code is in constants_arm64.h and
{assembler,disassembler,simulator}_arm64.{h,cc}

The rest of the CL just #def's out tests, modifies status files,
and adds UNIMPLEMENTED functions, etc.

R=regis@google.com

Review URL: https://codereview.chromium.org//221133002

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@34654 260f80e4-7a28-3924-810f-c04153c831b5
2014-04-02 17:39:32 +00:00
kustermann@google.com e14b9b8c57 Prevent test.dart warning "TestCase would be finished twice"
BUG=
R=ricow@google.com, whesse@google.com

Review URL: https://codereview.chromium.org//220243011

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@34638 260f80e4-7a28-3924-810f-c04153c831b5
2014-04-02 08:04:31 +00:00
johnniwinther@google.com cf376bee12 Deprecate automatic generation of precompiled.js.
RELNOTES=Deprecate automatic generation of precompiled.js from dart2js.
R=floitsch@google.com, ricow@google.com

Review URL: https://codereview.chromium.org//219053003

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@34637 260f80e4-7a28-3924-810f-c04153c831b5
2014-04-02 05:59:48 +00:00
efortuna@google.com 8cb301d6c1 Added TodoMVC startup benchmarks.
R=jmesserly@google.com

Review URL: https://codereview.chromium.org//204733004

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@34561 260f80e4-7a28-3924-810f-c04153c831b5
2014-03-31 17:09:00 +00:00
kevmoo@google.com 56eccbca88 test_options tweak post json fix
R=ricow@google.com

Review URL: https://codereview.chromium.org//213203007

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@34560 260f80e4-7a28-3924-810f-c04153c831b5
2014-03-31 16:14:20 +00:00
scheglov@google.com d5780f88b9 Rollback 215463002.
R=brianwilkerson@google.com, ricow@google.com
BUG=

Review URL: https://codereview.chromium.org//215683002

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@34491 260f80e4-7a28-3924-810f-c04153c831b5
2014-03-27 23:57:32 +00:00
scheglov@google.com 5a9afd5f64 Move Dart-based analyzer script to packages.
Rico, can you please change the performance tool to use this pkg/analyzer/bin/analyzer script?

R=brianwilkerson@google.com, ricow@google.com
BUG=

Review URL: https://codereview.chromium.org//215463002

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@34483 260f80e4-7a28-3924-810f-c04153c831b5
2014-03-27 21:38:35 +00:00
whesse@google.com 5578cc0ce0 Revert co19 roll (revert r34468)
Some path names of generated files for new co19 tests are longer than the Windows pathname limit of 254 characters.

R=ricow@google.com

Review URL: https://codereview.chromium.org//213473009

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@34471 260f80e4-7a28-3924-810f-c04153c831b5
2014-03-27 13:25:35 +00:00
whesse@google.com 412fb33dac Update co19 test suite to r706
BUG=dartbug.com/17758
R=kustermann@google.com

Review URL: https://codereview.chromium.org//211383002

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@34468 260f80e4-7a28-3924-810f-c04153c831b5
2014-03-27 12:14:00 +00:00
johnniwinther@google.com 1692a15f4e Add 'static type error' tags to multitests.
BUG=http://dartbug.com/16411
R=ricow@google.com

Review URL: https://codereview.chromium.org//150223002

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@34412 260f80e4-7a28-3924-810f-c04153c831b5
2014-03-26 09:03:47 +00:00
ahe@google.com 425792636f Fix a null error on empty suites.
R=whesse@google.com

Review URL: https://codereview.chromium.org//211103005

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@34365 260f80e4-7a28-3924-810f-c04153c831b5
2014-03-25 15:02:43 +00:00
ricow@google.com 618140cd95 Get the correct version of ie from the reg database
version is 9.0.FOO.BAR on ie9
           9.10.XFOO.XBAR on ie10
           9.11.ZFOO.ZBAR on ie11

svcVersion is a more sane number, i.e., on ie10 it is 10.0.9200.16843 (atm) and on ie11 it is 11.0.9600.16521 (atm)

R=whesse@google.com

Review URL: https://codereview.chromium.org//210783004

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@34355 260f80e4-7a28-3924-810f-c04153c831b5
2014-03-25 12:47:59 +00:00
ricow@google.com ccdfcc90aa Add a generic ie marker that we can use in the status files
R=whesse@google.com

Review URL: https://codereview.chromium.org//210893002

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@34354 260f80e4-7a28-3924-810f-c04153c831b5
2014-03-25 12:47:51 +00:00
ricow@google.com ffb5397a8b Add default location for ie11
R=whesse@google.com

Review URL: https://codereview.chromium.org//208653011

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@34350 260f80e4-7a28-3924-810f-c04153c831b5
2014-03-25 09:14:32 +00:00