Skip to content

Commit

Permalink
reduce test execution time by using shallow clones
Browse files Browse the repository at this point in the history
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 <[email protected]>
Signed-off-by: Jan Kiszka <[email protected]>
  • Loading branch information
fmoessbauer authored and jan-kiszka committed May 24, 2024
1 parent ae28ef7 commit 1ff40f4
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tests/test_environment_variables.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 1ff40f4

Please sign in to comment.