diff mbox series

[meta-lts-mixins,scarthgap/go,RFC,34/34] readme: add QA chapter

Message ID 20251113125712.18914-35-peter.marko@siemens.com
State New
Headers show
Series initial scarthgap/go version | expand

Commit Message

Peter Marko Nov. 13, 2025, 12:57 p.m. UTC
Describe QA done when accepting patches.

Note that oe-selftest fail when additional parameters (like -j) is not
present. When that is fixed, we can simplify the oe-selftest QA example.

Expected results:
* runtime
RESULTS - go.GoCompileTest.test_go_compile: PASSED (67.87s)
RESULTS - go.GoCompileTest.test_go_module: PASSED (6.17s)
RESULTS - go.GoHelloworldTest.test_gohelloworld: PASSED (1.24s)
RESULTS - ping.PingTest.test_ping: PASSED (0.02s)
RESULTS - ssh.SSHTest.test_ssh: PASSED (0.67s)
* sdk
RESULTS - go.GoCompileTest.test_go_build: PASSED (0.35s)
RESULTS - go.GoCompileTest.test_go_module: PASSED (0.33s)
RESULTS - go.GoHostCompileTest.test_go_cross_compile: PASSED (0.22s)
RESULTS - go.GoHostCompileTest.test_go_module_cross_compile: PASSED (0.37s)
* oe-selftest
2025-11-13 11:55:23,485 - oe-selftest - INFO - gotoolchain.oeGoToolchainSelfTest.test_go_dep_build (subunit.RemotedTestCase)
2025-11-13 11:55:23,485 - oe-selftest - INFO -  ... ok
2025-11-13 11:55:23,485 - oe-selftest - INFO - 0: 1/1 1/1 (3.17s) (0 failed) (gotoolchain.oeGoToolchainSelfTest.test_go_dep_build)

Signed-off-by: Peter Marko <peter.marko@siemens.com>
---
 README.md | 44 ++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 44 insertions(+)
diff mbox series

Patch

diff --git a/README.md b/README.md
index e316fc6..06a948d 100644
--- a/README.md
+++ b/README.md
@@ -41,3 +41,47 @@  Maintenance
 Layer maintainers:
 * Jose Quaresma <jose.quaresma@foundries.io>
 * Peter Marko <peter.marko@siemens.com>
+
+Quality Assurance
+-----------------
+
+QA tests are using original openembedded-core testsuites.
+Current plan is to backport QA test changes to openembedded-core scarthgap branch.
+When that is no longer possible, changes will picked here.
+
+Automated tests to verify go toolchain functionality are being executed with following configurations and commands:
+
+* OEQA runtime
+
+    ```
+    IMAGE_INSTALL:append = " packagegroup-core-ssh-dropbear go-helloworld packagegroup-go-sdk-target"
+    IMAGE_CLASSES += "testimage"
+    TEST_SUITES = "ping ssh go"
+    QB_MEM = "-m 2048"
+    ```
+
+    ```
+    bitbake core-image-minimal && bitbake core-image-minimal:do_testimage
+    ```
+
+* OEQA SDK
+
+    ```
+    IMAGE_CLASSES += "testimage"
+    SDK_TOOLCHAIN_LANGS = "go"
+    TESTSDK_SUITES = "go"
+    ```
+
+    ```
+    bitbake core-image-minimal:do_populate_sdk && bitbake core-image-minimal:do_testsdk
+    ```
+
+* OEQA selftest
+
+    ```
+    SANITY_TESTED_DISTROS = ""
+    ```
+
+    ```
+    oe-selftest -r gotoolchain -j $(grep -c ^processor /proc/cpuinfo)
+    ```