From 123d46b4d60068502f80c117772a279db12f5af7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=E1=B4=9C=E1=B4=98=E1=B4=87=CA=80=20L=E1=B4=87=E1=B4=87?= Date: Thu, 28 Dec 2023 00:41:23 +0800 Subject: [PATCH] [dv] Fix paths in `merge_cov.py` --- dv/uvm/core_ibex/scripts/merge_cov.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/dv/uvm/core_ibex/scripts/merge_cov.py b/dv/uvm/core_ibex/scripts/merge_cov.py index 35e26fed67..6c58c2d2bd 100755 --- a/dv/uvm/core_ibex/scripts/merge_cov.py +++ b/dv/uvm/core_ibex/scripts/merge_cov.py @@ -42,11 +42,11 @@ def merge_cov_vcs(md: RegressionMetadata, cov_dirs: Set[pathlib.Path]) -> int: logging.info("Generating merged coverage directory") cmd = (['urg', '-full64', '-format', 'both', - '-dbname', str(md.cov_dir/'merged.vdb'), - '-report', str(md.cov_dir/'report'), - '-log', str(md.cov_dir/'merge.log'), + '-dbname', str(md.dir_cov/'merged.vdb'), + '-report', str(md.dir_cov/'report'), + '-log', str(md.dir_cov/'merge.log'), '-dir'] + - list(cov_dirs)) + [str(cov_dir) for cov_dir in list(cov_dirs)]) return run_one(md.verbose, cmd, redirect_stdstreams='/dev/null')