diff options
Diffstat (limited to 'src/buildstream/testing/_yaml.py')
-rw-r--r-- | src/buildstream/testing/_yaml.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/buildstream/testing/_yaml.py b/src/buildstream/testing/_yaml.py index ccf65a1ae..0a16f3226 100644 --- a/src/buildstream/testing/_yaml.py +++ b/src/buildstream/testing/_yaml.py @@ -9,6 +9,8 @@ def generate_project(project_dir, config=None): project_file = os.path.join(project_dir, "project.conf") if "name" not in config: config["name"] = os.path.basename(project_dir) + if "min-version" not in config: + config["min-version"] = "2.0" roundtrip_dump(config, project_file) |