8b2b6b2440
This reverts commit74c5aa3a7a. Reason for revert: Fix golem breakage by not changing the script dart_precompiled_runtime2 TEST=ci Original change's description: > Revert ""[SDK/VM] - Rename dart_precompiled_runtime to dartaotruntime, ensures we have a uniform name for the executable between the build directories and the SDK directory"" > > This reverts commitf81a402aa1. > > Reason for revert: golem benchmarks are failing to run > > TEST=ci > > Original change's description: > > "[SDK/VM] - Rename dart_precompiled_runtime to dartaotruntime, ensures we have a uniform name for the executable between the build directories and the SDK directory" > > > > Fixed golem breakage by temporarily copying dartaotruntime to dart_precompiled_runtime > > > > This reverts commit75e6a748f7. > > > > TEST=ci > > Change-Id: I9efe40643c59bc617f6fb484b89b038deaffbb93 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/393941 Reviewed-by: Alexander Aprelev <aam@google.com> Commit-Queue: Siva Annamalai <asiva@google.com>
38 lines
1.1 KiB
Markdown
38 lines
1.1 KiB
Markdown
> [!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 runtime_precompiled
|
|
./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
|