summaryrefslogtreecommitdiff
path: root/poky/meta/lib/oeqa/utils
diff options
context:
space:
mode:
authorBrad Bishop <bradleyb@fuzziesquirrel.com>2019-03-26 23:08:25 +0300
committerBrad Bishop <bradleyb@fuzziesquirrel.com>2019-03-26 23:09:42 +0300
commit40320b10a8431fc579173393e3a648e0c77b210a (patch)
tree0384086eb80321a26589b9f2851def0815d2a019 /poky/meta/lib/oeqa/utils
parent8f73848b2e38df5b454913cf60ec7ed427f92413 (diff)
downloadopenbmc-40320b10a8431fc579173393e3a648e0c77b210a.tar.xz
poky: refresh thud: e4c0a8a7cb..9dfebdaf7a
Update poky to thud HEAD. Mazliana (2): scripts/resulttool: enable manual execution and result creation resulttool/manualexecution: To output right test case id Michael Halstead (1): yocto-uninative: Correct sha256sum for aarch64 Richard Purdie (12): resulttool: Improvements to allow integration to the autobuilder resulttool/resultutils: Avoids tracebacks for missing logs resulttool/store: Handle results files for multiple revisions resulttool/report: Handle missing metadata sections more cleanly resulttool/report: Ensure test suites with no results show up on the report resulttool/report: Ensure ptest results are sorted resulttool/store: Fix missing variable causing testresult corruption oeqa/utils/gitarchive: Handle case where parent is only on origin scripts/wic: Be consistent about how we call bitbake yocto-uninative: Update to 2.4 poky.conf: Bump version for 2.6.2 thud release build-appliance-image: Update to thud head revision Yeoh Ee Peng (4): resulttool: enable merge, store, report and regression analysis resulttool/regression: Ensure regressoin results are sorted scripts/resulttool: Enable manual result store and regression resulttool/report: Enable roll-up report for a commit Change-Id: Icf3c93db794539bdd4501d2e7db15c68b6c541ae Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
Diffstat (limited to 'poky/meta/lib/oeqa/utils')
-rw-r--r--poky/meta/lib/oeqa/utils/gitarchive.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/poky/meta/lib/oeqa/utils/gitarchive.py b/poky/meta/lib/oeqa/utils/gitarchive.py
index ff614d06b..9520b2e12 100644
--- a/poky/meta/lib/oeqa/utils/gitarchive.py
+++ b/poky/meta/lib/oeqa/utils/gitarchive.py
@@ -80,6 +80,8 @@ def git_commit_data(repo, data_dir, branch, message, exclude, notes, log):
# Create new commit object from the tree
parent = repo.rev_parse(branch)
+ if not parent:
+ parent = repo.rev_parse("origin/" + branch)
git_cmd = ['commit-tree', tree, '-m', message]
if parent:
git_cmd += ['-p', parent]
@@ -93,8 +95,6 @@ def git_commit_data(repo, data_dir, branch, message, exclude, notes, log):
# Update branch head
git_cmd = ['update-ref', 'refs/heads/' + branch, commit]
- if parent:
- git_cmd.append(parent)
repo.run_cmd(git_cmd)
# Update current HEAD, if we're on branch 'branch'