mirror of
https://git.yoctoproject.org/meta-arm
synced 2026-01-11 15:00:39 +00:00
arm-systemready: Change get_json_result_dir helper
The get_testimage_json_result_dir helper in OE core was deleted in commit 01b1a6a5a4e7cede4d23a981b5144ae9c8306274 in preference for a common utility. Change the reference within the Arm SystemReady ACS log handler utlity. Signed-off-by: Debbie Martin <Debbie.Martin@arm.com> Signed-off-by: Jon Mason <jon.mason@arm.com>
This commit is contained in:
@@ -86,7 +86,7 @@ do_testimage[depends] += "edk2-test-parser-native:do_populate_sysroot \
|
||||
# Process the logs
|
||||
python acs_logs_handle() {
|
||||
import logging
|
||||
from oeqa.utils import make_logger_bitbake_compatible
|
||||
from oeqa.utils import make_logger_bitbake_compatible, get_json_result_dir
|
||||
import shutil
|
||||
|
||||
deploy_dir_image = d.getVar('DEPLOY_DIR_IMAGE')
|
||||
@@ -117,7 +117,7 @@ python acs_logs_handle() {
|
||||
os.symlink(os.path.basename(logdir), loglink)
|
||||
|
||||
# Create a top-level symlink to the acs_results directory
|
||||
top_logdir = os.path.join(get_testimage_json_result_dir(d), d.getVar("PN"))
|
||||
top_logdir = os.path.join(get_json_result_dir(d), d.getVar("PN"))
|
||||
log_name = d.getVar('ACS_LOG_NAME')
|
||||
top_link = os.path.join(top_logdir, log_name)
|
||||
log_target = os.path.relpath(logdir, top_logdir)
|
||||
|
||||
Reference in New Issue
Block a user