selftests/nolibc: Avoid generated files being committed
Subsystems (2)
PATCH 1/1 selftests/nolibc: Avoid generated files being committed
After running the nolibc tests, the "git status" is not clean because the generated files are not ignored. Create a .gitignore inside the selftests/nolibc directory to ignore them.
Cc Ammar Faizi <[email protected]>
Cc Fernanda Ma'rouf <[email protected]>
Signed-off-by Fernanda Ma'rouf <[email protected]>
--- tools/testing/selftests/nolibc/.gitignore | 4 ++++ 1 file changed, 4 insertions(+) create mode 100644 tools/testing/selftests/nolibc/.gitignore
tools/testing/selftests/nolibc/.gitignore new file +4 -0
@@ -0,0 +1,4 @@ +/initramfs/ +/nolibc-test +/run.out +/sysroot/
base-commit: 1e93ece89dd1c6217b92ef6fc100df9ba202c30c
Signature · 1 line
Fernanda Ma'rouf
Willy Tarreau
maintainerHi Fernanda,
Quoted 3 lines · Fernanda Ma'rouf
After running the nolibc tests, the "git status" is not clean because the generated files are not ignored. Create a
.gitignoreinside the selftests/nolibc directory to ignore them.
Ah thank you, I didn't know that .gitignore was per-directory, I though it was only at the top. Yes that's a nice improvement, I'll forward it to Paul as it's reasonable and not too late I think.
Thanks,
Willy