Lines Matching refs:git_worktree_path
161 git_worktree_path = tempfile.mkdtemp()
183 git_worktree_path, worktree_rev],
190 cwd=git_worktree_path,
194 return git_worktree_path
196 def _update_git_submodules(self, git_worktree_path, version): argument
202 cwd=git_worktree_path,
206 if not (os.path.exists(os.path.join(git_worktree_path, "crypto"))
214 cwd=os.path.join(git_worktree_path, "crypto"),
224 cwd=os.path.join(git_worktree_path, "crypto"),
229 def _build_shared_libraries(self, git_worktree_path, version): argument
234 if os.path.exists(os.path.join(git_worktree_path, "crypto")):
239 cwd=git_worktree_path,
243 for root, _dirs, files in os.walk(git_worktree_path):
327 def _list_generated_test_data_files(git_worktree_path): argument
330 if not os.path.isfile(git_worktree_path + '/' + generate_psa_tests):
337 cwd=git_worktree_path,
341 def _get_storage_format_tests(self, version, git_worktree_path): argument
358 for filename in self._list_generated_test_data_files(git_worktree_path):
364 if not os.path.isfile(git_worktree_path + '/' + generate_psa_tests):
370 cwd=git_worktree_path,
373 self._read_storage_tests(git_worktree_path,
378 def _cleanup_worktree(self, git_worktree_path): argument
380 shutil.rmtree(git_worktree_path)
390 git_worktree_path = self._get_clean_worktree_for_git_revision(version)
391 self._update_git_submodules(git_worktree_path, version)
393 self._build_shared_libraries(git_worktree_path, version)
396 self._get_storage_format_tests(version, git_worktree_path)
397 self._cleanup_worktree(git_worktree_path)