From b8e16466868e31df6211cd0818d0ed23538533b1 Mon Sep 17 00:00:00 2001 From: MingZhu Yan Date: Mon, 21 Oct 2024 14:37:35 +0800 Subject: [PATCH] [CTG] Add cli param env_dir Signed-off-by: MingZhu Yan --- riscv-ctg/riscv_ctg/ctg.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/riscv-ctg/riscv_ctg/ctg.py b/riscv-ctg/riscv_ctg/ctg.py index caac7a959..ea9fadf8f 100644 --- a/riscv-ctg/riscv_ctg/ctg.py +++ b/riscv-ctg/riscv_ctg/ctg.py @@ -106,7 +106,7 @@ def ctg(verbose, out, random ,xlen_arg,flen_arg, cgf_file,num_procs,base_isa, ma logger.info('Copyright (c) 2020, InCore Semiconductors Pvt. Ltd.') logger.info('All Rights Reserved.') logger.info("Copying env folder to Output directory.") - env_dir = os.path.expanduser("~/riscv-arch-test/riscv-test-suite/env") + env_dir = "../riscv-arch-test/riscv-test-suite/env" if not os.path.exists(env_dir): shutil.copytree(const.env,env_dir) xlen = int(xlen_arg)