hypre: get rid of use of deprecated run_test method (#45762)

* hypre: get rid of depreciated run_test method
* hypre: use mkdirp directly
* hypre: use install() for ij for addition of permissions fix

---------

Co-authored-by: Tamara Dahlgren <35777542+tldahlgren@users.noreply.github.com>
This commit is contained in:
AcriusWinter 2024-08-15 19:37:39 -07:00 committed by GitHub
parent b1b0c108bb
commit 067da09b46
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -374,8 +374,8 @@ def install(self, spec, prefix):
make("install")
if spec.satisfies("+gptune"):
make("test")
self.run_test("mkdir", options=["-p", self.prefix.bin])
self.run_test("cp", options=["test/ij", self.prefix.bin + "/."])
mkdirp(self.prefix.bin)
install(join_path("test", "ij"), self.prefix.bin)
extra_install_tests = join_path("src", "examples")