mirror of
https://git.yoctoproject.org/poky
synced 2026-04-23 00:32:12 +02:00
testexport.bbclass oe-test: capture all tests and data from all layers
testexport.bbclass only copied files from core layer to the testexport.tar.gz to run tests. Then it filtered out tests and files which were not specified in TEST_SUITES variable. Remove filtering of files to include parselogs.py test data files which are machine and/or layer specific. TEST_SUITES variable is now read from build time exported data store when running tests so there is no need to remove files from exported tests in testexport.bbclass. Adapt oe-test script to find "lib" directories from the new structure with layer specific paths which are used to find tests and test data files. (From OE-Core rev: 5c39fedee1dd0e101e2611b71a895c0251ba968d) Signed-off-by: Mikko Rapeli <mikko.rapeli@linaro.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
458c39ac1f
commit
e5e8f2aa0a
@@ -7,14 +7,18 @@
|
||||
# SPDX-License-Identifier: MIT
|
||||
#
|
||||
|
||||
import argparse
|
||||
import glob
|
||||
import logging
|
||||
import os
|
||||
import sys
|
||||
import argparse
|
||||
import logging
|
||||
|
||||
scripts_path = os.path.dirname(os.path.realpath(__file__))
|
||||
lib_path = scripts_path + '/lib'
|
||||
sys.path = sys.path + [lib_path]
|
||||
lib_path = os.path.join(scripts_path, 'lib')
|
||||
sys.path.append(lib_path)
|
||||
meta_lib_paths = glob.glob(scripts_path + '/*/lib', recursive=True)
|
||||
for p in meta_lib_paths:
|
||||
sys.path.append(p)
|
||||
import argparse_oe
|
||||
import scriptutils
|
||||
|
||||
|
||||
Reference in New Issue
Block a user