p tests in such scenarios to prevent false
positives.
Signed-off-by: Tobias Deiminger
---
test/py/tests/test_cleanup_build.py | 5 +
1 file changed, 5 insertions(+)
diff --git a/test/py/tests/test_cleanup_build.py
b/test/py/tests/test_cleanup_build.py
index 5206ff73ec..aca90cb110 100644
---
/py/tests/test_cleanup_build.py:23: Leftover detection
requires out of tree build.
[1] https://github.com/Rahix/tbot/issues/107#issuecomment-1880192186
Tobias Deiminger (1):
test: Skip cleanup test if not built out of tree
test/py/tests/test_cleanup_build.py | 5 +
1 file changed, 5
ges:
- looking in an out-of-source build dir allows to tell generated source
code from committed source code
- copying is fast (compared to rebuilding each time) which allows to do
a "world clean"
Signed-off-by: Tobias Deiminger
---
test/py/tests/test_cleanup_build.py | 105 ++
sandbox can generate DT overlays, but they were not cleaned.
Extend the explicit clean-files list accordingly.
Fixes: 95300f203f32 ("pytest: add sandbox test for "extension" command")
Signed-off-by: Tobias Deiminger
---
arch/sandbox/dts/Makefile | 2 +-
1 file change
'make clean' did not descend into arch/$ARCH/dts for arc, m68k, nios2,
sh, xtensa.
Fix it by adding the missing archs to the explicit clean-dirs list.
Signed-off-by: Tobias Deiminger
---
dts/Makefile | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/dts/Make
VPL artifacts like example vpl/u-boot-vpl are currently not removed by
'make clean'.
We can clean them just as it's already done for SPL and TPL.
Fixes: f86ca5ad8f78 ("Introduce Verifying Program Loader (VPL)")
Signed-off-by: Tobias Deiminger
---
Makefile | 4 ++--
1 f
Tell git that auto-generated C sources are now exclusively expected
under tools/generated/.
Signed-off-by: Tobias Deiminger
---
tools/.gitignore | 1 +
tools/env/.gitignore | 1 -
2 files changed, 1 insertion(+), 1 deletion(-)
diff --git a/tools/.gitignore b/tools/.gitignore
index
n-dirs entries for each single added or moved wrapper
file.
Fixes: 0649cd0d4908 ("Move environment files from common/ to env/")
Fixes: 19a91f2464a8 ("Create a new boot/ directory")
Signed-off-by: Tobias Deiminger
---
tools/Makefile | 64 +
ating.
Changes in v2:
- add test for 'make clean' and 'make mrproper'
- fix found issues until test passes
- move .gitignore changes to separate commit
[0]
http://patchwork.ozlabs.org/project/uboot/patch/20230614113954.51812-2-tobias.deimin...@linutronix.de/
Tobias Deiminger (6):
Am Do, 15. Jun 23 10:14 schrieb Simon Glass :
> If you like, it would be possible to create a test that all files are
> removed, by doing a build and then looking for stray files. See for
> example test_of_migrate.
Good idea, thanks for the pointer. I'll add a test and include it in v2 of the
patc
n-dirs entries for each single added or moved wrapper
file.
Fixes: 0649cd0d4908 ("Move environment files from common/ to env/")
Fixes: 19a91f2464a8 ("Create a new boot/ directory")
Signed-off-by: Tobias Deiminger
---
tools/Makefile | 64 ++---
fig
$ make CROSS_COMPILE=aarch64-linux-gnu- O=./build
$ make CROSS_COMPILE=aarch64-linux-gnu- O=./build clean
$ ls build/tools/boot/ build/tools/env/
build/tools/boot/:
bootm.c fdt_region.c image.c image-cipher.c image-fit.c image-fit-sig.c
image-host.c
build/tools/env/:
embedded.c
Tobias De
12 matches
Mail list logo