tests/py-horovod: convert to new stand-alone test process (#38366)

This commit is contained in:
Tamara Dahlgren 2023-06-15 10:17:09 -07:00 committed by GitHub
parent 9a047eb95f
commit 6eb5e57199
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -274,6 +274,7 @@ def setup_build_environment(self, env):
else:
env.set("HOROVOD_CPU_OPERATIONS", self.spec.variants["tensor_ops"].value.upper())
def test(self):
super(PyHorovod, self).test()
self.run_test(self.prefix.bin.horovodrun, "--check-build")
def test_check_build(self):
"""run horovodrun --check-build"""
horovodrun = which(self.prefix.bin.horovodrun)
horovodrun("--check-build")