aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xllvm_tools/modify_a_tryjob.py15
-rwxr-xr-xllvm_tools/update_packages_and_run_tests.py15
2 files changed, 16 insertions, 14 deletions
diff --git a/llvm_tools/modify_a_tryjob.py b/llvm_tools/modify_a_tryjob.py
index bed99933..53f783ba 100755
--- a/llvm_tools/modify_a_tryjob.py
+++ b/llvm_tools/modify_a_tryjob.py
@@ -114,13 +114,14 @@ def GetCLAfterUpdatingPackages(packages, git_hash, svn_version, chroot_path,
"""Updates the packages' LLVM_NEXT."""
change_list = update_chromeos_llvm_hash.UpdatePackages(
- packages,
- update_chromeos_llvm_hash.LLVMVariant.next,
- git_hash,
- svn_version,
- chroot_path,
- failure_modes.FailureModes.DISABLE_PATCHES,
- svn_option,
+ packages=packages,
+ manifest_packages=[],
+ llvm_variant=update_chromeos_llvm_hash.LLVMVariant.next,
+ git_hash=git_hash,
+ svn_version=svn_version,
+ chroot_path=chroot_path,
+ mode=failure_modes.FailureModes.DISABLE_PATCHES,
+ git_hash_source=svn_option,
extra_commit_msg=None)
print('\nSuccessfully updated packages to %d' % svn_version)
diff --git a/llvm_tools/update_packages_and_run_tests.py b/llvm_tools/update_packages_and_run_tests.py
index 1d122800..477caa61 100755
--- a/llvm_tools/update_packages_and_run_tests.py
+++ b/llvm_tools/update_packages_and_run_tests.py
@@ -436,13 +436,14 @@ def main():
extra_commit_msg += cq_trybot_msg
change_list = update_chromeos_llvm_hash.UpdatePackages(
- update_chromeos_llvm_hash.DEFAULT_PACKAGES,
- llvm_variant,
- git_hash,
- svn_version,
- args_output.chroot_path,
- failure_modes.FailureModes.DISABLE_PATCHES,
- svn_option,
+ packages=update_chromeos_llvm_hash.DEFAULT_PACKAGES,
+ manifest_packages=[],
+ llvm_variant=llvm_variant,
+ git_hash=git_hash,
+ svn_version=svn_version,
+ chroot_path=args_output.chroot_path,
+ mode=failure_modes.FailureModes.DISABLE_PATCHES,
+ git_hash_source=svn_option,
extra_commit_msg=extra_commit_msg)
AddReviewers(change_list.cl_number, args_output.reviewers,