mirror of
https://xff.cz/git/u-boot/
synced 2025-11-01 19:05:51 +01:00
dtoc: Move test files into a test/ directory
It is confusing to have the test files in the same places as the implementation. Move them into a separate directory. Add a helper function for test_dtoc, to avoid repeating the same path. Signed-off-by: Simon Glass <sjg@chromium.org>
This commit is contained in:
@@ -72,7 +72,7 @@ def get_dtb_file(dts_fname, capture_stderr=False):
|
||||
Returns:
|
||||
str: Filename of compiled file in output directory
|
||||
"""
|
||||
return fdt_util.EnsureCompiled(os.path.join(OUR_PATH, dts_fname),
|
||||
return fdt_util.EnsureCompiled(os.path.join(OUR_PATH, 'test', dts_fname),
|
||||
capture_stderr=capture_stderr)
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user