diff options
| author | Ross Burton <ross.burton@arm.com> | 2025-06-19 14:20:44 +0100 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2025-06-19 21:54:44 +0100 |
| commit | 6355ba2caddb06d86d0ede003fd308957c44c3cd (patch) | |
| tree | 9d482e5da762fc6032fe62486b1d14b8325127cd /meta/lib | |
| parent | 5097aaeafaf17ff34479b6360f7438473292f3d3 (diff) | |
| download | poky-6355ba2caddb06d86d0ede003fd308957c44c3cd.tar.gz | |
oeqa/selftest/esdk: remove postconfig argument
Discovered when looking for users of get_bb_var()'s postconfig argument,
this wrapper around runCmd() has a postconfig argument that has odd
behaviour: it _appends_ the new configuration to local.conf instead of
having them used for this specific run (unlike the other functions in
commands.py)
None of the eSDK tests use this functionality, so remove it. Future test
cases that need to write further configuration should do so directly.
(From OE-Core rev: 6196d096b95b36f8b72b4049d5479f8f23e7891d)
Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/lib')
| -rw-r--r-- | meta/lib/oeqa/selftest/cases/esdk.py | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/meta/lib/oeqa/selftest/cases/esdk.py b/meta/lib/oeqa/selftest/cases/esdk.py index 9f5de2cde7..7a5fe00a08 100644 --- a/meta/lib/oeqa/selftest/cases/esdk.py +++ b/meta/lib/oeqa/selftest/cases/esdk.py | |||
| @@ -27,11 +27,7 @@ class oeSDKExtSelfTest(OESelftestTestCase): | |||
| 27 | return glob.glob(pattern)[0] | 27 | return glob.glob(pattern)[0] |
| 28 | 28 | ||
| 29 | @staticmethod | 29 | @staticmethod |
| 30 | def run_esdk_cmd(env_eSDK, tmpdir_eSDKQA, cmd, postconfig=None, **options): | 30 | def run_esdk_cmd(env_eSDK, tmpdir_eSDKQA, cmd, **options): |
| 31 | if postconfig: | ||
| 32 | esdk_conf_file = os.path.join(tmpdir_eSDKQA, 'conf', 'local.conf') | ||
| 33 | with open(esdk_conf_file, 'a+') as f: | ||
| 34 | f.write(postconfig) | ||
| 35 | if not options: | 31 | if not options: |
| 36 | options = {} | 32 | options = {} |
| 37 | if not 'shell' in options: | 33 | if not 'shell' in options: |
