Skip to content

Commit

Permalink
[gardening] Fix vm/dart/gen_snapshot_include_resolved_urls_test
Browse files Browse the repository at this point in the history
Fix gen_kernel path (on Windows) and --packages flag.

TEST=ci
Issue: #55537
Change-Id: I6fcfab30da855978c92bf0d7d4d543f59bf382f0
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/363940
Commit-Queue: Alexander Markov <alexmarkov@google.com>
Reviewed-by: Alexander Aprelev <aam@google.com>
  • Loading branch information
alexmarkov authored and Commit Queue committed Apr 22, 2024
1 parent 9068f83 commit 33efdcd
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ main(List<String> args) async {
final scriptDill = path.join(tempDir.path, 'test.dill');

// Compile script to Kernel IR.
await run('pkg/vm/tool/gen_kernel', <String>[
await run(genKernel, <String>[
'--aot',
'--packages=$sdkDir/.dart_tool/package_config.json',
'--platform=$platformDill',
Expand All @@ -56,9 +56,9 @@ main(List<String> args) async {
final scriptDill = path.join(tempDir.path, 'test.dill');

// Compile script to Kernel IR.
await run('pkg/vm/tool/gen_kernel', <String>[
await run(genKernel, <String>[
'--aot',
'--packages=$sdkDir/.packages',
'--packages=$sdkDir/.dart_tool/package_config.json',
'--platform=$platformDill',
'-o',
scriptDill,
Expand Down

0 comments on commit 33efdcd

Please sign in to comment.