u-boot-brain/tools/dtoc
Simon Glass a32eb7dca7 dtoc: Save scan information across test runs
At present most of the tests scan the U-Boot source tree as part of their
run. This information does not change across tests, so we can save time
by remembering it.

Add a way to set up this information and use it for each test, taking a
copy first, so as not to mess up the original.

This reduces the run time from about 1.6 seconds to 1.5 seconds on my
machine. For code coverage (which cannot run in parallel), it reduces from
33 seconds to 5.

Signed-off-by: Simon Glass <sjg@chromium.org>
2021-03-22 19:23:27 +13:00
..
.gitignore dm: Add a library to provide simple device-tree access 2016-07-14 20:40:24 -06:00
dtb_platdata.py dtoc: Save scan information across test runs 2021-03-22 19:23:27 +13:00
dtoc dtoc: Rename the main module 2020-04-26 14:25:21 -06:00
dtoc_test_add_prop.dts dtoc: Increase code coverage to 100% 2018-07-09 09:11:00 -06:00
dtoc_test_addr32_64.dts dtoc: Increase code coverage to 100% 2018-07-09 09:11:00 -06:00
dtoc_test_addr32.dts SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
dtoc_test_addr64_32.dts dtoc: Increase code coverage to 100% 2018-07-09 09:11:00 -06:00
dtoc_test_addr64.dts SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
dtoc_test_aliases.dts dtoc: look for compatible string aliases in driver list 2020-07-28 19:30:39 -06:00
dtoc_test_bad_reg.dts dtoc: Increase code coverage to 100% 2018-07-09 09:11:00 -06:00
dtoc_test_bad_reg2.dts dtoc: Increase code coverage to 100% 2018-07-09 09:11:00 -06:00
dtoc_test_driver_alias.dts dtoc: add support to scan drivers 2020-07-09 22:00:15 -06:00
dtoc_test_empty.dts SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
dtoc_test_invalid_driver.dts dtoc: add option to disable warnings 2020-07-09 22:00:29 -06:00
dtoc_test_phandle_bad.dts dtoc: Increase code coverage to 100% 2018-07-09 09:11:00 -06:00
dtoc_test_phandle_bad2.dts dtoc: Increase code coverage to 100% 2018-07-09 09:11:00 -06:00
dtoc_test_phandle_cd_gpios.dts dtoc: add test for cd-gpios 2020-07-09 22:00:29 -06:00
dtoc_test_phandle_reorder.dts dtoc: Increase code coverage to 100% 2018-07-09 09:11:00 -06:00
dtoc_test_phandle_single.dts dtoc: Increase code coverage to 100% 2018-07-09 09:11:00 -06:00
dtoc_test_phandle.dts dtoc: Fix properties with a single zero-arg phandle 2018-07-09 09:11:00 -06:00
dtoc_test_scan_drivers.cxx dm: Rename U_BOOT_DRIVER_ALIAS to DM_DRIVER_ALIAS 2021-01-05 12:26:35 -07:00
dtoc_test_simple.dts sandbox: Drop unnecessary test node 2021-01-05 12:24:40 -07:00
dtoc_test.dts SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
fdt_util.py binman: Use target-specific tools when cross-compiling 2020-09-22 12:54:13 -06:00
fdt.py binman: Support alignment of files 2021-01-30 14:25:41 -07:00
main.py dtoc: Save scan information across test runs 2021-03-22 19:23:27 +13:00
setup.py dtoc: Add a setup script for Python 2020-08-22 08:53:38 -06:00
src_scan.py dtoc: Scan drivers for available information 2021-03-22 19:23:26 +13:00
test_dtoc.py dtoc: Save scan information across test runs 2021-03-22 19:23:27 +13:00
test_fdt dtoc: Add some tests for the fdt module 2018-07-09 09:11:00 -06:00
test_fdt.py binman: Support alignment of files 2021-01-30 14:25:41 -07:00
test_src_scan.py dtoc: Scan drivers for available information 2021-03-22 19:23:26 +13:00