summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--var/spack/repos/builtin/packages/hipsolver/package.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/var/spack/repos/builtin/packages/hipsolver/package.py b/var/spack/repos/builtin/packages/hipsolver/package.py
index 26ab14eb0c..1b53a6b04c 100644
--- a/var/spack/repos/builtin/packages/hipsolver/package.py
+++ b/var/spack/repos/builtin/packages/hipsolver/package.py
@@ -115,8 +115,9 @@ class Hipsolver(CMakePackage, CudaPackage, ROCmPackage):
patch("0001-suite-sparse-include-path-6.1.1.patch", when="@6.1.1:")
def check(self):
- exe = join_path(self.build_directory, "clients", "staging", "hipsolver-test")
- self.run_test(exe, options=["--gtest_filter=-*known_bug*"])
+ exe = join_path(self.builder.build_directory, "clients", "staging", "hipsolver-test")
+ exe = which(exe)
+ exe(["--gtest_filter=-*known_bug*"])
@classmethod
def determine_version(cls, lib):