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>
This commit is contained in:
Enrico Scholz 2025-02-21 14:58:39 +01:00 committed by Richard Purdie
parent 5fe47418ba
commit 60ab4d0a80

View File

@ -1027,7 +1027,7 @@ class DevtoolModifyTests(DevtoolBase):
# Configure the recipe to check that the git dependencies are correctly patched in cargo config
bitbake('-c configure %s' % testrecipe)
cargo_config_path = os.path.join(cargo_home, 'config')
cargo_config_path = os.path.join(cargo_home, 'config.toml')
with open(cargo_config_path, "r") as f:
cargo_config_contents = [line.strip('\n') for line in f.readlines()]