From b4931e7f09f8bd4b82b6eb4c447461f758e03773 Mon Sep 17 00:00:00 2001 From: Edison-CBS Date: Sun, 18 Aug 2024 13:54:59 +0800 Subject: [PATCH] process_replay: try to use load_dir with MacOS --- selfdrive/test/process_replay/process_replay.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/selfdrive/test/process_replay/process_replay.py b/selfdrive/test/process_replay/process_replay.py index da0197b256c0ad..4d7a1fc463e22c 100755 --- a/selfdrive/test/process_replay/process_replay.py +++ b/selfdrive/test/process_replay/process_replay.py @@ -792,7 +792,8 @@ def generate_params_config(lr=None, CP=None, fingerprint=None, custom_params=Non def generate_environ_config(CP=None, fingerprint=None, log_dir=None) -> dict[str, Any]: environ_dict = {} if platform.system() != "Darwin": - environ_dict["PARAMS_ROOT"] = "/dev/shm/params" + # environ_dict["PARAMS_ROOT"] = "/dev/shm/params" + environ_dict["LOG_ROOT"] = log_dir if log_dir is not None: environ_dict["LOG_ROOT"] = log_dir