forked from M-Labs/artiq
1
0
Fork 0

flake: check gateware timing

This commit is contained in:
Sebastien Bourdeauducq 2021-10-18 11:09:10 +08:00
parent bb61f2dae6
commit df6aeb99f6
1 changed files with 3 additions and 1 deletions

View File

@ -260,7 +260,9 @@
export TARGET_AR=llvm-ar
${buildCommand}
'';
checkPhase = ''
doCheck = true;
checkPhase =
''
# Search for PCREs in the Vivado output to check for errors
check_log() {
grep -Pe "$1" artiq_${target}/${variant}/gateware/vivado.log && exit 1 || true