Message ID | 20231106155914.2552807-1-ross.burton@arm.com |
---|---|
State | New |
Headers | show |
Series | [1/3] arm/lib/fvp/runner: don't pass '' as cwd | expand |
On Mon, 06 Nov 2023 15:59:12 +0000, ross.burton@arm.com wrote: > Don't pass "" as the cwd as that fails, use None so the cwd doesn't get > changed. > > Applied, thanks! [1/3] arm/lib/fvp/runner: don't pass '' as cwd commit: 98e85b3a297dcf0c953ccfc29b539d3517dfc09b [2/3] scripts/runfvp: exit code should be the FVP exit code commit: 6fa5992471941b7cd55396b3a454ae85b9c4253a [3/3] arm/selftest: add test that DISPLAY is forwarded into the runfvp child commit: f923386a0dd5973ca28cca3127974c8eaf5e04c9 Best regards,
diff --git a/meta-arm/lib/fvp/runner.py b/meta-arm/lib/fvp/runner.py index 7ca3673d..e7c13585 100644 --- a/meta-arm/lib/fvp/runner.py +++ b/meta-arm/lib/fvp/runner.py @@ -100,7 +100,7 @@ class FVPRunner: env[name] = os.environ[name] # Allow filepath to be relative to fvp configuration file - cwd = os.path.dirname(fvpconf) + cwd = os.path.dirname(fvpconf) or None self._logger.debug(f"FVP call will be executed in working directory: {cwd}") self._logger.debug(f"Constructed FVP call: {shlex_join(cli)}")