From 805612d4df433cedc5134d02dd01d679625c7b58 Mon Sep 17 00:00:00 2001 From: Jacob Lifshay Date: Thu, 30 Nov 2023 14:20:54 -0800 Subject: [PATCH] test/runner: allow disabling VCD using SIM_NO_VCD=1 env var --- src/openpower/test/runner.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/openpower/test/runner.py b/src/openpower/test/runner.py index 3fc8aa43..40e18540 100644 --- a/src/openpower/test/runner.py +++ b/src/openpower/test/runner.py @@ -603,5 +603,8 @@ class TestRunnerBase(FHDLTestCase): sim.add_sync_process(wrap(wb_get(icache.ibus, self.default_mem, "ICACHE"))) - with sim.write_vcd("%s.vcd" % gtkname): + if "SIM_NO_VCD" in os.environ: sim.run() + else: + with sim.write_vcd("%s.vcd" % gtkname): + sim.run() -- 2.30.2