smi: Add test

This commit is contained in:
Artturin 2025-01-29 19:41:49 +02:00
parent f18aa5fee2
commit 2245c9c5ea

View file

@ -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"
'';
}