Signed-off-by: Richard Purdie <richard.pur...@linuxfoundation.org> --- scripts/build-perf-test-wrapper | 3 +++ scripts/send-qa-email | 3 +++ 2 files changed, 6 insertions(+)
diff --git a/scripts/build-perf-test-wrapper b/scripts/build-perf-test-wrapper index e7b24ad..660ef82 100755 --- a/scripts/build-perf-test-wrapper +++ b/scripts/build-perf-test-wrapper @@ -185,6 +185,9 @@ if git_repo: basebranch, comparebranch = utils.getcomparisonbranch(ourconfig, args.repo, args.branch) if comparebranch: extraopts = extraopts + " --branch2 %s" % (comparebranch) + else: + print("No comparision branch found, comparing to master") + extraopts = extraopts + " --branch2 master" print("\nGenerating test report") open(report_txt, "w").close() diff --git a/scripts/send-qa-email b/scripts/send-qa-email index a265a7c..b4d4cec 100755 --- a/scripts/send-qa-email +++ b/scripts/send-qa-email @@ -54,6 +54,9 @@ if 'poky' in repos and os.path.exists(resulttool) and args.results_dir: extraopts = " --branch %s --commit %s" % (branch, revision) if comparebranch: extraopts = extraopts + " --branch2 %s" % (comparebranch) + elif basebranch: + print("No comparision branch found, comparing to master") + extraopts = extraopts + " --branch2 master" report = subprocess.check_output([resulttool, "report", args.results_dir]) with open(args.results_dir + "/testresult-report.txt", "wb") as f: -- 2.25.1
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#50570): https://lists.yoctoproject.org/g/yocto/message/50570 Mute This Topic: https://lists.yoctoproject.org/mt/76754441/21656 Group Owner: yocto+ow...@lists.yoctoproject.org Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-