[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
This commit is contained in:
parent
2befb57b99
commit
116fa6eb92
1 changed files with 2 additions and 2 deletions
|
|
@ -2105,13 +2105,13 @@ class TestHipSdkEnvPathResolution:
|
|||
source = _SETUP_PS1_PATH.read_text(encoding = "utf-8")
|
||||
assert "ROCM_PATH" in source
|
||||
# Confirm the fallback pattern: HIP_PATH ?? ROCM_PATH (or equivalent elseif)
|
||||
assert ("ROCM_PATH" in source and "HIP_PATH" in source)
|
||||
assert "ROCM_PATH" in source and "HIP_PATH" in source
|
||||
|
||||
def test_install_checks_rocm_path_as_hipinfo_fallback(self):
|
||||
"""install.ps1 must also check ROCM_PATH as a secondary hipinfo fallback."""
|
||||
source = _INSTALL_PS1_PATH.read_text(encoding = "utf-8")
|
||||
assert "ROCM_PATH" in source
|
||||
assert ("ROCM_PATH" in source and "HIP_PATH" in source)
|
||||
assert "ROCM_PATH" in source and "HIP_PATH" in source
|
||||
|
||||
def test_setup_resolves_hipinfo_via_bin_subdir(self):
|
||||
"""setup.ps1 must join the env var root with 'bin\\hipinfo.exe'."""
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue