diff --git a/tools/test_setup_amd.py b/tools/test_setup_amd.py index 94cc0c39..3a5e3d35 100644 --- a/tools/test_setup_amd.py +++ b/tools/test_setup_amd.py @@ -326,7 +326,7 @@ class WindowsDetection(unittest.TestCase): def publish(meta): with zipfile.ZipFile(pub / setup.WIN_HIP_ASSET, "w") as z: - z.writestr("strata.exe", "engine") + z.writestr(setup.EXE, "engine") # #975: "strata" on Linux z.writestr("strata-device.exe", "probe") z.writestr("rocm/bin/amdhip64_7.dll", "dll") z.writestr("BUILD.json", json.dumps(meta)) diff --git a/tools/test_setup_unsloth.py b/tools/test_setup_unsloth.py index 567f4644..9dd7514a 100644 --- a/tools/test_setup_unsloth.py +++ b/tools/test_setup_unsloth.py @@ -181,6 +181,7 @@ class Base(unittest.TestCase): mock.patch.object(setup, "page_file_gb", lambda: 16.0), mock.patch.object(setup, "free_gb", lambda p: free), mock.patch.object(setup, "rotational_disk", lambda p: None), # #605: not the test PC's disk + mock.patch.object(setup, "is_wsl", lambda: False), # #974: the tests are not run inside WSL mock.patch.object(setup, "pip_install", lambda *a, **k: None), mock.patch.object(setup, "get_llama_cpp", lambda: self.t / "llama.cpp"), mock.patch.object(setup, "get_prebuilt", lambda *a, **k: eng),