Erik Corry
5c7804fe32
[VM] Add SIMD arrays to raw snapshot code
...
This has not been done earlier because no decision was made about
how to handle endian issues. This change assumes the same low
level format at either end of the serialization/deserialization.
R=kustermann@google.com
Bug: 21818
Change-Id: I5d97c1d0b89badf9cb972f0b1977eba0d1c0b9f8
Reviewed-on: https://dart-review.googlesource.com/35962
Commit-Queue: Erik Corry <erikcorry@google.com >
Reviewed-by: Martin Kustermann <kustermann@google.com >
2018-01-22 22:09:59 +00:00
Erik Corry
3c2f9ea88d
More SkipByDesign for tests that were moved
...
R=vegorov@google.com
Change-Id: I9d89ce90428d70ceb48e7eb2b16eb63f0aff8734
Reviewed-on: https://dart-review.googlesource.com/35721
Reviewed-by: Vyacheslav Egorov <vegorov@google.com >
Commit-Queue: Erik Corry <erikcorry@google.com >
2018-01-19 09:11:45 +00:00
Erik Corry
5ed2f25f40
There is no longer a safarimobilesim test runtime.
...
And so there is no need to maintain status files for this platform.
R=whesse@google.com
Change-Id: Ie70e4b7308cfd9b1b179b2d1eeeb8f36dd1a62dc
Reviewed-on: https://dart-review.googlesource.com/34824
Commit-Queue: Erik Corry <erikcorry@google.com >
Reviewed-by: William Hesse <whesse@google.com >
2018-01-17 13:13:17 +00:00
Alexander Thomas
6888aae228
[gardening] Update status files make DBC builder green again
...
Change-Id: Ie90ad628b5ac8ffc7eba2c8f707545ba0b27939b
Reviewed-on: https://dart-review.googlesource.com/34902
Reviewed-by: William Hesse <whesse@google.com >
Commit-Queue: Alexander Thomas <athom@google.com >
2018-01-16 18:16:52 +00:00
Alexander Thomas
27ebef64d4
[infra] Add VM Kernel Windows x64 builders
...
Bug: https://github.com/dart-lang/sdk/issues/31707
Change-Id: Ie56f4c6f78c9b7c27fc4f587857e412db3e8f358
Reviewed-on: https://dart-review.googlesource.com/33960
Commit-Queue: Alexander Thomas <athom@google.com >
Reviewed-by: William Hesse <whesse@google.com >
Reviewed-by: Martin Kustermann <kustermann@google.com >
2018-01-16 15:39:03 +00:00
Martin Kustermann
0bc46de838
[VM] Support spawning isolates when the main isolate was spawned from a Kernel IR file
...
Issue https://github.com/dart-lang/sdk/issues/31698
Change-Id: Ifc6662a3fd56245c10f5d924f771ef85ed9b222c
Reviewed-on: https://dart-review.googlesource.com/34742
Reviewed-by: Vyacheslav Egorov <vegorov@google.com >
2018-01-15 17:51:54 +00:00
Siva Chandra
8d7bc506e0
Add a new boolean field "load_vmservice_library" to Dart_IsolateFlags.
...
Attempt 2.
This reverts commit 95d9ca4776 .
Change-Id: I520a3d0f047f9435b4f3b7b728a5c6ceaf2beeb2
Reviewed-on: https://dart-review.googlesource.com/34222
Reviewed-by: Siva Annamalai <asiva@google.com >
Commit-Queue: Siva Chandra <sivachandra@google.com >
2018-01-11 22:19:49 +00:00
William Hesse
ba6891d9be
Update status of flaky timing-out test on vm-kernel configurations
...
Bug: (https://github.com/dart-lang/sdk/issues/30063 )
Change-Id: I8634beed7226e4e9f373b611ea2f78bbeefdbe8e
Reviewed-on: https://dart-review.googlesource.com/34103
Reviewed-by: Alexander Thomas <athom@google.com >
2018-01-11 12:13:03 +00:00
Erik Corry
95d9ca4776
Revert "Add a new boolean field "load_vmservice_library" to Dart_IsolateFlags."
...
This reverts commit d858aea231 .
Reason for revert: This causes assertion failures on the Windows debug build.
Original change's description:
> Add a new boolean field "load_vmservice_library" to Dart_IsolateFlags.
>
> If this field is set, then the vmservice library will be loaded into the
> isolate by the kernel loader.
>
> Change-Id: I194bc186ce5b67f1009c7d7ca996a8b687d5f912
> Reviewed-on: https://dart-review.googlesource.com/32500
> Commit-Queue: Siva Chandra <sivachandra@google.com >
> Reviewed-by: Siva Annamalai <asiva@google.com >
TBR=sivachandra@google.com ,asiva@google.com
Change-Id: I6ea8b543940d6e08d02a81e67f67248e9164b1e9
No-Presubmit: true
No-Tree-Checks: true
No-Try: true
Reviewed-on: https://dart-review.googlesource.com/33861
Reviewed-by: Erik Corry <erikcorry@google.com >
Commit-Queue: Erik Corry <erikcorry@google.com >
2018-01-11 09:33:38 +00:00
Siva Chandra
d858aea231
Add a new boolean field "load_vmservice_library" to Dart_IsolateFlags.
...
If this field is set, then the vmservice library will be loaded into the
isolate by the kernel loader.
Change-Id: I194bc186ce5b67f1009c7d7ca996a8b687d5f912
Reviewed-on: https://dart-review.googlesource.com/32500
Commit-Queue: Siva Chandra <sivachandra@google.com >
Reviewed-by: Siva Annamalai <asiva@google.com >
2018-01-11 05:42:17 +00:00
Alexander Thomas
2da64efb81
[infra] Update status files for new VM Kernel opt counter builder
...
Bug: https://github.com/dart-lang/sdk/issues/31838
Change-Id: I703319aebc135a7b219dc576c50f26f5feaabedf
Reviewed-on: https://dart-review.googlesource.com/33881
Commit-Queue: Alexander Thomas <athom@google.com >
Reviewed-by: William Hesse <whesse@google.com >
2018-01-10 18:49:19 +00:00
Alexander Thomas
89bd41d19a
[infra] Simplify vm-kernel configurations in test matrix
...
This also adds the missing vm-kernel opt-counter builder.
Bug: https://github.com/dart-lang/sdk/issues/31753
Change-Id: I0199218f83d227cfc52505c213d7b689acd9c43e
Reviewed-on: https://dart-review.googlesource.com/31984
Commit-Queue: Alexander Thomas <athom@google.com >
Reviewed-by: William Hesse <whesse@google.com >
Reviewed-by: Martin Kustermann <kustermann@google.com >
2018-01-09 20:59:49 +00:00
Siva Annamalai
ff32e86938
Adjust status files for passing tests.
...
Bug:
Change-Id: I7bd76bc94a2275d90b852457ad6073559d42478f
Reviewed-on: https://dart-review.googlesource.com/32521
Reviewed-by: Siva Annamalai <asiva@google.com >
2018-01-05 06:58:30 +00:00
Siva Annamalai
4ba69c4df5
Fixes for some strong mode issues in the isolate tests. Not able to turn
...
these tests on by default yet because of an issue in the stacktrace
package (see issue 31764)
Change-Id: Ifeb5dc4fc85e7d83b3011948133ce6d2a1998248
Reviewed-on: https://dart-review.googlesource.com/29480
Commit-Queue: Siva Annamalai <asiva@google.com >
Reviewed-by: Régis Crelier <regis@google.com >
2018-01-05 06:19:33 +00:00
Martin Kustermann
d84a83344e
Update status files for simarm/simarm64/simdbc64
...
This brings the following configurations green:
tools/test.py -mrelease -cdartk -asimarm
tools/test.py -mrelease -cdartk -asimarm64
tools/test.py -mrelease -cdartk -asimdbc64
tools/test.py -mdebug -cdartk -asimdbc64
Issue https://dart-review.googlesource.com/c/sdk/+/29581
Change-Id: Ie79084bc123ace0ed59505da617ddcb30b9076c2
Reviewed-on: https://dart-review.googlesource.com/29585
Reviewed-by: Martin Kustermann <kustermann@google.com >
Commit-Queue: Martin Kustermann <kustermann@google.com >
2017-12-14 15:34:15 +00:00
Vyacheslav Egorov
efca9c69ab
[vm/testing] Make --strong -c dartk configuration a Dart 2.0 configuration.
...
Switch it to use pkg/vm/tool/dart2 which is the source of truth for what
Dart 2 VM configuration means. Don't pass any additional flags from
tools/test.py itself.
Align pkg/vm/tool/dart2 with what tools/test.py was passing to VM on _2 suites.
Make default invocation `tools/test.py -c dartk --strong -m release,debug`
green by updating status files and skipping suites that are not Dart 2.0
compliant. I have filed issues #31588 for isolate suite and #31587 for
service suite.
Reland of https://dart-review.googlesource.com/27820
Change-Id: I49400fae716f75425e70bf1e561b3375ba39157e
Reviewed-on: https://dart-review.googlesource.com/28565
Commit-Queue: Vyacheslav Egorov <vegorov@google.com >
Reviewed-by: Martin Kustermann <kustermann@google.com >
2017-12-12 12:19:10 +00:00
Vyacheslav Egorov
e84fa65696
Revert "[vm/testing] Make --strong -c dartk configuration a Dart 2.0 configuration."
...
This reverts commit 50865e9387 .
CQ on Mac is broken.
TBR=kustermann@google.com
Bug:
Change-Id: I41a7cab59c076dba4f25f5904725cca5bb4619c9
Reviewed-on: https://dart-review.googlesource.com/28420
Commit-Queue: Vyacheslav Egorov <vegorov@google.com >
Reviewed-by: Vyacheslav Egorov <vegorov@google.com >
2017-12-11 21:07:43 +00:00
Vyacheslav Egorov
50865e9387
[vm/testing] Make --strong -c dartk configuration a Dart 2.0 configuration.
...
Switch it to use pkg/vm/tool/dart2 which is the source of truth for what
Dart 2 VM configuration means. Don't pass any additional flags from
tools/test.py itself.
Align pkg/vm/tool/dart2 with what tools/test.py was passing to VM on _2 suites.
Make default invocation `tools/test.py -c dartk --strong -m release,debug`
green by updating status files and skipping suites that are not Dart 2.0
compliant. I have filed issues #31588 for isolate suite and #31587 for
service suite.
Change-Id: I882b28f6a011eabf69c349ff0792b275434e39ff
Reviewed-on: https://dart-review.googlesource.com/27820
Commit-Queue: Vyacheslav Egorov <vegorov@google.com >
Reviewed-by: Alexander Markov <alexmarkov@google.com >
Reviewed-by: Siva Annamalai <asiva@google.com >
Reviewed-by: Martin Kustermann <kustermann@google.com >
2017-12-11 12:49:22 +00:00
Morten Krogh-Jespersen
3db4b1070b
Normalize all status files and enable presubmit hook.
...
This CL normalizes all status files by the status file normalizer found at
pkg/status_file/bin/normalize.dart.
To make sure all status files are kept in pristine condition, a linter is placed
on the presubmit hook. The linter can be found at pkg/status_file/bin/lint.dart.
Bug:
Change-Id: I20bdb74824be65f079b8c9ab08b7ae38394d637f
Reviewed-on: https://dart-review.googlesource.com/24112
Commit-Queue: Morten Krogh-jespersen <mkroghj@google.com >
Reviewed-by: Alexander Thomas <athom@google.com >
2017-12-07 08:38:30 +00:00
Morten Krogh-Jespersen
39907272f6
Remove comments from status files.
...
This will allow for having automatic tools to alphabetize sections and entries.
Bug:
Change-Id: Ia7b7a100ca33197c4f3b1c50c11f24873dfbc09b
Reviewed-on: https://dart-review.googlesource.com/23675
Reviewed-by: Alexander Thomas <athom@google.com >
Reviewed-by: Sigmund Cherem <sigmund@google.com >
2017-11-28 07:56:20 +00:00
Morten Krogh-Jespersen
a9a5081e10
Remove duplicate entries in same section from status files.
...
If two sections are syntactically equal, they are considered same section.
The discovery of duplicate entries was perfomed by the test in the CL:
https://dart-review.googlesource.com/#/c/sdk/+/21341
All removals has been done by hand to make sure the best comment was chosen.
Bug:
Change-Id: I105f6375adc1b5f555eb7c2af7d7d1e4e1922a32
Reviewed-on: https://dart-review.googlesource.com/21340
Reviewed-by: Alexander Thomas <athom@google.com >
2017-11-27 11:07:18 +00:00
Ryan Macnak
f77cf1c60e
[vm] Verify canonical objects before taking a snapshot or shutting down.
...
Don't verify recursive types.
Bug: https://github.com/dart-lang/sdk/issues/31376
Bug: https://github.com/dart-lang/sdk/issues/27003
Change-Id: I783bcc45d55c78141dccb1b479c1d15234a9b363
Reviewed-on: https://dart-review.googlesource.com/21221
Commit-Queue: Ryan Macnak <rmacnak@google.com >
Reviewed-by: Régis Crelier <regis@google.com >
2017-11-20 18:54:56 +00:00
Ben Konyi
064d49c9a8
[Gardening] Marking issue23244_test and isolate/compile_time_error_test/none as Crash for app_jit. See issue #31376 .
...
Bug:
Change-Id: I95997e5cb53112c5e78c2199c7c95db3bf7766ee
Reviewed-on: https://dart-review.googlesource.com/21285
Reviewed-by: Zach Anderson <zra@google.com >
Reviewed-by: Ben Konyi <bkonyi@google.com >
2017-11-15 22:56:38 +00:00
Jens Johansen
66bf1a5fbd
[kernel, VM] ReportError on unsupported tag instead of crashing
...
Closes #31296 .
Bug:
Change-Id: I1bcdd60d25fde7d99e71ce0e42efcd78916a3409
Reviewed-on: https://dart-review.googlesource.com/19186
Commit-Queue: Jens Johansen <jensj@google.com >
Reviewed-by: Vyacheslav Egorov <vegorov@google.com >
2017-11-09 13:25:07 +00:00
Vyacheslav Egorov
431d32596d
[gardening] Update dartkp status files again.
...
R=kustermann@google.com
Bug:
Change-Id: I9c5d6af6326c4283aa9cff8f0264ce4c9e48bf62
Reviewed-on: https://dart-review.googlesource.com/19185
Reviewed-by: Vyacheslav Egorov <vegorov@google.com >
Commit-Queue: Vyacheslav Egorov <vegorov@google.com >
2017-11-08 12:18:41 +00:00
Lasse R.H. Nielsen
adcb6a7399
Make main invocation not fail strong-mode type checking.
...
Bug: http://dartbug.com/31270
Change-Id: Id6ad2a429d5dc44b437a0fdd8fb4889d3dccf194
Reviewed-on: https://dart-review.googlesource.com/18480
Commit-Queue: Lasse R.H. Nielsen <lrn@google.com >
Reviewed-by: Vyacheslav Egorov <vegorov@google.com >
2017-11-03 16:06:00 +00:00
Sigmund Cherem
a8d13565cd
Add support for deferred loading in fasta
...
Change-Id: I2a5489b618210935b4b21c583aba9738a5e3f645
Reviewed-on: https://dart-review.googlesource.com/13441
Reviewed-by: Peter von der Ahé <ahe@google.com >
2017-10-26 23:22:48 +00:00
William Hesse
601e822ce9
Update status for Chrome 62 stable
...
Bug:
Change-Id: I3c554583dbd9fabc01664e21d86248768db551a4
R=mkroghj@google.com
Reviewed-on: https://dart-review.googlesource.com/14765
Reviewed-by: Morten Krogh-jespersen <mkroghj@google.com >
2017-10-18 12:02:56 +00:00
Jens Johansen
2e75b6cce9
[kernel] Fix closure in for loop
...
In kernel the loop level wasn't set correctly for for loops, resulting
in the loop variable not always being fresh.
Examples:
```
// Capture the loop variable, ensure we capture the right value.
for (int i = 0; i < 10; i++) { if (i == 7) f = () => "i = $i"; }
print(f());
// There is only one instance of k. The captured variable continues to change.
int k;
for (k = 0; k < 10; k++) { if (k == 7) f = () => "k = $k"; }
print(f());
```
resulted in
i = 10
k = 10
(i.e. it's wrong)
whereas
```
// Capture the loop variable, ensure we capture the right value.
for (int i = 0; i < 10; i++) { if (i == 7) { f = () => "i = $i"; } }
print(f());
{
// There is only one instance of k. The captured variable continues to change.
int k;
for (k = 0; k < 10; k++) { if (k == 7) { f = () => "k = $k"; } }
print(f());
}
```
resultet in
i = 7
k = 10
(i.e. it's correct).
Now both examples produce the correct result.
Change-Id: I1fb4c888c6a0eaa690f62226e093508992b33ed4
Reviewed-on: https://dart-review.googlesource.com/9961
Reviewed-by: Vyacheslav Egorov <vegorov@google.com >
2017-10-03 07:56:13 +00:00
Siva Chandra
0ce90404e8
Adjust status file to get the vm-win-product bot green.
...
TBR=whesse
Change-Id: Icb53a66e1f1e2c6346e5d9a1829b3114744b8c9b
Reviewed-on: https://dart-review.googlesource.com/9123
Reviewed-by: Siva Chandra <sivachandra@google.com >
2017-09-27 23:29:02 +00:00
Stephen Adams
3ee12248ca
isolate/kill_self_synchronously_test does not run on dart2js
...
Unsupported operation: Platform._resolvedExecutable
Bug:
Change-Id: I626050631320ff2afb5f7c0db6bfc7c156c6a972
Reviewed-on: https://dart-review.googlesource.com/5904
Reviewed-by: Stephen Adams <sra@google.com >
2017-09-14 21:50:08 +00:00
Beeravolu Siva Chandra Reddy
004a515217
Populate library imports and exports when loading library from kernel.
...
Change-Id: If6cc94aa186948caa8798212d6161da650ff2d8e
Reviewed-on: https://dart-review.googlesource.com/4381
Reviewed-by: Jens Johansen <jensj@google.com >
Reviewed-by: Siva Annamalai <asiva@google.com >
2017-09-12 10:44:49 +00:00
Alexander Aprelev
7cbb96c199
Wholesale update tests status in attempt to make (fyi) dartkp buildbots green.
...
Buildbots are here: https://build.chromium.org/p/client.dart.fyi/console .
BUG=
R=asiva@google.com
Review-Url: https://codereview.chromium.org/3000423002 .
2017-08-28 18:32:21 -07:00
Ryan Macnak
29fe863c62
Skip non_fatal_exception_in_timer_callback_test with dart2js.
...
Issue #23876
Review-Url: https://codereview.chromium.org/2996293002 .
2017-08-18 16:50:45 -07:00
Alexander Markov
bda3c9c2b2
Simplify and fix implicit closure check, speed up Closure_equals, v2
...
This is the re-application of 44e8da3ecd
with fixes:
* Dartanalyzer error is fixed in the new test isolate/message4_test
* The new test is skipped in the status file in dart2j/non-d8 modes,
issue #30247 is created.
* Minor tweak of Closure_equals: other.IsClosure() is tested earlier.
Original CL review:
https://codereview.chromium.org/2989493002/
Original CL description:
This CL introduces a new Function kind, kImplicitClosureFunction, in
order to simplify check for implicit closures and make it more
efficient.
This CL also fixes Function::IsImplicitStaticClosureFunction(RawFunction*)
to correctly handle implicit closures created from static native
functions.
Closes #30203 .
As the result of a faster check for implicit closures and slight
refactoring of Closure_equals, micro-benchmark exercising Closure_equals
speeds up from 9618ms to 6700ms for implicit closures case and
insignificantly for other cases.
R=zra@google.com
Review-Url: https://codereview.chromium.org/2987703002 .
2017-07-24 09:43:52 -07:00
Terry Lucas
d0d5d6cc25
Revert "Revert "Removed Dartium test exceptions""
...
This reverts commit b85f66253c .
TBR=alanknight@google.com
Review-Url: https://codereview.chromium.org/2984613002 .
2017-07-19 05:51:54 -07:00
Johnni Winther
b85f66253c
Revert "Removed Dartium test exceptions"
...
This reverts commit 84f079f24c .
Review-Url: https://codereview.chromium.org/2983073002 .
2017-07-19 13:31:32 +02:00
Terry Lucas
84f079f24c
Removed Dartium test exceptions
...
TBR=alanknight@google.com
Review-Url: https://codereview.chromium.org/2983033002 .
2017-07-18 13:18:14 -07:00
Johnni Winther
2f5bdf9c30
Skip resolve_package_uri_test for Dartium on Windows
...
Review-Url: https://codereview.chromium.org/2979953002 .
2017-07-13 13:27:04 +02:00
Ryan Macnak
f20b32b793
[vm] Enable mirrors in product mode. Allows building a product mode SDK.
...
Fixes https://github.com/dart-lang/sdk/issues/29972
R=zra@google.com
Review-Url: https://codereview.chromium.org/2972883002 .
2017-07-12 12:55:58 -07:00
Peter von der Ahé
e3939aa96c
Fix status file expression.
...
Review-Url: https://codereview.chromium.org/2969843003 .
2017-07-03 15:43:01 +02:00
Peter von der Ahé
45e4d848d2
[gardening] Update status files for kernel debug mode.
...
Review-Url: https://codereview.chromium.org/2969883002 .
2017-07-03 15:37:16 +02:00
Zachary Anderson
ac16656161
Remove MIPS support
...
R=asiva@google.com
Review-Url: https://codereview.chromium.org/2858623002 .
2017-06-22 08:49:22 -07:00
Lasse R.H. Nielsen
5720e3556c
Add negation to single-identifier tests in status files.
...
Optimize some regegps too.
Fixes #29756
BUG= http://dartbug.com/29756
R=rnystrom@google.com
Review-Url: https://codereview.chromium.org/2913963002 .
2017-06-02 10:38:14 +02:00
Asger Feldthaus
f85091f5d7
Do not list Timeout as the only test outcome in isolate.status.
...
BUG=
R=vegorov@google.com
Review-Url: https://codereview.chromium.org/2855223003 .
2017-05-04 11:26:37 +02:00
Peter von der Ahé
ba0e07846f
Produce a compile-time error if there's no main method.
...
R=vegorov@google.com
Review-Url: https://codereview.chromium.org/2801853006 .
2017-04-19 14:28:10 +02:00
Peter von der Ahé
1e70fef1a2
Small steps towards deferred loading.
...
R=karlklose@google.com
Review-Url: https://codereview.chromium.org/2803833003 .
2017-04-07 12:23:35 +02:00
Siva Annamalai
c53e020e6c
Adjust status files to account for running the Dart test cases through flutter engine on linux.
...
Accounted for language, co19, lib, corelib, isolate and standalone tests.
Filed issues to track all failing tests
https://github.com/flutter/flutter/issues/9109
https://github.com/flutter/flutter/issues/9110
https://github.com/flutter/flutter/issues/9111
https://github.com/flutter/flutter/issues/9113
https://github.com/flutter/flutter/issues/9114
https://github.com/flutter/flutter/issues/9115
R=rmacnak@google.com
Review-Url: https://codereview.chromium.org/2784293003 .
2017-04-03 16:35:09 -07:00
Vyacheslav Egorov
536c610fd2
Update status files for all test suites for -c dartk / -c dartkp configuration.
...
We are going to switch to testing all testsuites instead of just limiting ourselves to
co19 language kernel service
BUG=
R=kustermann@google.com
Review-Url: https://codereview.chromium.org/2780943004 .
2017-03-29 13:18:57 +02:00
Zachary Anderson
0111122ca0
[Fuchsia] Update test status files
...
R=asiva@google.com , rmacnak@google.com
Review-Url: https://codereview.chromium.org/2693643002 .
2017-02-10 21:34:33 -08:00