Paul Berry
c925fa6b00
Lay the groundwork for comparing language_2 compilation results between analyzer and CFE.
...
This CL just adds the compiler=compareAnalyzerCfe option to the test
framework, and updates the status files so that no language_2 failures
are expected when this "compiler" is used. A placeholder executable
has been added to sdk/bin, but it is not wired up yet--that will be
done in a future CL.
In a future CL I will wire up the placeholder executable to the code
in pkg/analyzer_fe_comparison, and fill in the methods in
CompareAnalyzerCfeCommandOutput to process the output accordingly.
Change-Id: I27439de4ac609cb8b003f157a0ff88d181bfbcae
Reviewed-on: https://dart-review.googlesource.com/73561
Commit-Queue: Paul Berry <paulberry@google.com >
Reviewed-by: Bob Nystrom <rnystrom@google.com >
2018-09-08 15:25:05 +00:00
William Hesse
e29176ea0d
Add --use-cfe and --analyzer-use-fasta-parser flags to smith:configuration
...
Use them in test_matrix.json for the analyzer builders.
Bug: https://github.com/dart-lang/sdk/issues/34151
Change-Id: I4abe0bcc8b62ee372df32c0402fad3cd9042cb27
Reviewed-on: https://dart-review.googlesource.com/70282
Reviewed-by: Bob Nystrom <rnystrom@google.com >
2018-08-17 14:42:43 +00:00
William Hesse
4c2ef4bb33
Add side-by-side printing of configurations to package:smith
...
Change-Id: I5e516447c619a189b155a5b55ee3ec45504d6b30
Reviewed-on: https://dart-review.googlesource.com/68682
Reviewed-by: William Hesse <whesse@google.com >
Reviewed-by: Bob Nystrom <rnystrom@google.com >
2018-08-16 13:28:27 +00:00
Alexander Thomas
ba10df6611
[infra] Switch pkg bots to Dart 2
...
* Update named configs for unit tests to Dart 2.
* Bump json_rpc_2 in front_end package.
* Use named configurations in unit tests.
* Fix typing issues.
Change-Id: Id3b393a0d2abe92c8eaec10fa8057fb35d18a4c6
Reviewed-on: https://dart-review.googlesource.com/67341
Reviewed-by: Jens Johansen <jensj@google.com >
2018-08-13 07:04:06 +00:00
William Hesse
be7022f6d9
Remove named configuration template expansion code from test.py.
...
Named configuration templates are expanded by the recipe before being
passed to test.py.
Change-Id: I164df7acf0a0aff76f050b871101590efae51954
Reviewed-on: https://dart-review.googlesource.com/69300
Commit-Queue: William Hesse <whesse@google.com >
Reviewed-by: Jonas Termansen <sortie@google.com >
2018-08-10 13:12:49 +00:00
William Hesse
0bb7a8730a
Fix analysis error in pkg/smith
...
Change-Id: Idf84bc411d08353d2235b927f6373501f9a327b1
Reviewed-on: https://dart-review.googlesource.com/68370
Reviewed-by: Brian Wilkerson <brianwilkerson@google.com >
2018-08-06 17:55:12 +00:00
William Hesse
e0f6fdfff1
Refactor testing:TestConfiguration to use smith:Configuration by inclusion.
...
Change-Id: I5c116ad082a24c25a07b9ceb6aaf8c9cbe3f11e3
Reviewed-on: https://dart-review.googlesource.com/68361
Reviewed-by: Bob Nystrom <rnystrom@google.com >
2018-08-06 16:19:08 +00:00
William Hesse
cf77a3b00f
[Test.dart] Use Compiler, Runtime, etc. classes from pkg:smith.
...
Change-Id: I1251c94e87fe6953f7604b5ef8f6ae5c49ab36d3
Reviewed-on: https://dart-review.googlesource.com/67522
Commit-Queue: William Hesse <whesse@google.com >
Reviewed-by: Bob Nystrom <rnystrom@google.com >
Reviewed-by: Alexander Thomas <athom@google.com >
2018-08-01 09:45:17 +00:00
Zach Anderson
1336802dee
[test] Adds a KBC configuration to the test matrix
...
This is to run on FYI
Change-Id: Ic62e858853a3ccb67d844ec454fd1819aa35b87d
Reviewed-on: https://dart-review.googlesource.com/65780
Commit-Queue: Zach Anderson <zra@google.com >
Reviewed-by: William Hesse <whesse@google.com >
2018-07-26 22:05:06 +00:00
William Hesse
1400cf66e7
Add named configurations to test matrix.
...
Change-Id: I259cd854a6ceb2ab2c2813184bfaae1fbc7b3f4e
Reviewed-on: https://dart-review.googlesource.com/62140
Reviewed-by: Bob Nystrom <rnystrom@google.com >
2018-07-04 13:57:19 +00:00
Bob Nystrom
a4c7cf388f
First stab at a parsing library for named configurations.
...
Change-Id: I1a2660914715d529b0233645b109b13c2fa9171a
Reviewed-on: https://dart-review.googlesource.com/61121
Commit-Queue: Bob Nystrom <rnystrom@google.com >
Reviewed-by: William Hesse <whesse@google.com >
2018-06-26 22:17:08 +00:00