tests/py-horovod: convert to new stand-alone test process (#38366)
This commit is contained in:
parent
9a047eb95f
commit
6eb5e57199
@ -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")
|
||||
|
Loading…
Reference in New Issue
Block a user