From 1ff40f4d4f2c78818627e2950e67f67a76be5407 Mon Sep 17 00:00:00 2001 From: Felix Moessbauer Date: Fri, 24 May 2024 16:22:59 +0200 Subject: [PATCH] reduce test execution time by using shallow clones The environment variables test clones the heavy bitbake repository. To speedup the test execution, we enable shallow clones for this. Signed-off-by: Felix Moessbauer Signed-off-by: Jan Kiszka --- tests/test_environment_variables.py | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/test_environment_variables.py b/tests/test_environment_variables.py index 4da83941..95d9c295 100644 --- a/tests/test_environment_variables.py +++ b/tests/test_environment_variables.py @@ -115,6 +115,7 @@ def _test_env_section_export(monkeykas, tmpdir, bb_env_var, bb_repo): shutil.copytree('tests/test_environment_variables', str(conf_dir)) monkeykas.chdir(conf_dir) + monkeykas.setenv('KAS_CLONE_DEPTH', '1') # Overwrite oe-init-build-env script # BB_ENV_* filter variables are only exported by