diff mbox series

[2/2] selftest:devtool: use 'config.toml' instead of plain 'config'

Message ID f471093e1c6ca25595f12548b79eabfb5fff2acc.1740146289.git.enrico.scholz@sigma-chemnitz.de
State New
Headers show
Series [1/2] cargo_common: use 'config.toml' instead of plain 'config' | expand

Commit Message

Enrico Scholz Feb. 21, 2025, 1:58 p.m. UTC
From: Enrico Scholz <enrico.scholz@sigma-chemnitz.de>

After changing naming of cargo config in cargo_common.bbclass, adapt
devtool to use the new name.

Signed-off-by: Enrico Scholz <enrico.scholz@sigma-chemnitz.de>
---
 meta/lib/oeqa/selftest/cases/devtool.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff mbox series

Patch

diff --git a/meta/lib/oeqa/selftest/cases/devtool.py b/meta/lib/oeqa/selftest/cases/devtool.py
index e09e9755a3be..115dc24d87e1 100644
--- a/meta/lib/oeqa/selftest/cases/devtool.py
+++ b/meta/lib/oeqa/selftest/cases/devtool.py
@@ -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()]