rccl: new test API (#45241)
* rccl: new test API * rccl: stand-alone test docstring tweak --------- Co-authored-by: Tamara Dahlgren <35777542+tldahlgren@users.noreply.github.com>
This commit is contained in:
parent
067da09b46
commit
a2fd26bbcc
@ -126,8 +126,7 @@ def cmake_args(self):
|
||||
args.append(self.define("BUILD_TESTS", "ON"))
|
||||
return args
|
||||
|
||||
def test(self):
|
||||
test_dir = join_path(self.spec["rccl"].prefix, "bin")
|
||||
with working_dir(test_dir, create=True):
|
||||
exe = Executable("rccl-UnitTests")
|
||||
exe()
|
||||
def test_unit(self):
|
||||
"""Run unit tests"""
|
||||
unit_tests = which(join_path(self.prefix.bin, "rccl-UnitTests"))
|
||||
unit_tests()
|
||||
|
Loading…
Reference in New Issue
Block a user