Skip to content

Commit 8516bc1

Browse files
committed
[test_runner] Fix a few tests after making test runner default to host architecture
This is a follow up to: https://dart-review.googlesource.com/c/sdk/+/426463 Change-Id: I4eac63328b5fa2a2576e6f49424e3bff12f2899d Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/426840 Reviewed-by: Alexander Thomas <[email protected]>
1 parent eb41d43 commit 8516bc1

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

pkg/smith/test/configuration_test.dart

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -165,9 +165,9 @@ void main() {
165165
System.linux)));
166166
});
167167

168-
test("architecture defaults to 'x64'", () {
168+
test("architecture defaults to host architecture", () {
169169
expect(Configuration.parse("dart2js-debug-vm-linux", {}).architecture,
170-
equals(Architecture.x64));
170+
equals(Architecture.host));
171171
});
172172

173173
test("compiler defaults to runtime's default compiler", () {
@@ -213,7 +213,7 @@ void main() {
213213
"hot-reload-rollback": true,
214214
"use-sdk": true
215215
}),
216-
equals(Configuration("dart2js", Architecture.x64, Compiler.dart2js,
216+
equals(Configuration("dart2js", Architecture.host, Compiler.dart2js,
217217
Mode.release, Runtime.d8, System.host,
218218
nnbdMode: NnbdMode.weak,
219219
builderTag: "the tag",

pkg/smith/test/test_matrix_test.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ void main() {
3838
enableAsserts: true)));
3939
expect(
4040
testMatrix.configurations[2],
41-
equals(Configuration("ddc-hostasserts-linux-d8", Architecture.x64,
41+
equals(Configuration("ddc-hostasserts-linux-d8", Architecture.host,
4242
Compiler.ddc, Mode.release, Runtime.d8, System.linux,
4343
enableHostAsserts: true)));
4444
});

0 commit comments

Comments
 (0)