smi: Add test
This commit is contained in:
parent
f18aa5fee2
commit
2245c9c5ea
|
@ -54,4 +54,10 @@ buildPythonPackage rec {
|
|||
];
|
||||
|
||||
dontUsePytestCheck = true; # no tests
|
||||
|
||||
installCheckPhase = ''
|
||||
output=$($out/bin/tt-smi || true)
|
||||
echo "tt-smi output: $output"
|
||||
echo $output | grep -q "No Tenstorrent driver detected"
|
||||
'';
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue