From b25600795885f7116994c59032c63b9d16459a9f Mon Sep 17 00:00:00 2001 From: Rupert Swarbrick Date: Tue, 15 Aug 2023 12:09:54 +0100 Subject: [PATCH] Minor cleanups in get_fcov.py Avoid importing some stuff that we're not using. Break a long line. No functional change. --- dv/uvm/core_ibex/scripts/get_fcov.py | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/dv/uvm/core_ibex/scripts/get_fcov.py b/dv/uvm/core_ibex/scripts/get_fcov.py index 1c32094dbd..16ef9ffed1 100755 --- a/dv/uvm/core_ibex/scripts/get_fcov.py +++ b/dv/uvm/core_ibex/scripts/get_fcov.py @@ -8,9 +8,8 @@ import sys import argparse import pathlib3x as pathlib -import shutil -from metadata import RegressionMetadata, LockedMetadata +from metadata import LockedMetadata from scripts_lib import run_one import riscvdv_interface @@ -28,7 +27,9 @@ def _main(): md.riscvdv_fcov_cmds = [riscvdv_interface.get_cov_cmd(md)] md.riscvdv_fcov_stdout = md.dir_fcov/'riscvdv_fcov_stdout.log' - retcode = run_one(md.verbose, md.riscvdv_fcov_cmds[0], md.riscvdv_fcov_stdout) + retcode = run_one(md.verbose, + md.riscvdv_fcov_cmds[0], + md.riscvdv_fcov_stdout) return retcode