From f24f9ee4d11f5f966cb4e43467c5a000ac49e6a4 Mon Sep 17 00:00:00 2001 From: David Harris Date: Sun, 9 Feb 2025 15:34:32 -0800 Subject: [PATCH 1/2] Update regression with split functional coverage tests --- bin/regression-wally | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/bin/regression-wally b/bin/regression-wally index 63c88ab0b..20bcc32b1 100755 --- a/bin/regression-wally +++ b/bin/regression-wally @@ -318,7 +318,8 @@ def addTestsByDir(testDir, config, sim, coverStr, configs, lockstepMode=0, breke sim_logdir = f"{regressionDir}/{sim}/logs/" cmdPrefix = f"wsim --sim {sim} {coverStr} {'--lockstep' if lockstepMode else ''} {config}" # fcov/ccov only runs on WALLY-COV-ALL.elf files; other lockstep runs on all files - fileEnd = "ALL.elf" if "cvw-arch-verif/tests" in testDir and "priv" not in testDir and (coverStr == "--fcov" or coverStr == "--ccov") else ".elf" + fileStart = "WALLY-COV-ALL" if "cvw-arch-verif/tests" in testDir and "priv" not in testDir and (coverStr == "--fcov" or coverStr == "--ccov") else "" + fileEnd = ".elf" if lockstepMode or coverStr == "--fcov": gs = "Mismatches : 0" elif brekerMode: @@ -327,7 +328,7 @@ def addTestsByDir(testDir, config, sim, coverStr, configs, lockstepMode=0, breke gs = "Single Elf file tests are not signatured verified." for dirpath, _, filenames in os.walk(os.path.abspath(testDir)): for file in filenames: - if file.endswith(fileEnd): + if file.endswith(fileEnd) and file.startswith(fileStart): fullfile = os.path.join(dirpath, file) fields = fullfile.rsplit('/', 3) if fields[2] == "ref": From fe4315988a2f1210ebd5f7bc8c2586bfec64dd14 Mon Sep 17 00:00:00 2001 From: David Harris Date: Sun, 9 Feb 2025 15:35:13 -0800 Subject: [PATCH 2/2] Don't make cvw-arch-verif during system make - not always needed --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index b03edea98..b55e44c67 100644 --- a/Makefile +++ b/Makefile @@ -8,7 +8,7 @@ SIM = ${WALLY}/sim .PHONY: all riscof testfloat combined_IF_vectors zsbl benchmarks coremark embench coverage cvw-arch-verif clean -all: riscof testfloat combined_IF_vectors zsbl coverage cvw-arch-verif # benchmarks +all: riscof testfloat combined_IF_vectors zsbl coverage # cvw-arch-verif benchmarks # riscof builds the riscv-arch-test and wally-riscv-arch-test suites riscof: