diff mbox series

[yocto-autobuilder-helper] scripts/send_qa_email: Update poky -> oecore for testresults

Message ID 20251112224151.3093656-1-richard.purdie@linuxfoundation.org
State New
Headers show
Series [yocto-autobuilder-helper] scripts/send_qa_email: Update poky -> oecore for testresults | expand

Commit Message

Richard Purdie Nov. 12, 2025, 10:41 p.m. UTC
Ideally we'd track bitbake + oecore + meta-yocto + yocto-docs. Since we to
be able to look up a single revision, lets just store against OE-Core.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
---
 scripts/send_qa_email.py | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)
diff mbox series

Patch

diff --git a/scripts/send_qa_email.py b/scripts/send_qa_email.py
index 7ab9f3c..d8c060f 100755
--- a/scripts/send_qa_email.py
+++ b/scripts/send_qa_email.py
@@ -133,8 +133,8 @@  def send_qa_email():
 
     utils.filterrepojson(repos)
 
-    resulttool = os.path.dirname(args.repojson) + "/build/scripts/resulttool"
-    querytool = os.path.dirname(args.repojson) + "/build/scripts/yocto_testresults_query.py"
+    resulttool = os.path.dirname(args.repojson) + "/build/layers/openembedded-core/scripts/resulttool"
+    querytool = os.path.dirname(args.repojson) + "/build/layers/openembedded-core/scripts/yocto_testresults_query.py"
 
     buildtoolsdir = os.path.dirname(args.repojson) + "/build/buildtools"
     if os.path.exists(buildtoolsdir):
@@ -148,13 +148,13 @@  def send_qa_email():
     else:
         test_results_url = TEST_RESULTS_REPOSITORY_URL
 
-    if 'poky' in repos and os.path.exists(resulttool) and os.path.exists(querytool) and args.results_dir:
+    if 'oecore' in repos and os.path.exists(resulttool) and os.path.exists(querytool) and args.results_dir:
         utils.printheader("Processing test report")
         # Need the finalised revisions (not 'HEAD')
-        targetrepodir = "%s/poky" % (repodir)
+        targetrepodir = "%s/oecore" % (repodir)
         revision = subprocess.check_output(["git", "rev-parse", "HEAD"], cwd=targetrepodir).decode('utf-8').strip()
-        branch = repos['poky']['branch']
-        repo = repos['poky']['url']
+        branch = repos['oecore']['branch']
+        repo = repos['oecore']['url']
 
         targetbranch, basebranch = utils.getcomparisonbranch(ourconfig, repo, branch)
         report = subprocess.check_output([resulttool, "report", args.results_dir])