diff options
author | Tamara Dahlgren <35777542+tldahlgren@users.noreply.github.com> | 2023-06-15 10:17:09 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-06-15 12:17:09 -0500 |
commit | 6eb5e57199cad54a25ac203a110e4e7e6425d0ac (patch) | |
tree | 8d59113a32d91b3cd17cce7f152737a68d26e776 | |
parent | 9a047eb95f82c1559ee74ce1c4438e326b85844b (diff) | |
download | spack-6eb5e57199cad54a25ac203a110e4e7e6425d0ac.tar.gz spack-6eb5e57199cad54a25ac203a110e4e7e6425d0ac.tar.bz2 spack-6eb5e57199cad54a25ac203a110e4e7e6425d0ac.tar.xz spack-6eb5e57199cad54a25ac203a110e4e7e6425d0ac.zip |
tests/py-horovod: convert to new stand-alone test process (#38366)
-rw-r--r-- | var/spack/repos/builtin/packages/py-horovod/package.py | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/var/spack/repos/builtin/packages/py-horovod/package.py b/var/spack/repos/builtin/packages/py-horovod/package.py index 26c772ee60..bffa56e329 100644 --- a/var/spack/repos/builtin/packages/py-horovod/package.py +++ b/var/spack/repos/builtin/packages/py-horovod/package.py @@ -274,6 +274,7 @@ class PyHorovod(PythonPackage, CudaPackage): 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") |