From 8a5f3fd97717a00ea4e70ea2db585a29af046a97 Mon Sep 17 00:00:00 2001 From: Mario Date: Wed, 20 Mar 2024 10:46:46 +0000 Subject: [PATCH] Parse questa output and source questa in gitlab --- .gitlab-ci.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index c85f609d302..9fe1757d279 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -119,7 +119,7 @@ build_tools: - echo $SYN_VCS_BASHRC; source $SYN_VCS_BASHRC .simu_after_script: &simu_after_script - - for i in $(find verif/sim/*/v*_sim -type f \( -name "*.csv" -o -name "*.iss" \)) ; do head -10000 $i > artifacts/logs/$(basename $i).head ; done + - for i in $(find verif/sim/out*/[vq]*_sim -type f \( -name "*.csv" -o -name "*.iss" \)) ; do head -10000 $i > artifacts/logs/$(basename $i).head ; done - head -10000 verif/sim/logfile.log > artifacts/logs/logfile.log.head - python3 .gitlab-ci/scripts/report_simu.py verif/sim/logfile.log @@ -141,6 +141,8 @@ smoke: - "questa-testharness,spike" - "questa-uvm,spike" script: + - source /opt/questa/questa_sim-2022.4_2/questasim/setup/bashrc + - PATH=$PATH:/opt/questa/questa_sim-2022.4_2/questasim/bin - bash verif/regress/smoke-tests.sh - !reference [.simu_after_script]