Skip to content

Commit 8b260b7

Browse files
[test_runner] Better name ELF and Mach-O files directly produced by gen_snapshot.
Change-Id: I2afac0207c40daccf9eb236a278cd1fb39c42876 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/456422 Reviewed-by: Alexander Markov <alexmarkov@google.com>
1 parent 5b1be80 commit 8b260b7

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

pkg/test_runner/lib/src/compiler_configuration.dart

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1423,6 +1423,12 @@ abstract mixin class VMKernelCompilerMixin {
14231423
return Path('$tempDir/out.dll').toNativePath();
14241424
}
14251425
}
1426+
if (_configuration.genSnapshotFormat == GenSnapshotFormat.machODylib) {
1427+
return Path('$tempDir/libout.dylib').toNativePath();
1428+
}
1429+
if (_configuration.genSnapshotFormat == GenSnapshotFormat.elf) {
1430+
return Path('$tempDir/libout.so').toNativePath();
1431+
}
14261432
return Path('$tempDir/out.aotsnapshot').toNativePath();
14271433
}
14281434

0 commit comments

Comments
 (0)