Commit Graph

2501 Commits

Author SHA1 Message Date
John McCutchan 7fa9393105 Remove windows debug print and trace shutdown on some tests
BUG=

Review URL: https://codereview.chromium.org/2153813003 .
2016-07-15 14:53:54 -07:00
Todd Turnidge 77b99396e8 Disallow deferred loading when using isolate reloading.
Update status files.

BUG=
R=rmacnak@google.com

Review URL: https://codereview.chromium.org/2144113002 .
2016-07-13 15:25:06 -07:00
Ryan Macnak 597e933f17 Update status files for product mode.
TBR=johnmccutchan@google.com

Review URL: https://codereview.chromium.org/2143803002 .
2016-07-12 15:57:46 -07:00
John McCutchan 04dc67e2b3 More hot reload status file updates
BUG=

Review URL: https://codereview.chromium.org/2143213002 .
2016-07-12 13:54:16 -07:00
John McCutchan ef71bc1834 Improve hot reload test mode
- [x] Start reloading even earlier.
- [x] Keep the value of FLAG_reload_every per-isolate (so spawned isolates reload eagerly too).
- [x] Adjust the reload every back off curve to be linear in the beginning.
- [x] Cap the reload every threshold at 1,000,000
- [x] Test status file updates.
- [x] Stop disabling the background compiler / OSR when running tests.
- [x] Skip multi tests with compilation errors when reloading.

BUG=
R=rmacnak@google.com

Review URL: https://codereview.chromium.org/2133823002 .
2016-07-11 12:29:13 -07:00
Ryan Macnak eb20b68e87 Add --hot-reload to the test harness.
./tools/build.py -mdebug,release runtime
./tools/test.py -mdebug,release --checked --hot-reload

BUG=http://dartbug.com/26809
R=johnmccutchan@google.com

Review URL: https://codereview.chromium.org/2114083002 .
2016-07-01 11:28:00 -07:00
Siva Annamalai 006bab2c47 Land Ivan's change of 'Remove support for verified memory handling'
R=fschneider@google.com

Review URL: https://codereview.chromium.org/2112043002 .
2016-07-01 09:21:01 -07:00
William Hesse 0051d1b678 Run tests on analyzer compiled with dart2js only on dedicated bot
BUG=https://github.com/dart-lang/sdk/issues/26813
R=lrn@google.com

Review URL: https://codereview.chromium.org/2118753002 .
2016-07-01 11:14:58 +02:00
Lasse R.H. Nielsen ddf35f2d56 Fix bug in BytesBuilder. Add tests.
Fixes issue #26772

BUG= http://dartbug.com/26772
R=floitsch@google.com

Review URL: https://codereview.chromium.org/2100103002 .
2016-06-28 14:34:53 +02:00
Martin Kustermann 75c8b6d74c Attempt to make probability of test flake in tests/standalone/io/socket_bind_test lower
The test is attempting to bind 2 different sockets to the *same* port:
  * socket 1: (IPv4, port)
  * socket 2: (IPv6, port)
Between making socket 1 and socket 2 there can be other processes on the host
grabbing a (IPvX, port) combination thereby making the binding of socket 2 fail.

We will now retry the test a few times which will hopefully make the flakiness
go away.

BUG=https://github.com/dart-lang/sdk/issues/26716
R=whesse@google.com

Review URL: https://codereview.chromium.org/2105553003 .
2016-06-28 12:36:20 +02:00
Siva Annamalai da1a5534b4 Fix for issue 26555, do not inherit package root and package config from the parent isolate when doing Isolate.spawn
BUG=26555
R=johnmccutchan@google.com

Review URL: https://codereview.chromium.org/2072873002 .
2016-06-17 09:59:15 -07:00
John McCutchan b2c755c59a Skip packages_file_test until issue #26715 is resolved
BUG=

Review URL: https://codereview.chromium.org/2072793002 .
2016-06-16 12:24:22 -07:00
Zachary Anderson c018cdf4e3 Fix flaking file lock test
fixes #26698

R=fschneider@google.com

Review URL: https://codereview.chromium.org/2067823002 .
2016-06-14 10:04:18 -07:00
Lasse R.H. Nielsen 191ab42d64 Make VM resolvePackageUri fail on package:foo and package:/foo.
R=asiva@google.com, floitsch@google.com

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

Review URL: https://codereview.chromium.org/1998603002 .
2016-06-14 12:22:15 +02:00
Lasse R.H. Nielsen a5aebce4b7 Revert "Make VM resolvePackageUri fail on package:foo and package:/foo."
There were some tests of the changed behavior.

R=whesse@google.com

Review URL: https://codereview.chromium.org/2068633002 .
2016-06-14 10:53:08 +02:00
Lasse R.H. Nielsen eb49613cbf Make VM resolvePackageUri fail on package:foo and package:/foo.
R=asiva@google.com, floitsch@google.com

Review URL: https://codereview.chromium.org/1998603002.
2016-06-14 09:38:51 +02:00
Zachary Anderson c40b0da258 Block another Platform.executable test for precompilation
Review URL: https://codereview.chromium.org/2060223003 .
2016-06-13 12:50:47 -07:00
Zachary Anderson 678cb048ed Adds blocking file locks.
Fixes #26665

R=sgjesse@google.com

Review URL: https://codereview.chromium.org/2050413002 .
2016-06-13 07:58:09 -07:00
Florian Schneider c8f449e1a1 Update status for precompilation tests.
TBR=johnmccutchan@google.com,

BUG=

Review URL: https://codereview.chromium.org/2056393002 .
2016-06-10 11:07:07 -07:00
Lasse R.H. Nielsen 419873dcd3 Add tests for resolving missing packages, relative and absolute URIs.
R=floitsch@google.com

Review URL: https://codereview.chromium.org/2051433002 .
2016-06-09 11:35:15 +02:00
John McCutchan a66d2d0e49 Fix dart2js bot failure on new test (update status file)
BUG=

Review URL: https://codereview.chromium.org/2043193004 .
2016-06-08 07:45:08 -07:00
John McCutchan f040af9fff Really fix the analyzer bots
BUG=

Review URL: https://codereview.chromium.org/2043373002 .
2016-06-08 07:41:43 -07:00
John McCutchan 63233d7446 Update standalone.status for analyzer
BUG=

Review URL: https://codereview.chromium.org/2044003006 .
2016-06-08 07:24:51 -07:00
John McCutchan 3b2e14ab56 Fix deferred load errors
R=hausner@google.com

Review URL: https://codereview.chromium.org/2045023003 .
2016-06-08 07:12:52 -07:00
Lasse R.H. Nielsen c7e601c90d Revert "Add package-config tests where test is running in Isolate.spawn-isolates."
This reverts commit f3f6d1e00d.

Running a new process doesn't correctly pass empty command line parameters on Windows.

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

R=floitsch@google.com

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

Review URL: https://codereview.chromium.org/2038033002.
2016-06-06 08:46:58 +02:00
Lasse R.H. Nielsen 2d8e63e985 Revert "Add package-config tests where test is running in Isolate.spawn-isolates."
This reverts commit f3f6d1e00d.

Running a new process doesn't correctly pass empty command line parameters on Windows.

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

R=floitsch@google.com

Review URL: https://codereview.chromium.org/2038033002.
2016-06-03 17:12:17 +02:00
Lasse R.H. Nielsen 0bd6b7e924 Add package-config tests where test is running in Isolate.spawn-isolates.
R=floitsch@google.com

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

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

Review URL: https://codereview.chromium.org/2020653002.
2016-06-03 16:48:21 +02:00
Lasse R.H. Nielsen eda2a81c0c Add package-config tests where test is running in Isolate.spawn-isolates.
R=floitsch@google.com

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

Review URL: https://codereview.chromium.org/2020653002.
2016-06-03 16:35:27 +02:00
Lasse R.H. Nielsen 151d1b6796 Revert "Add package-config tests where test is running in Isolate.spawn-isolates."
This reverts commit f3f6d1e00d.

Running a new process doesn't correctly pass empty command line parameters on Windows.

Review URL: https://codereview.chromium.org/2038033002 .
2016-06-03 15:34:52 +02:00
Lasse R.H. Nielsen f3f6d1e00d Add package-config tests where test is running in Isolate.spawn-isolates.
R=floitsch@google.com

Review URL: https://codereview.chromium.org/2020653002 .
2016-06-03 13:53:50 +02:00
Sigmund Cherem d1d46593d5 Make test.dart override only those dependencies declared in the pubspec.yaml
file (attempt #2).

Differences from before:
 - pull in transitive dependencies that were missing
 - pass on the package-root in standalone/io/test_runner_test

BUG= http://dartbug.com/26563
R=whesse@google.com

Review URL: https://codereview.chromium.org/2019163002 .
2016-05-31 15:48:54 -07:00
Florian Schneider aa05691c77 status update: process_sync_test still timing out on Windows
TBR=zra@google.com,

BUG=#24596

Review URL: https://codereview.chromium.org/2018033002 .
2016-05-27 18:53:28 +02:00
Lasse R.H. Nielsen 7009677096 Also add comments requested by review, and some more.
Also exclude more environments from running the test, restricting it to *only* the stand-alone VM and the analyzer.

Review URL: https://codereview.chromium.org/2015193002 .
2016-05-27 13:07:40 +02:00
Florian Schneider 05660b8f25 Skip new test that uses Platform.executable under precompilation
TBR=lrn@google.com,

BUG=

Review URL: https://codereview.chromium.org/2016313002 .
2016-05-27 12:30:23 +02:00
Lasse R.H. Nielsen dead4294ae Fix analyzer warnings in packages_file_test.dart.
Review URL: https://codereview.chromium.org/2013353003 .
2016-05-27 10:11:45 +02:00
Lasse R.H. Nielsen 39df5d56b2 Add test of some package-config configurations.
More to come.

R=floitsch@google.com

Review URL: https://codereview.chromium.org/1993643002 .
2016-05-27 09:19:16 +02:00
Florian Schneider 62f64eb312 Fix checked mode error in socket_bind_test.
BUG=
R=kustermann@google.com

Review URL: https://codereview.chromium.org/2007133007 .
2016-05-26 20:14:51 +02:00
Florian Schneider b1ce8afde5 Fix a flaky failure in socket_bind_test.
Make the test more robust against the case where it use a IPv4 socket address
is already in use with IPv6 or vice versa by first finding a port that is free
for both.

BUG=
R=kustermann@google.com

Review URL: https://codereview.chromium.org/2014893002 .
2016-05-26 19:38:32 +02:00
Ryan Macnak ef8baa8760 Add test harness option for app snapshots with unoptimized code.
./tools/test.py -m all -c dart2appjit -r dart_app --use-blobs

Rename 'dart_product' runtime to 'dart_app'.

Rename Dart_PrecompiledJITSnapshotBlob to Dart_CreateAppJITSnapshot and add documentation.

Remove out-of-date scripts in tools/precompilation.

R=fschneider@google.com

Review URL: https://codereview.chromium.org/1992703005 .
2016-05-26 10:37:47 -07:00
Florian Schneider 374baf4979 Remove timeout status for some tests to check if they pass now.
BUG=#24596
R=zra@google.com

Review URL: https://codereview.chromium.org/2015533002 .
2016-05-25 17:35:05 +02:00
William Hesse 9d3d9aea2b Suppress test on ARM that creates large files.
BUG=https://github.com/dart-lang/sdk/issues/26109
R=sgjesse@google.com

Review URL: https://codereview.chromium.org/1979983002 .
2016-05-18 22:36:23 +02:00
Ryan Macnak 7d3cd143f7 Update status for
./tools/test.py -mall
  ./tools/test.py -mdebug,release --checked
  ./tools/test.py -mrelease,product -cdart2app -rdart_product
  ./tools/test.py -mrelease --checked -cdart2app -rdart_product

Missing
  ./tools/test.py -mdebug -cdart2app -rdart_product
  ./tools/test.py -mdebug --checked -cdart2app -rdart_product

R=asiva@google.com

Review URL: https://codereview.chromium.org/1991543002 .
2016-05-18 12:54:34 -07:00
Harry Terkelsen 1745ba77f5 fix all instances of "the the"
BUG=
R=sigmund@google.com

Review URL: https://codereview.chromium.org/1980573003 .
2016-05-13 12:38:25 -07:00
Florian Loitsch e3c3f099ea Fix strong mode errors in dart:io.
Still a lot of strong mode warnings left.

R=fschneider@google.com, sgjesse@google.com

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

Reverted: https://github.com/dart-lang/sdk/commit/7503ecc8fdb32747b2b05b529219ce83da8f0b6c

Review URL: https://codereview.chromium.org/1904553006 .
2016-05-12 13:17:31 +02:00
Florian Loitsch 7503ecc8fd Revert "Fix strong mode errors in dart:io."
This reverts commit 5216f1d67d.

BUG=

Review URL: https://codereview.chromium.org/1966373002 .
2016-05-11 21:44:09 +02:00
Florian Loitsch 5216f1d67d Fix strong mode errors in dart:io.
Still a lot of strong mode warnings left.

R=fschneider@google.com, sgjesse@google.com

Review URL: https://codereview.chromium.org/1904553006 .
2016-05-11 14:30:32 +02:00
William Hesse 1d1409d4d4 Update status for dart:io file test on ARM.
BUG=https://github.com/dart-lang/sdk/issues/26109
R=sgjesse@google.com

Review URL: https://codereview.chromium.org/1963593002 .
2016-05-09 11:34:23 +02:00
Ivan Posva 71f6e0fe02 - Harden code_collection_test against GCs happening at unexpected
times.

BUG=
R=hausner@google.com

Review URL: https://codereview.chromium.org/1948353004 .
2016-05-05 15:10:37 -07:00
Ivan Posva 3b448fe019 - Add more information for failing test.
BUG=
R=hausner@google.com

Review URL: https://codereview.chromium.org/1952063004 .
2016-05-05 11:05:39 -07:00
Florian Schneider b349c2cbd6 Temporarily update test status for Android
BUG=
R=kustermann@google.com, rmacnak@google.com

Review URL: https://codereview.chromium.org/1924833003 .
2016-05-02 11:19:43 +02:00