diff --git a/test_regress/driver.py b/test_regress/driver.py index e3b233bc3..0a4bc0610 100755 --- a/test_regress/driver.py +++ b/test_regress/driver.py @@ -2412,7 +2412,7 @@ class VlTest: if VlTest._cached_cfg_with_ccache is None: mkf = VlTest._file_contents_static(os.environ['VERILATOR_ROOT'] + "/include/verilated.mk") - VlTest._cached_cfg_with_ccache = bool(re.match(r'OBJCACHE \?= ccache', mkf)) + VlTest._cached_cfg_with_ccache = bool(re.search(r'OBJCACHE \?= ccache', mkf)) return VlTest._cached_cfg_with_ccache def glob_some(self, pattern: str) -> list: