| Index: tests/standalone/io/code_collection_test.dart
|
| diff --git a/tests/standalone/io/code_collection_test.dart b/tests/standalone/io/code_collection_test.dart
|
| index 696be6e024d2e93222e527eb7eddccb9d74280b5..bf28613dd38f4e58b8cdd37d775ddebde51ed91a 100644
|
| --- a/tests/standalone/io/code_collection_test.dart
|
| +++ b/tests/standalone/io/code_collection_test.dart
|
| @@ -42,18 +42,19 @@ doTest() {
|
| }
|
|
|
|
|
| -main(List<String> arguments) {
|
| +main(List<String> arguments) async {
|
| if (arguments.contains("--run")) {
|
| doTest();
|
| } else {
|
| // Run the test and capture stdout.
|
| + var packageRoot = await Platform.packageRoot;
|
| var pr = Process.runSync(Platform.executable,
|
| ["--collect-code",
|
| "--code-collection-interval-in-us=0",
|
| "--old_gen_growth_rate=10",
|
| "--log-code-drop",
|
| "--optimization-counter-threshold=-1",
|
| - "--package-root=${Platform.packageRoot}",
|
| + "--package-root=$packageRoot",
|
| Platform.script.toFilePath(),
|
| "--run"]);
|
|
|
|
|