Commit graph

5633 commits

Author SHA1 Message Date
Stephen Adams aeaf82577e dart:html: Add Element.removeAttribute
- Improve `element.attributes.remove(name)` to compile to `element.removeAttribute(name)`.
- Improve `element.getNamespacedAttributes(namespace).remove(name)` to compile to
  `element.removeAttributeNS(namespace, name)`.
- Add removeAttribute[NS].
- Add hasAttriute[NS].
- Assert attribute names are not null to prevent conversion to "null"/"undefined".
- TODO: Assert values are not null to prevent conversion to "null"/"undefined".
- namespaceURI does not need checking since null and undefined map to 'no namespace'.

Fixes https://github.com/dart-lang/sdk/issues/35655

Change-Id: Ie5bee23c88e8fb92f9d46f29fdf4b7f3175a2aa3
Reviewed-on: https://dart-review.googlesource.com/c/90160
Commit-Queue: Stephen Adams <sra@google.com>
Reviewed-by: Terry Lucas <terry@google.com>
2019-01-18 19:06:24 +00:00
William Hesse a533753bec Remove --fast-startup flag support from testing scripts and status files
Change-Id: Icfb4aa228c0f13bf9fce25aeb7bacbf1e38497ee
Reviewed-on: https://dart-review.googlesource.com/c/89582
Commit-Queue: William Hesse <whesse@google.com>
Reviewed-by: Sigmund Cherem <sigmund@google.com>
2019-01-16 11:32:44 +00:00
Sam Rawlins 3154bb0d37 Stop using external deprecated members in front_end
Change-Id: I3fa03de568f72bfc3adb46efcfa2b61b781c706b
Reviewed-on: https://dart-review.googlesource.com/c/89020
Commit-Queue: Samuel Rawlins <srawlins@google.com>
Reviewed-by: Sigmund Cherem <sigmund@google.com>
Reviewed-by: Peter von der Ahé <ahe@google.com>
2019-01-15 18:55:10 +00:00
Terry Lucas edca6169c1 Fixed a number of dart:html P1 issues.
- Fixed HTML API's with callback typedef to correctly convert Dart function to JS function.
- Expose HttpStatus from dart:html
- Expose DomName ondblclick and dblclickEvent for Angular analyzer.
- Fixed removeAll should be Iterable<Object> to match Set's removeAll not Iterable<E>.
- Fixed a number of DataTransferItem, Entry, FileEntry and DiretoryEntry returning NativeJavaScriptObject needed type registered in DDC.
- Added ability to allow local file access from Chrome browser added -local in ddb.

R=vsm@google.com

Fixes #30278
Fixes #35484
Fixes #34318
Fixes #35510

Change-Id: Ide8c04716c54045e837781d489562f27b694b109
Reviewed-on: https://dart-review.googlesource.com/c/89340
Commit-Queue: Terry Lucas <terry@google.com>
Reviewed-by: Vijay Menon <vsm@google.com>
Reviewed-by: Nate Bosch <nbosch@google.com>
2019-01-15 17:21:50 +00:00
William Hesse 59300164af Remove test flakiness records with misspelled field
Change-Id: I80f29ebc9aaed33df27fa0ac75d5a38cfd90d1d5
Reviewed-on: https://dart-review.googlesource.com/c/88727
Auto-Submit: William Hesse <whesse@google.com>
Reviewed-by: Jonas Termansen <sortie@google.com>
2019-01-15 11:31:57 +00:00
Alexander Thomas 9d9f467195 Revert "[infra] Blacklist android device id in attempt to make buildbot builder more stable"
This reverts commit 8044e32fc5.

Reason for revert: The device was fixed, and there is now one device per bot. Blacklisting a single device is no longer the right approach because it effectively destroys a bot.

Original change's description:
> [infra] Blacklist android device id in attempt to make buildbot builder more stable
> 
> This particular device sometimes fails with errors such as:
> 
>   * "protocol error"
>   * "protocol error (no status)"
>   * "device not found"
> 
> Change-Id: Iced97ae8f5e891c43436a3d745004517dc59b42c
> Reviewed-on: https://dart-review.googlesource.com/c/84905
> Reviewed-by: Alexander Thomas <athom@google.com>
> Reviewed-by: Vyacheslav Egorov <vegorov@google.com>
> Commit-Queue: Martin Kustermann <kustermann@google.com>

TBR=whesse@google.com,vegorov@google.com,kustermann@google.com,athom@google.com

# Not skipping CQ checks because original CL landed > 1 day ago.

Change-Id: I8422a75d10518ec06de737a0a719f9648279fbf8
Reviewed-on: https://dart-review.googlesource.com/c/89500
Reviewed-by: Alexander Thomas <athom@google.com>
Commit-Queue: Alexander Thomas <athom@google.com>
2019-01-15 08:37:58 +00:00
Ryan Macnak 3e5e05d14f [infra] Trigger bots after outage.
Change-Id: Ib0c93ea56c2c229a4eab4af178420642428f1e31
Reviewed-on: https://dart-review.googlesource.com/c/89444
Reviewed-by: Alexander Aprelev <aam@google.com>
2019-01-15 00:31:51 +00:00
Sigmund Cherem 0d6402c1ec Remove faststartup from the test matrix
Context: we finally removed the old emitter and fast startup is on by default.
This CL removes from the test matrix duplicate steps that now are doing the same
thing and the faststartup builders that are no longer needed.

Change-Id: Id65ea3178bcd7a9554bfa127a09938ca910c57e8
Reviewed-on: https://dart-review.googlesource.com/c/89181
Reviewed-by: Sigmund Cherem <sigmund@google.com>
Reviewed-by: Alexander Thomas <athom@google.com>
Reviewed-by: William Hesse <whesse@google.com>
Commit-Queue: Sigmund Cherem <sigmund@google.com>
2019-01-14 18:22:47 +00:00
Alexander Thomas b0855ffd35 [infra] Fix testing on Android
* Add adb to vm-kernel fileset.
* Add out directory for Android to fileset.

TBR=whesse@google.com

Change-Id: I95906d6fa5cb06ef53773754dc9c03a1a1bc5146
Reviewed-on: https://dart-review.googlesource.com/c/89240
Reviewed-by: Alexander Thomas <athom@google.com>
2019-01-13 22:45:13 +00:00
Samir Jindel ea9303566b [vm] Allow choosing architecture for runtime sources in generate_idefiles.py.
Change-Id: Ief2207192c6540eed3a335e0db9d91f8cf773538
Reviewed-on: https://dart-review.googlesource.com/c/89145
Auto-Submit: Samir Jindel <sjindel@google.com>
Commit-Queue: Samir Jindel <sjindel@google.com>
Commit-Queue: Daco Harkes <dacoharkes@google.com>
Reviewed-by: Daco Harkes <dacoharkes@google.com>
2019-01-11 15:16:34 +00:00
Stevie Strickland ba75b4c437 Revert "Change default target to "create_sdk"."
This reverts commit 4afb45f5b8.

Reason for revert: Going to instead file a bug to get the `all' target appropriately fixed, if possible.

Original change's description:
> Change default target to "create_sdk".
> 
> Currently the "all" target can lead to build errors and is unsupported,
> so fall back to a supported target instead.
> 
> Change-Id: I925a785e4b81ab92e99c3842cb81c338c5a1d990
> Reviewed-on: https://dart-review.googlesource.com/c/87403
> Auto-Submit: Stevie Strickland <sstrickl@google.com>
> Reviewed-by: Zach Anderson <zra@google.com>
> Commit-Queue: Stevie Strickland <sstrickl@google.com>

TBR=zra@google.com,sstrickl@google.com

# Not skipping CQ checks because original CL landed > 1 day ago.

Change-Id: I27c567ad61e54bd2916027b6e27406bd67eb8330
Reviewed-on: https://dart-review.googlesource.com/c/89140
Reviewed-by: Stevie Strickland <sstrickl@google.com>
Commit-Queue: Stevie Strickland <sstrickl@google.com>
2019-01-11 11:50:13 +00:00
Martin Kustermann 736ac8469d Use correct way of enabling blobs on dartk-bare-{simarm,simarm64}
Change-Id: Icce8bda1f186fe01f86514f697adc1f88fc500cd
Reviewed-on: https://dart-review.googlesource.com/c/89120
Reviewed-by: Martin Kustermann <kustermann@google.com>
Reviewed-by: William Hesse <whesse@google.com>
Commit-Queue: Martin Kustermann <kustermann@google.com>
2019-01-11 11:14:59 +00:00
Martin Kustermann d9c5bc131d [VM] Use --use-blobs for dartk-precomp-simarm/simarm64 builders
Change-Id: I1e7b27c586500cc265e55c6c84f2bec971458e6c
Reviewed-on: https://dart-review.googlesource.com/c/89001
Reviewed-by: Martin Kustermann <kustermann@google.com>
Commit-Queue: Martin Kustermann <kustermann@google.com>
Auto-Submit: Martin Kustermann <kustermann@google.com>
2019-01-11 02:02:29 +00:00
Kevin Moore 8719fb3a7b Generate homebrew script compatible with latest changes
Fixes https://github.com/dart-lang/homebrew-dart/issues/58

Change-Id: I23e38db5448c5d8ceb55d57689eda0eecf80c630
Reviewed-on: https://dart-review.googlesource.com/c/88883
Auto-Submit: Kevin Moore <kevmoo@google.com>
Reviewed-by: Alexander Thomas <athom@google.com>
Commit-Queue: Alexander Thomas <athom@google.com>
2019-01-10 16:43:34 +00:00
Alexander Thomas 0bb0072f5f [infra] Add vm-kernel-precomp-android builder to the test matrix
Change-Id: Id80e9ef4ce94eb2e79ad215d401f7ee8a3c37cc3
Reviewed-on: https://dart-review.googlesource.com/c/88958
Reviewed-by: William Hesse <whesse@google.com>
2019-01-10 13:07:37 +00:00
Kevin Moore d908743de1 update_homebrew: initial cleanup
Before fixing https://github.com/dart-lang/homebrew-dart/issues/58

Change-Id: Id09065c9a732d0eb4268f2667ff1bfea635d0922
Reviewed-on: https://dart-review.googlesource.com/c/88900
Reviewed-by: Alexander Thomas <athom@google.com>
Commit-Queue: Alexander Thomas <athom@google.com>
Auto-Submit: Kevin Moore <kevmoo@google.com>
2019-01-10 13:05:58 +00:00
Stevie Strickland fe079b31b0 [tools] Fix list of possible arguments for -a in --help.
Make sure the architectures listed by --help for the -a command
line option reflect all currently available architectures + 'all'.

Change-Id: I2759c7c7e846d38fce5afde1854bfd2db0dd8b70
Reviewed-on: https://dart-review.googlesource.com/c/88821
Reviewed-by: Zach Anderson <zra@google.com>
Commit-Queue: Stevie Strickland <sstrickl@google.com>
2019-01-10 10:46:14 +00:00
William Hesse cb966bdce7 Unify parsing of co19 test options and regular test options.
Keeps comment that many test options should not be used in co19 tests.

Change-Id: Iacdc6a8d240d8fd5d6ac87fc5a16ff38978d2040
Reviewed-on: https://dart-review.googlesource.com/c/88704
Reviewed-by: Alexander Thomas <athom@google.com>
2019-01-09 17:05:41 +00:00
Martin Kustermann d21b852b02 Extend bare to have coverage across all AOT configurations
Change-Id: I6a0aa22dbdca9daf85c879defa64859441f35e31
Reviewed-on: https://dart-review.googlesource.com/c/88713
Reviewed-by: William Hesse <whesse@google.com>
Commit-Queue: Martin Kustermann <kustermann@google.com>
2019-01-09 09:53:41 +00:00
Ben Konyi b0900cf494 [ VM / Service ] Fixed issue where VMOptions were not being passed to app_jitk tests.
Fixes #35512.

Change-Id: I34abbf0f73215b6695a0aa4ec6af6cb1c219d5e9
Reviewed-on: https://dart-review.googlesource.com/c/88429
Auto-Submit: Ben Konyi <bkonyi@google.com>
Commit-Queue: Siva Annamalai <asiva@google.com>
Reviewed-by: Siva Annamalai <asiva@google.com>
2019-01-08 00:44:38 +00:00
Jenny Messerly 3d6acab3e7 [dartdevc] remove unused dartdevk binary, fixes #35483
It's simply an alias for `dartdevc --kernel`, and now that build_runner
is switching to that, there's no reason to keep it around anymore.

Change-Id: I43d30a582314a236bcfa2e3a0b50bb48ddac79f8
Reviewed-on: https://dart-review.googlesource.com/c/88281
Auto-Submit: Jenny Messerly <jmesserly@google.com>
Commit-Queue: Vijay Menon <vsm@google.com>
Reviewed-by: Vijay Menon <vsm@google.com>
2019-01-04 17:19:52 +00:00
William Hesse e2471dd363 Fix spelling of "occurrences" in flaky test results output.
Change-Id: I9028298127d69893d1402080150a5bf24f3867f2
Reviewed-on: https://dart-review.googlesource.com/c/88460
Commit-Queue: William Hesse <whesse@google.com>
Reviewed-by: Jonas Termansen <sortie@google.com>
2019-01-04 14:44:00 +00:00
Jonas Termansen 5e808aa048 [infra] Add retry logic to find_base_commit.
The buildbucket API is not always reliable and responds within 30 seconds.
Rather than spuriously failing, try again. This should improve the
reliability of the base branch update bot.

Change-Id: Iade2d78372743b8d843c0dead591c28f8ee8f3ae
Reviewed-on: https://dart-review.googlesource.com/c/88445
Reviewed-by: William Hesse <whesse@google.com>
2019-01-04 13:11:35 +00:00
Daco Harkes ea16f85f8c [tools] repurpose generate_compile_commands.py to generate_idefiles.py
and let it generate a configuration file for the c++ analyzers and the Dart analyzer

Workaround for: https://github.com/Dart-Code/Dart-Code/issues/1295
Change-Id: I6d1d8100649116c2fc8325cf73c4bfc11f9eacb3
Reviewed-on: https://dart-review.googlesource.com/c/88061
Reviewed-by: Stevie Strickland <sstrickl@google.com>
2019-01-04 09:05:23 +00:00
Martin Kustermann 7e9c56c43b [Gardening] Kill any leaked flutter_tester processes before/after 3-head builder work
Issue https://github.com/dart-lang/sdk/issues/35549

Change-Id: I3dd40b878d7c1c08a6f8c9edb520a276754e77b7
Reviewed-on: https://dart-review.googlesource.com/c/88328
Reviewed-by: Martin Kustermann <kustermann@google.com>
Commit-Queue: Martin Kustermann <kustermann@google.com>
Auto-Submit: Martin Kustermann <kustermann@google.com>
2019-01-03 15:30:11 +00:00
Jonas Termansen 0a0eac5038 [infra] Build Linux ARM architectures in tools/bots/dart_sdk.py.
Change-Id: I0ab9a2c798bf95866f3139b2d3bf25fea5475a17
Reviewed-on: https://dart-review.googlesource.com/c/88327
Reviewed-by: William Hesse <whesse@google.com>
2019-01-03 14:37:35 +00:00
Nathan Mulcahey caf321aaa6 [fuchsia] Handle host_{cpu,os} vars in DEPS
Inject default values for environment vars now present in DEPS after
https://dart-review.googlesource.com/c/sdk/+/85416

Change-Id: Icd43f7b0f379725434d591c6495551529f041979
Reviewed-on: https://dart-review.googlesource.com/c/88140
Reviewed-by: Zach Anderson <zra@google.com>
Commit-Queue: Zach Anderson <zra@google.com>
2019-01-02 16:17:22 +00:00
Alexander Aprelev bcbf47d48f [gardening] Patch flutter engine to unbreak hhh build.
Change-Id: If6fa39703db1bb6307b2eda0f7eafa92cdd18375
Reviewed-on: https://dart-review.googlesource.com/c/88120
Reviewed-by: Alexander Aprelev <aam@google.com>
2018-12-27 17:00:24 +00:00
Alexander Aprelev 8bbf240078 [infra] Explicitly pass 'debug' to pub_integration_test step from pkg_linux_debug config.
This is follow-up to https://dart-review.googlesource.com/c/sdk/+/87984 with temporary workaround.

Change-Id: I8077f636608c4e9c223c679ffc03151f7c5b83d8
Reviewed-on: https://dart-review.googlesource.com/c/88040
Reviewed-by: Alexander Aprelev <aam@google.com>
Commit-Queue: Alexander Aprelev <aam@google.com>
2018-12-26 15:53:55 +00:00
Alexander Aprelev 0a0ee50501 [infra] Add debug mode support to pub_integration_test.
This is follow-up to https://dart-review.googlesource.com/c/sdk/+/87921.

Change-Id: I32eca90b5b4f708b9238f1aa475b967fd5c242fd
Reviewed-on: https://dart-review.googlesource.com/c/87984
Commit-Queue: Alexander Aprelev <aam@google.com>
Reviewed-by: Zach Anderson <zra@google.com>
2018-12-21 23:47:23 +00:00
Alexander Aprelev 0f523f2462 [infra] Adds pkg linux debug buildbot
Change-Id: I2327f20f61688abcbb4c430e7bebf4ee45672816
Reviewed-on: https://dart-review.googlesource.com/c/87921
Reviewed-by: Zach Anderson <zra@google.com>
Commit-Queue: Alexander Aprelev <aam@google.com>
2018-12-21 18:37:49 +00:00
Samir Jindel 2219b51b7e [gardening/flutter] Update 3xH patch to remove --sync-async flag from engine build file.
Change-Id: Ib35ddb9b297a69d3e41fd15ef259d326353ad340
Reviewed-on: https://dart-review.googlesource.com/c/87974
Reviewed-by: Daco Harkes <dacoharkes@google.com>
2018-12-21 15:23:32 +00:00
Daco Harkes fbd014bc8a Revert "[gardening] remove sync-async flag use from flutter"
This reverts commit 58fd3aaaf2.

Reason for revert: patch invalid hash

Original change's description:
> [gardening] remove sync-async flag use from flutter
> 
> Change-Id: I3bc54d60507f7234d2e4a14ba58f327fd82cc728
> Reviewed-on: https://dart-review.googlesource.com/c/87971
> Reviewed-by: Samir Jindel <sjindel@google.com>

TBR=sjindel@google.com,dacoharkes@google.com

Change-Id: If1d4ef50edf6d4ac95cf906a18eafe4af25338cb
No-Presubmit: true
No-Tree-Checks: true
No-Try: true
Reviewed-on: https://dart-review.googlesource.com/c/87973
Reviewed-by: Daco Harkes <dacoharkes@google.com>
Commit-Queue: Daco Harkes <dacoharkes@google.com>
2018-12-21 15:15:05 +00:00
Daco Harkes 58fd3aaaf2 [gardening] remove sync-async flag use from flutter
Change-Id: I3bc54d60507f7234d2e4a14ba58f327fd82cc728
Reviewed-on: https://dart-review.googlesource.com/c/87971
Reviewed-by: Samir Jindel <sjindel@google.com>
2018-12-21 14:55:45 +00:00
asiva dff358223e [VM/Runtime] Delete flag --sync-async and it's uses.
Remove all references to the --sync-async flag which was added as a transition step
when the feature was being introduced.

Change-Id: Ic5b1c8c8b3e2d92a70d954d401afeddfd43f5e92
Reviewed-on: https://dart-review.googlesource.com/c/87381
Commit-Queue: Siva Annamalai <asiva@google.com>
Reviewed-by: Alexander Markov <alexmarkov@google.com>
Reviewed-by: Sigmund Cherem <sigmund@google.com>
2018-12-20 23:37:45 +00:00
Martin Kustermann b9170ffb83 Add new "dartkp-bare-linux-release-x64" configuration to test_matrix.json
This configuration will run the AOT compiler/runtime with the new
--use-bare-instructions support.

Change-Id: I029c4098f17e194d14e1b213173f2c6907e69f98
Reviewed-on: https://dart-review.googlesource.com/c/87408
Commit-Queue: Martin Kustermann <kustermann@google.com>
Reviewed-by: Jonas Termansen <sortie@google.com>
Reviewed-by: William Hesse <whesse@google.com>
Reviewed-by: Alexander Thomas <athom@google.com>
2018-12-18 14:14:34 +00:00
Stevie Strickland 4afb45f5b8 Change default target to "create_sdk".
Currently the "all" target can lead to build errors and is unsupported,
so fall back to a supported target instead.

Change-Id: I925a785e4b81ab92e99c3842cb81c338c5a1d990
Reviewed-on: https://dart-review.googlesource.com/c/87403
Auto-Submit: Stevie Strickland <sstrickl@google.com>
Reviewed-by: Zach Anderson <zra@google.com>
Commit-Queue: Stevie Strickland <sstrickl@google.com>
2018-12-17 18:09:07 +00:00
Jonas Termansen 988a376803 [infra] Fix batch mode crashes uploading crash dumps.
Batch mode crashes were treated as if they exited -10 (SIGUSR1 on Linux),
however these are all Dart unhandled exceptions, and no crash dumps were
produced. Exit 253 instead, which dart2js uses to signify an internal
compiler error, which is considered a crash but inhibits uploading crash
reports.

Change-Id: I3779ec1c511c1bcd31967254d3e0cee9a347a9bd
Reviewed-on: https://dart-review.googlesource.com/c/87440
Commit-Queue: Jonas Termansen <sortie@google.com>
Reviewed-by: William Hesse <whesse@google.com>
2018-12-17 17:53:07 +00:00
William Hesse d03b79178c [infra] Test suite filenames should match that suite's selector only.
Change-Id: Ica318db0167914ac3e268396210014bcbb55f4c2
Reviewed-on: https://dart-review.googlesource.com/c/87069
Reviewed-by: Jonas Termansen <sortie@google.com>
Commit-Queue: William Hesse <whesse@google.com>
2018-12-17 17:44:07 +00:00
William Hesse 5c916afad9 [testing] Stop ignoring flaky IE11 timeouts
BUG=dartbug.com/28955

Change-Id: I74b11ad41fd1061a847c0f5c2d58d63189033cdc
Reviewed-on: https://dart-review.googlesource.com/c/87405
Reviewed-by: Alexander Thomas <athom@google.com>
2018-12-17 13:30:15 +00:00
Martin Kustermann 03549b5a17 [infra] Let tool/test.py fail if the configuration supplied with -n does not exist
This will result in:

    tools/test.py -n foobar
    The named configuration "foobar" does not exist. The following configurations are available:
      * analyzer-asserts-linux
      * analyzer-asserts-mac
      * analyzer-asserts-win
      * ...


Change-Id: I2fadc2ab3ae6f2b34dd373d84365d44ef27c7b8b
Reviewed-on: https://dart-review.googlesource.com/c/87325
Reviewed-by: Daco Harkes <dacoharkes@google.com>
Reviewed-by: Alexander Thomas <athom@google.com>
Commit-Queue: Martin Kustermann <kustermann@google.com>
2018-12-16 18:57:23 +00:00
Daco Harkes 1f5c77c298 tools/generate_compile_commands.py conform to style guide
Change-Id: I7d0b917968cf232fde4d0650e25d82fa6b4caefe
Reviewed-on: https://dart-review.googlesource.com/c/86881
Reviewed-by: Zach Anderson <zra@google.com>
2018-12-13 18:43:01 +00:00
Jonas Termansen 275ce70649 [infra] Fix test.py uploading non-existent dart2js core dumps.
dart2js internal compiler errors exit 253 and don't produce a core dump, but
rather dump the relevant debug information as a stacktrace on stdio. This
change disables uploading crashes in that case, which would otherwise fail
because core dumps can't be located for the dart2js process, causing the test
step to fail.

Change-Id: I6154bd205c8cccb9c62d007e6071fea8b4196a96
Reviewed-on: https://dart-review.googlesource.com/c/87075
Reviewed-by: Alexander Thomas <athom@google.com>
Commit-Queue: Jonas Termansen <sortie@google.com>
2018-12-13 13:31:00 +00:00
Vyacheslav Egorov 6bf4d2ab1a [vm] Do not suppress WER when running VM outside of our test suite.
We prevent our crashing tests from hitting timeouts on the bots
by disabling Windows Error Reporting UI via SetErrorMode.

However this also disables builtin crash dump generation functionality
that WER has.

This change moves WER suppression for GP faults under a flag to
make sure that we can collect crash dumps when VM crashes on
user machines.

We also make sure that our exception handler call abort()
instead of calling exit() - because exit would not cause
WER to generate a dump.

Bug: https://github.com/flutter/flutter/issues/22558
Change-Id: I42f3e31cfaaa578f6a040b8f10621e5663cddc09
Reviewed-on: https://dart-review.googlesource.com/c/87061
Auto-Submit: Vyacheslav Egorov <vegorov@google.com>
Reviewed-by: Martin Kustermann <kustermann@google.com>
Commit-Queue: Vyacheslav Egorov <vegorov@google.com>
2018-12-12 18:34:13 +00:00
William Hesse 83c6f7695d [infra] Remove IE11 screenshot capability from test.py
This was currently broken, and would not work from shards anyway.

Change-Id: Ib32c98de0a80870b8cd1a249bea578f98e438124
Reviewed-on: https://dart-review.googlesource.com/c/87068
Reviewed-by: Alexander Thomas <athom@google.com>
2018-12-12 15:42:52 +00:00
Kevin Moore 1337062779 Remove pkg:microlytics
Never used, not touched in 4+ years

Change-Id: Ia1568969b2d07c56b5cbe3258e6a13e10b80813d
Reviewed-on: https://dart-review.googlesource.com/c/86941
Reviewed-by: Devon Carew <devoncarew@google.com>
Commit-Queue: Kevin Moore <kevmoo@google.com>
2018-12-11 17:18:00 +00:00
Jonas Termansen 4d63202b53 [infra] Fix warning when pre-approving an already approved failure.
This can happen if a test is approved as failing, it then is fixed, and a
changelist needs to break it again, and the new failure is pre-approved.
This causes approve_results to warn that it can't properly change an approval
from one outcome to the exact same outcome, which is of course wrong, it can
do that.

Change-Id: Ib9ea1d4ea5a204b66808a1789c31fe6ec9c2c9d2
Reviewed-on: https://dart-review.googlesource.com/c/86920
Reviewed-by: William Hesse <whesse@google.com>
2018-12-11 15:24:20 +00:00
William Hesse 78b53ff6b2 [testing] Format logs with more distinctive separators
The output of a compare-results run showing logs will enclose
the failing test name in a box, as in:

/=======================================================================================\
| dart2js_extra/no_such_method_test is new and failed (CompileTimeError, expected Pass) |
\=======================================================================================/

--- Command "dart2js" (took 244ms):
DART_CONFIGURATION=ReleaseX64 out/ReleaseX64/dart-sdk/bin/dart2js --generate-code-with-compile-time-errors --test-mode --packages=/b/s/w/ir/cache/builder/sdk/.packages --out=/b/s/w/ir/cache/builder/sdk/out/ReleaseX64/generated_compilations/dart2js-sdk/tests_compiler_dart2js_extra_no_such_method_test/test.js /b/s/w/ir/cache/builder/sdk/tests/compiler/dart2js_extra/no_such_method_test.dart --preview-dart-2

exit code:
1

Change-Id: Ic63fa41381bab320636340c1e7919e22cd424c1d
Reviewed-on: https://dart-review.googlesource.com/c/86925
Reviewed-by: Johnni Winther <johnniwinther@google.com>
Reviewed-by: Jonas Termansen <sortie@google.com>
2018-12-11 14:19:27 +00:00
Vyacheslav Egorov 3baab294c1 [gardening] Update 3xHEAD patch
TBR=paulberry@google.com

Change-Id: I9dffd4709f2817717c42733a608cdcd9bf59e984
Reviewed-on: https://dart-review.googlesource.com/c/86922
Reviewed-by: Vyacheslav Egorov <vegorov@google.com>
2018-12-11 13:07:50 +00:00
Jonas Termansen 0e08c267c8 [infra] Add Windows support for gsutil.py.
The Windows PATH search finds gsutil.py and attempts to invoke that, which
is not a valid Windows application. Instead invoke it's accompanying batch
file.

Bug: https://github.com/dart-lang/sdk/issues/35367
Change-Id: I396809e18dabdc59664bbda34e0832cc7dd4082f
Reviewed-on: https://dart-review.googlesource.com/c/86767
Reviewed-by: William Hesse <whesse@google.com>
2018-12-11 12:08:51 +00:00