| Message ID | 20260814064812.1071873-3-mikko.rapeli@linaro.org |
|---|---|
| State | Under Review |
| Headers | show |
| Series | Fixes for kernel 7.2 | expand |
diff --git a/meta/classes-recipe/testexport.bbclass b/meta/classes-recipe/testexport.bbclass index 12b7e17112..adcc36c062 100644 --- a/meta/classes-recipe/testexport.bbclass +++ b/meta/classes-recipe/testexport.bbclass @@ -117,9 +117,10 @@ def copy_needed_files(d, tc): shutil.copy2(src, dst) # layer specific files/dirs - layer_files_to_copy = [ os.path.join('lib', 'oeqa', 'core'), - os.path.join('lib', 'oeqa', 'runtime'), + layer_files_to_copy = [ os.path.join('lib', 'oe'), + os.path.join('lib', 'oeqa', 'core'), os.path.join('lib', 'oeqa', 'files'), + os.path.join('lib', 'oeqa', 'runtime'), os.path.join('lib', 'oeqa', 'utils'),] for layer in bblayers: meta = os.path.basename(layer)
oeqa runtime tests like stap.py depend oe library so capture it to testexport tar ball so that test environments can run the test too. Fixes: 2026-08-13 06:44:37,419 - runtime - INFO - ERROR: test_stap (stap.StapTest.test_stap) 2026-08-13 06:44:37,420 - runtime - INFO - ---------------------------------------------------------------------- 2026-08-13 06:44:37,420 - runtime - INFO - Traceback (most recent call last): File "/lava-downloads/core-image-sato-sdk/meta/lib/oeqa/core/decorator/__init__.py", line 35, in wrapped_f return func(*args, **kwargs) File "/lava-downloads/core-image-sato-sdk/meta/lib/oeqa/core/decorator/__init__.py", line 35, in wrapped_f return func(*args, **kwargs) File "/lava-downloads/core-image-sato-sdk/meta/lib/oeqa/core/decorator/__init__.py", line 35, in wrapped_f return func(*args, **kwargs) [Previous line repeated 1 more time] File "/lava-downloads/core-image-sato-sdk/meta/lib/oeqa/runtime/cases/stap.py", line 19, in test_stap from oe.utils import parallel_make_value ModuleNotFoundError: No module named 'oe' Signed-off-by: Mikko Rapeli <mikko.rapeli@linaro.org> --- meta/classes-recipe/testexport.bbclass | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-)