Commit Graph

1078 Commits

Author SHA1 Message Date
Paul Berry ff15ce7a9e Mark new test utilities_test as slow due to bug #24914
TBR=brianwilkerson@google.com

Review URL: https://codereview.chromium.org/1640403003 .
2016-01-28 09:45:54 -08:00
Florian Loitsch 66fad1459b Mark another analyzer test as slow.
Review URL: https://codereview.chromium.org/1629293004 .
2016-01-25 14:40:29 +01:00
Paul Berry 1883f70d46 Mark new test constant_test as slow due to bug #24914
TBR=skybrian@google.com

Review URL: https://codereview.chromium.org/1624093003 .
2016-01-25 08:16:11 -05:00
Florian Loitsch 5db493f5f5 Mark test as slow.
Review URL: https://codereview.chromium.org/1626323003 .
2016-01-25 13:44:28 +01:00
Florian Loitsch 8e5328ff6d Mark test as slow.
Review URL: https://codereview.chromium.org/1633523002 .
2016-01-25 13:13:25 +01:00
Zachary Anderson 80f358dede Adds targets for simarmv6 and armv6
related #25562

R=rmacnak@google.com

Review URL: https://codereview.chromium.org/1624593002 .
2016-01-22 13:07:48 -08:00
Paul Berry 1a91d3bc06 Update pkg.status for new strong mode summary tests.
TBR=scheglov@google.com

Review URL: https://codereview.chromium.org/1614363003 .
2016-01-22 13:32:00 -05:00
Paul Berry d6a8a2aa88 Fix dart2js status after splitting up summary tests.
Review URL: https://codereview.chromium.org/1611723002 .
2016-01-20 14:41:20 -08:00
Paul Berry 3dcef185d6 Fix newline normalization in _PhysicalFile.readAsStringSync().
Most clients of _PhysicalFile read the file by translating it into a
Source object using createSource() and then reading it using
FileBasedSource.contentsFromFile, which normalizes newlines using
FileBasedSource.fileReadMode.

However, a few clients read the file directly using
_PhysicalFile.readAsStringSync(), which wasn't doing the
normalization.  This CL adds the normalization to that code path.

One such client was the code generation logic for summaries; this
caused code generation to produce different results on Windows, which
led to a test failure.

Fixes #25470.

R=brianwilkerson@google.com

Review URL: https://codereview.chromium.org/1584313010 .
2016-01-15 12:54:22 -08:00
Konstantin Shcheglov 659c9b44e2 Mark analyzer/test/file_system/physical_resource_provider_test as Pass, Fail.
R=brianwilkerson@google.com, whesse@google.com
BUG=

Review URL: https://codereview.chromium.org/1581963009 .
2016-01-14 10:28:46 -08:00
William Hesse 84d7fd63f0 Update status of two analyzer tests.
BUG=https://github.com/dart-lang/sdk/issues/25471
BUG=https://github.com/dart-lang/sdk/issues/25470
R=ricow@google.com

Review URL: https://codereview.chromium.org/1588673005 .
2016-01-14 17:41:59 +01:00
Paul Berry fb83e3927f Mark some tests as slow due to bug #24914
TBR=brianwilkerson@google.com

Review URL: https://codereview.chromium.org/1577013002 .
2016-01-11 09:42:35 -08:00
Konstantin Shcheglov 49bc0f4b1d Remove Int64 support from FlatBuffers.
R=paulberry@google.com
BUG=

Review URL: https://codereview.chromium.org/1570193004 .
2016-01-09 10:20:30 -08:00
Konstantin Shcheglov d9bf185db4 Skip FlatBuffers tests on dart2js bots.
dart2js does not support Int64.

TBR

R=paulberry@google.com
BUG=

Review URL: https://codereview.chromium.org/1573613002 .
2016-01-08 11:39:16 -08:00
Kevin Millikin b5aac5b951 dart2js: Update test status files for the CPS backend.
After inlining, test expectations have changed.  A few tests have
starting unexpectedly passing --- this could be because inlining
implements the correct semantics, or the could be passing for the
wrong reason.  In any case, the underlying bug in the compiler has not
been fixed.

I will look into all these issues after the Christmas holidays.

BUG=

Review URL: https://codereview.chromium.org/1546943002 .
2015-12-23 12:25:59 +01:00
Kevin Millikin 044b283a3c dart2js: Initial implementation of inlining.
Perform a depth-first postorder traversal of the call graph of known
functions.  Make an inlining decision based on the vector of argument
types at the call site, and cache inlining decisions.  For positive
inlining decisions, cache the optimized function body specialized to
the receiver and argument types at the call site.

Future work:
  * Real inlining heuristics.
  * Propagate result types of inlined calls.
  * Specialized for constant arguments when it makes sense.
  * Performance improvements.

R=asgerf@google.com, sra@google.com

Committed: https://github.com/dart-lang/sdk/commit/d63053fea8731d2fb380022c1c3d296489d1c017

Review URL: https://codereview.chromium.org/1537663002 .
2015-12-23 10:12:19 +01:00
Kevin Millikin 75eb350abc Revert "dart2js: Initial implementation of inlining."
This reverts commit d63053fea8.

Reverted due to test failures for compiler expected output.  Those tests
need to be rebaselined to reflect the effects of inlining.

TBR=whesse@google.com
BUG=

Review URL: https://codereview.chromium.org/1542003003 .
2015-12-22 13:48:36 +01:00
Kevin Millikin d63053fea8 dart2js: Initial implementation of inlining.
Perform a depth-first postorder traversal of the call graph of known
functions.  Make an inlining decision based on the vector of argument
types at the call site, and cache inlining decisions.  For positive
inlining decisions, cache the optimized function body specialized to
the receiver and argument types at the call site.

Future work:
  * Real inlining heuristics.
  * Propagate result types of inlined calls.
  * Specialized for constant arguments when it makes sense.
  * Performance improvements.

R=asgerf@google.com, sra@google.com

Review URL: https://codereview.chromium.org/1537663002 .
2015-12-22 12:50:23 +01:00
Ivan Posva 21a029f89a - Do not attempt to run dart:io based tests in the browser.
BUG=

Review URL: https://codereview.chromium.org/1537853002 .
2015-12-17 15:50:07 -08:00
William Hesse 6485590527 Remove old java-based analyzer from test scripts and status files
BUG=
R=sgjesse@google.com

Review URL: https://codereview.chromium.org/1537653002 .
2015-12-17 14:44:57 +01:00
Stephen Adams 444499020b More pkg.status tests from analyzer that are slow
TBR=sigmund@google.com

Review URL: https://codereview.chromium.org/1531973002 .
2015-12-16 16:15:47 -08:00
Stephen Adams f264e5291c analyzer declaration_resolver_test is slow on dart2js
It is hovering around 55s, so times out too often.

TBR=sigmund@google.com

Review URL: https://codereview.chromium.org/1528133002 .
2015-12-15 12:27:10 -08:00
Paul Berry 1e0f112666 Update pkg.status to work around https://github.com/dart-lang/http_parser/issues/6
TBR=nweiz@google.com

Review URL: https://codereview.chromium.org/1513643011 .
2015-12-10 11:18:27 -08:00
Paul Berry 1c3fa08ca6 Update pkg.status to account for dart_style roll.
The dart_style roll fixed the remaining tests that were broken by the
merge of analyzer-breaking-0.27.

Fixes #25173.

TBR=rnystrom@google.com

Review URL: https://codereview.chromium.org/1514553003 .
2015-12-09 07:10:14 -08:00
Paul Berry b55257975b Update pkg.status file for library_member_contributor_test
This newly introduced test currently fails on the analyzer buildbot due
to transitive import dependencies on
dart_style/lib/src/dart_formatter.dart and
dart_style/lib/src/source_visitor.dart, which have known warnings.

TBR=danrubel@google.com

Review URL: https://codereview.chromium.org/1504713007 .
2015-12-08 13:16:25 -08:00
Paul Berry 89f475a5f2 Update pkg.status to account for linter roll.
The linter roll fixed 7 tests.

See bug #25173.

TBR=pquitslund@google.com

Review URL: https://codereview.chromium.org/1508153002 .
2015-12-08 11:47:58 -08:00
Paul Berry 2698fb583a Update pkg.status to account for recent analyzer breakages.
See bug #25173.

TBR=brianwilkerson@google.com

Review URL: https://codereview.chromium.org/1510873003 .
2015-12-08 10:38:56 -08:00
pq 968617b67a Status file update (vm only tests SkipByDesign).
Follow-up to https://codereview.chromium.org/1464833002/.

Rather than ignore, mark as `SkipByDesign` as CLI tests are designed for the VM.

R=sigmund@google.com

Review URL: https://codereview.chromium.org/1463593003 .
2015-11-20 10:19:29 -08:00
pq 8b6fb86397 Status file updates (analyzer_cli on dart2js).
We're hitting an issue that on the surface looks like the one discussed in https://github.com/dart-lang/sdk/issues/24914 (compilation time-outs).

This status file update gets us moving pending further investigation.

Aside: I'm using the big glob hammer here since we're certain to see more failures as we re-enable cli tests moving forward.

R=paulberry@google.com

Review URL: https://codereview.chromium.org/1464833002 .
2015-11-20 09:18:06 -08:00
William Hesse ebf8830dd2 Mark analyzer summary_test as slow.
BUG=
R=sgjesse@google.com

Review URL: https://codereview.chromium.org//1435893005 .
2015-11-13 17:49:04 +01:00
Paul Berry ca2721b5b4 Disable codegen test on browsers, since it uses dart:io
TBR=scheglov@google.com

Review URL: https://codereview.chromium.org/1414073006 .
2015-11-04 13:12:02 -08:00
William Hesse b1ee818ba8 Update status for slow analyzer tests.
Alphabetize and combine status file sections.

BUG=dartbug.com/21628
R=wibling@google.com

Review URL: https://codereview.chromium.org/1424483003 .
2015-11-03 11:39:15 +01:00
William Hesse ef5f949c86 Update status for dartium tests.
BUG=https://github.com/dart-lang/sdk/issues/24795
BUG=https://github.com/dart-lang/sdk/issues/24571
R=sgjesse@google.com

Review URL: https://codereview.chromium.org/1407113009 .
2015-11-02 16:19:59 +01:00
Asger Feldthaus 3634c3998a dart2js: Bugfix for when 'await' occurs in an initializer list.
If the JS ast contains an initializer list:

  var x = foo(), y = await x;

It would be retained as a single statement and generate invalid output
that awaits 'x' before it has been defined.

CLOSES=23997

BUG=
R=sigurdm@google.com

Review URL: https://codereview.chromium.org/1427593003 .
2015-10-27 11:36:57 +01:00
Paul Berry c5f4af4df6 Rework task model graphing to work on buildbots.
This CL reworks the task model grapher (formerly at
pkg/analyzer/tool/task_dependency_graph.dart, now at
pkg/analyzer/tool/task_dependency_graph/generate.dart) so that it
works similarly to the code generation in the analysis server.
Namely, the output file is stored in source control
(pkg/analyzer/tool/task_dependency_graph/tasks.dot), and a test run by
the buildbots verifies that it is up to date.  If it is not, the test
outputs the command necessary to update it.

This carries the benefit that:

- Anyone with access to an installation of graphviz can generate the
  task model graph easily from its .dot file.

- Any time a change occurs that affects task model dependencies, a
  test failure will prompt us that we need to generate a new .dot
  file.

- If a change ever occurs that breaks the ability of the task
  dependency grapher to produce the graph, a test failure will prompt
  us.

The downside is that when making a change that affects task model
dependencies, it is now necessary to re-run the script
pkg/analyzer/tool/task_dependency_graph/generate.dart to avoid a test
failure.

R=brianwilkerson@google.com, scheglov@google.com

Review URL: https://codereview.chromium.org/1408743006 .
2015-10-19 09:24:18 -07:00
William Hesse 874a1e0119 Update status for analysis_server tests.
BUG=https://github.com/dart-lang/sdk/issues/24597
R=paulberry@google.com

Review URL: https://codereview.chromium.org/1402873005 .
2015-10-15 16:39:58 +02:00
William Hesse 6c8a1a7f87 Increase timeout for analysis_server tests in debug mode.
BUG=https://github.com/dart-lang/sdk/issues/24596
BUG=https://github.com/dart-lang/sdk/issues/24597
R=ricow@google.com

Review URL: https://codereview.chromium.org/1399243006 .
2015-10-15 15:08:40 +02:00
Asger Feldthaus c4b418a2c3 dart2js cps: Updated status file for host-checked mode.
BUG=

Review URL: https://codereview.chromium.org/1402943003 .
2015-10-13 15:31:40 +02:00
Asger Feldthaus f1a40e23c1 dart2js cps: Status updates and minor fixes for host checked mode.
CPS should now run the test suite cleanly in host-checked mode. Let's keep it that way.

BUG=
R=floitsch@google.com

Review URL: https://codereview.chromium.org/1377323003 .
2015-10-02 15:36:21 +02:00
keertip 18b68f7290 remove docgen remnants from repo, update CHANGELOG
BUG=
R=alanknight@google.com, whesse@google.com

Review URL: https://codereview.chromium.org//1361163002 .
2015-09-23 10:27:15 -07:00
Karl Klose e28e578731 dart2js cps: Support sync* and yield.
R=asgerf@google.com, kmillikin@google.com

Review URL: https://codereview.chromium.org//1353843002 .
2015-09-23 11:01:34 +02:00
Karl Klose d9caf4a725 Move cps-ir section to the end of the file and update test expectations.
BUG=
R=kmillikin@google.com

Review URL: https://codereview.chromium.org//1312583008 .
2015-09-07 15:37:39 +02:00
Sigmund Cherem 1f349aeaef Skip lookup map tests in dartium
TBR=sra@google.com

Review URL: https://codereview.chromium.org//1323143007 .
2015-09-04 16:28:29 -07:00
Sigmund Cherem f348b8b01c Add version validation for LookupMap, also add unittest directly in LookupMap (take 2)
BUG=
R=sra@google.com

Review URL: https://codereview.chromium.org//1308993008 .
2015-09-04 14:24:26 -07:00
Sigmund Cherem 9b8c06d225 Revert "Add version validation for LookupMap, also add unittest directly in LookupMap."
This reverts commit fc582d7a3d due to lots of redness

TBR=sra@google.com

Review URL: https://codereview.chromium.org//1318003006 .
2015-09-04 14:05:41 -07:00
Sigmund Cherem fc582d7a3d Add version validation for LookupMap, also add unittest directly in LookupMap.
R=sra@google.com

Review URL: https://codereview.chromium.org//1312943007 .
2015-09-04 13:59:50 -07:00
Asger Feldthaus 0216e21efc dart2js cps: Use 'this' instead of receiver-arg when possible.
This fixes a bug in how intercepted super calls were handled,
and enables the redundant receiver optimization.

BUG=
R=kmillikin@google.com

Review URL: https://codereview.chromium.org//1312393002 .
2015-08-26 16:06:41 +02:00
Karl Klose 6820b95c1c dart2js cps: update test expectations.
TBR=kmillikin@google.com

Review URL: https://codereview.chromium.org//1303333003 .
2015-08-24 10:59:15 +02:00
Johnni Winther 6631698ee8 Mark long running analyzer tests as slow for dart2js.
BUG=
R=whesse@google.com

Review URL: https://codereview.chromium.org//1296243006.
2015-08-18 11:46:59 +02:00
Asger Feldthaus 0210c5c035 dart2js cps: Fix treatment of captured type variables.
CLOSES=24064
BUG=
R=kmillikin@google.com

Review URL: https://codereview.chromium.org//1286113003.
2015-08-13 13:35:50 +02:00