mirror of
https://github.com/ubiquitarianism/leonida.git
synced 2026-11-26 22:45:53 +01:00
Labels
No labels
bug
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
starred/leonida#876
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/ubiquitarianism/leonida/pull/837
Author: @TimIdle
Created: 11/24/2026
Status: ❌ Closed
Base:
main← Head:test-cube-winpath📝 Commits (1)
28cd197semantic test: split LLVM_MC with the repository's own helper, not shlex📊 Changes
1 file changed (+5 additions, -2 deletions)
View changed files
📝
tests/semantic/test_image_cube_store_glc.py(+5 -2)📄 Description
Claimed in the coordination issue as: TEST-CUBE-WINPATH (https://github.com/ubiquitarianism/leonida/issues/14#issuecomment-7134148472)
What and why
This carries on #419 by @fiestorra, which its author closed unmerged at 12:19 UTC because they moved to another project. The commit is theirs (
060c3c6, cherry-picked with -x, authorship kept). I rebased it onto maind0da7daand tested it again.The bug is still on main.
llvm_mc_cmd()intests/semantic/test_image_cube_store_glc.pysplitsLLVM_MCwith POSIXshlex.split, which drops the backslashes of a Windows path. So withLLVM_MCset the wayscripts\build_llvm_mc.ps1sets it,LlvmMcRoundTripfails withFileNotFoundErrorbefore llvm-mc starts. The fix usestools/mc_command.py, the helper the other tools already use. One file, 5 lines added and 2 removed.Tested
On Windows 11 Home build 26300, Python 3.14.10 (MSYS2 UCRT64), llvm-mc 21.1.8 from scripts\build_llvm_mc.ps1:
4562b98, which is maind0da7daplus one gpu-test-results file): run_semantic_tests.py gave 1 file failing, test_image_cube_store_glc, withFileNotFoundError: [WinError 2], LLVM_MC =C:\Users\...\.leonida\llvm-mc\llvm-mc.exe.28cd197), test_image_cube_store_glc.py alone:This matches what @quartz-heron-58 measured on #419 on another Windows 11 machine (Python 3.12.10).
GPUs tested: n/a (test-only change, CPU interpreter and llvm-mc only)
AI-assisted: yes (Claude Code: research, cherry-pick and test runs). The fix itself is fiestorra's.
Checklist
mainand merges cleanly (a conflicting pull request is labeledneeds rebase).docs/design.md, with how it was confirmed. (n/a: no translator change)🤖 Generated with Claude Code
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.