1
0
mirror of https://github.com/dart-lang/sdk synced 2024-07-05 17:30:16 +00:00
dart-sdk/third_party
Alexander Thomas 182d55dfda [dart2js] Add support for BabelJS to test.py
This adds support for BabelJS to test.py's dart2js compiler
configuration. When --babel is specified directly or through a named
configuration, test.py will run an additional step after dart2js that
post-processes the javascript output by running it through BabelJS with
the specified Babel configuration. BabelJS is added to the DEPS in its
standalone form. d8 is used to run BabelJS standalone to avoid adding
a dependency on NodeJS. d8 can only write to stdout but not to files or
stderr, which makes it necessary to change the test_runner to handle
commands that expect their output to be piped to a file.

Changes:
* Add --babel option to test.py.
* Add babel option to pkg/smith.
* Switch IE11 builder to use babel transformation.
* Fix option list comparison bugs in pkg/smith.
* Change dart2js compiler configuration to generate files using the
  test name rather than just "out.js" (update test that relied on this).
* Remove runtime_configuration dependency on test_suite.
* Remove obsolete blocks adding --preview-dart-2 dart2js arguments.
* Make dart2js' compiler configuration more like DDC's.
* Remove createCommand method that is no longer used.
* Remove support for "OtherResources" which was only used for
  dart:isolate tests on dart2js and DDC.
* Skip co19_2 tests that are slow to transform with babel.
* Simplify the timeout handling in the test runner with Future.timeout.

Change-Id: I32e4917b2a57ecbe684538e40d744f0101c552a0
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/90402
Commit-Queue: Alexander Thomas <athom@google.com>
Reviewed-by: Sigmund Cherem <sigmund@google.com>
2019-05-29 08:39:44 +00:00
..
babel [dart2js] Add support for BabelJS to test.py 2019-05-29 08:39:44 +00:00
d8 [infra] Update d8 to 7.5.149 2019-04-11 20:23:51 +00:00
firefox_jsshell Roll jsshell to C54.0.1 2017-07-06 15:50:43 -07:00
pkg_tested Status file two flaky pkg bot tests. 2018-08-01 21:15:44 +00:00
requirejs Add requirejs to repo for DDC 2017-03-29 08:05:40 -07:00
tcmalloc Roll tcmalloc to e9ab4c53041ac62feefbbb076d326e9a77dd1567. 2018-12-13 02:20:03 +00:00
.gitignore Remove !googletest from third_party/.gitignore 2019-04-03 14:24:36 +00:00
7zip.tar.gz.sha1 Move third_party/firefox_jsshell dependency to cloud storage 2015-12-21 14:38:14 +01:00
clang.tar.gz.sha1 Move third_party/clang to cloud storage 2015-12-22 15:17:46 +01:00