[wiki] move the https://github.com/dart-lang/sdk/wiki to the docs/ dir
Change-Id: I28db796fadcc111d97d3589bf3988ea0bbb8e18a Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/366682 Reviewed-by: Alexander Thomas <athom@google.com> Commit-Queue: Devon Carew <devoncarew@google.com>
This commit is contained in:
committed by
Commit Queue
parent
3bdc1f9c59
commit
2837647bea
@@ -0,0 +1,37 @@
|
||||
> [!IMPORTANT]
|
||||
> This page was copied from https://github.com/dart-lang/sdk/wiki and needs review.
|
||||
> Please [contribute](../CONTRIBUTING.md) changes to bring it up-to-date -
|
||||
> removing this header - or send a CL to delete the file.
|
||||
|
||||
---
|
||||
|
||||
# Developer notes for working on kernel
|
||||
|
||||
## How to test changes on pkg/kernel:
|
||||
|
||||
Run dartanalyzer in strong mode:
|
||||
```
|
||||
(cd pkg/kernel && dartanalyzer --strong bin lib test)
|
||||
```
|
||||
|
||||
Run unit tests of kernel, front_end, and dart2js that are directly affected:
|
||||
```
|
||||
./tools/test.py pkg/kernel -mrelease --checked
|
||||
./tools/test.py pkg/front_end -mrelease --checked
|
||||
./tools/test.py dart2js/kernel -mrelease --checked
|
||||
```
|
||||
|
||||
Run end-to-end tests using dartk + VM:
|
||||
```
|
||||
./tools/test.py -m release -c dartk language
|
||||
```
|
||||
|
||||
Optionally (this is slow) run end-to-end tests using AOT:
|
||||
```
|
||||
./tools/build.py dart_precompiled_runtime
|
||||
./tools/test.py -cdartkp -rdart_precompiled language co19
|
||||
```
|
||||
|
||||
Comparing the output of compiling dart2js before and after the change. This [script][1] can make it easier to compare the results.
|
||||
|
||||
[1]: https://gist.github.com/asgerf/adde37ed58fe984d53b82d362187c777
|
||||
Reference in New Issue
Block a user