bluespec: Add a simple installCheckPhase
This commit is contained in:
parent
366a24706e
commit
fd4d38d931
@ -223,6 +223,7 @@ stdenv.mkDerivation rec {
|
||||
'';
|
||||
|
||||
doCheck = true;
|
||||
doInstallCheck = true;
|
||||
|
||||
# TODO To fix check-suite:
|
||||
# On darwin
|
||||
@ -281,6 +282,13 @@ stdenv.mkDerivation rec {
|
||||
)
|
||||
'';
|
||||
|
||||
installCheckPhase = ''
|
||||
output="$($out/bin/bsc 2>&1 || true)"
|
||||
echo "bsc output:"
|
||||
echo "$output"
|
||||
echo "$output" | grep -q "to get help"
|
||||
'';
|
||||
|
||||
meta = {
|
||||
description = "Toolchain for the Bluespec Hardware Definition Language";
|
||||
homepage = "https://github.com/B-Lang-org/bsc";
|
||||
|
Loading…
Reference in New Issue
Block a user