Fix cross-platform test assumptions

This commit is contained in:
nomoreshow
2026-09-04 01:04:36 +03:00
parent e0eae4d8fe
commit 1f57455a34
2 changed files with 4 additions and 1 deletions
+1
View File
@@ -205,6 +205,7 @@ class InstallProgram(Local):
# These fixtures are Ubuntu release archives. Keep checking that path
# on every host, including the Mac that checks the macOS backend.
self.patch_attr(sys, "platform", "linux")
self.patch_attr(ggml.platform, "machine", lambda: "x86_64")
# Built once, because the release listing has to publish its checksum
# and a tarball is not the same bytes twice.
self.archive = tarball({