hipsolver: remove use of deprecated run_test method (#45761)

* hipsolver: new test API
This commit is contained in:
AcriusWinter 2024-08-19 09:38:19 -07:00 committed by GitHub
parent d49f3a0960
commit cb8878aaf4
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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):