diff options
| author | Enrico Scholz <enrico.scholz@sigma-chemnitz.de> | 2025-02-21 14:58:39 +0100 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2025-02-25 12:17:22 +0000 |
| commit | 60ab4d0a80f30795618b9dab454f2e7a68ae630e (patch) | |
| tree | a20bb4cbe7da1d1125d0290a49b54ff7fe8c8a0c | |
| parent | 5fe47418ba48a9cdb2eae30823e9b16ffe13215e (diff) | |
| download | poky-60ab4d0a80f30795618b9dab454f2e7a68ae630e.tar.gz | |
oeqa/selftest/devtool: use 'config.toml' instead of plain 'config'
After changing naming of cargo config in cargo_common.bbclass, adapt
devtool to use the new name.
(From OE-Core rev: 715d27f0b4301c97f05ed3cbbaace0ba01c28f39)
Signed-off-by: Enrico Scholz <enrico.scholz@sigma-chemnitz.de>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
| -rw-r--r-- | meta/lib/oeqa/selftest/cases/devtool.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/lib/oeqa/selftest/cases/devtool.py b/meta/lib/oeqa/selftest/cases/devtool.py index e09e9755a3..115dc24d87 100644 --- a/meta/lib/oeqa/selftest/cases/devtool.py +++ b/meta/lib/oeqa/selftest/cases/devtool.py | |||
| @@ -1027,7 +1027,7 @@ class DevtoolModifyTests(DevtoolBase): | |||
| 1027 | # Configure the recipe to check that the git dependencies are correctly patched in cargo config | 1027 | # Configure the recipe to check that the git dependencies are correctly patched in cargo config |
| 1028 | bitbake('-c configure %s' % testrecipe) | 1028 | bitbake('-c configure %s' % testrecipe) |
| 1029 | 1029 | ||
| 1030 | cargo_config_path = os.path.join(cargo_home, 'config') | 1030 | cargo_config_path = os.path.join(cargo_home, 'config.toml') |
| 1031 | with open(cargo_config_path, "r") as f: | 1031 | with open(cargo_config_path, "r") as f: |
| 1032 | cargo_config_contents = [line.strip('\n') for line in f.readlines()] | 1032 | cargo_config_contents = [line.strip('\n') for line in f.readlines()] |
| 1033 | 1033 | ||
