Run the server files harness and platform-sensitive harnesses where they agree

Number the server files cases, whose folders eula-true and eula-TRUE collide
on case-insensitive macOS file systems; keep world_border_render and mob_ai
off the Mac, where platform float math changes their results; give the local
executor the dead flag the flake check reads.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Ludovic Marie
2026-10-12 18:57:30 +02:00
parent f88b1da965
commit c51bfda80c
3 changed files with 13 additions and 4 deletions
+1
View File
@@ -654,6 +654,7 @@ class LocalExecutor:
self.name, self.jobs, self.memory_budget, self.timeout = HOST, jobs, memory_budget, timeout
self.max_peak = max_peak # set while other machines can take heavier harnesses
self.running = {}
self.dead = False # this machine never drops out, unlike a remote host
self.available, self.measured = 0, 0.0
(STATE_DIR / "logs").mkdir(parents=True, exist_ok=True)
(STATE_DIR / "traces").mkdir(parents=True, exist_ok=True)
+3 -1
View File
@@ -14,7 +14,9 @@
"jobs": 14,
"exclude": {
"options": "Rust's f64::powf uses the platform libm, which rounds differently on macOS",
"chunk_generation": "one ocean ruined portal differs on macOS (platform float math)"
"chunk_generation": "one ocean ruined portal differs on macOS (platform float math)",
"world_border_render": "the wall's alpha differs by one ulp on macOS (platform float math)",
"mob_ai": "mob movement differs on macOS (platform float math in random positions)"
}
},
"thinkpad": {
+9 -3
View File
@@ -132,7 +132,9 @@ def make_cases(build):
root.mkdir(parents=True)
count = 0
for name, data in properties_cases():
d = root / name
# Numbered: macOS file systems ignore case, and eula-true and
# eula-TRUE must not share a folder.
d = root / f'{count:04d}-{name}'
d.mkdir()
if data is None:
(d / 'properties.default').write_bytes(b'')
@@ -140,7 +142,9 @@ def make_cases(build):
(d / 'server.properties').write_bytes(data)
count += 1
for name, data in eula_cases():
d = root / name
# Numbered: macOS file systems ignore case, and eula-true and
# eula-TRUE must not share a folder.
d = root / f'{count:04d}-{name}'
d.mkdir()
if data is None:
(d / 'eula.missing').write_bytes(b'')
@@ -148,7 +152,9 @@ def make_cases(build):
(d / 'eula.txt').write_bytes(data)
count += 1
for name, files in list_cases():
d = root / name
# Numbered: macOS file systems ignore case, and eula-true and
# eula-TRUE must not share a folder.
d = root / f'{count:04d}-{name}'
d.mkdir()
for f, text in files.items():
(d / f).write_text(text, encoding='utf-8')