tests: logging/dictionary: fix pytest when built with sysbuild
With sysbuild, the test app is actually built under another layer of directory where the dictionary JSON file will reside. Instead of simply using dut.device_config.build_dir, use dut.devive_config.app_build_dir instead, which takes into account of that. Signed-off-by: Daniel Leung <daniel.leung@intel.com>
This commit is contained in:
parent
ac37d6483a
commit
04c9637db7
@ -147,7 +147,7 @@ def test_logging_dictionary(dut: DeviceAdapter, is_fpu_build):
|
||||
'''
|
||||
Main entrance to setup test result validation.
|
||||
'''
|
||||
build_dir = dut.device_config.build_dir
|
||||
build_dir = dut.device_config.app_build_dir
|
||||
|
||||
logger.info(f'FPU build? {is_fpu_build}')
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user