[PATCH nolibc v1] selftests/nolibc: Avoid generated files being committed

Willy Tarreau posted 1 patch 3 years, 9 months ago
tools/testing/selftests/nolibc/.gitignore | 4 ++++
1 file changed, 4 insertions(+)
create mode 100644 tools/testing/selftests/nolibc/.gitignore
[PATCH nolibc v1] selftests/nolibc: Avoid generated files being committed
Posted by Willy Tarreau 3 years, 9 months ago
From: "Fernanda Ma'rouf" <fernandafmr12@gnuweeb.org>

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 <ammarfaizi2@gnuweeb.org>
Cc: Fernanda Ma'rouf <fernandafmr2@gmail.com>
Signed-off-by: Fernanda Ma'rouf <fernandafmr12@gnuweeb.org>
Signed-off-by: Willy Tarreau <w@1wt.eu>
---

Paul,

Fernanda sent me this which I think is a desirable cleanup to the
series I sent you. If you're fine with adding it on top of what you
already have, that's great. Otherwise I can queue it here for next
time, but this should improve the user's experience.

Thanks,
Willy

--
 tools/testing/selftests/nolibc/.gitignore | 4 ++++
 1 file changed, 4 insertions(+)
 create mode 100644 tools/testing/selftests/nolibc/.gitignore

diff --git a/tools/testing/selftests/nolibc/.gitignore b/tools/testing/selftests/nolibc/.gitignore
new file mode 100644
index 000000000000..4696df589d68
--- /dev/null
+++ b/tools/testing/selftests/nolibc/.gitignore
@@ -0,0 +1,4 @@
+/initramfs/
+/nolibc-test
+/run.out
+/sysroot/

base-commit: 1e93ece89dd1c6217b92ef6fc100df9ba202c30c
Re: [PATCH nolibc v1] selftests/nolibc: Avoid generated files being committed
Posted by Paul E. McKenney 3 years, 9 months ago
On Wed, Jul 20, 2022 at 05:37:45AM +0200, Willy Tarreau wrote:
> From: "Fernanda Ma'rouf" <fernandafmr12@gnuweeb.org>
> 
> 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 <ammarfaizi2@gnuweeb.org>
> Cc: Fernanda Ma'rouf <fernandafmr2@gmail.com>
> Signed-off-by: Fernanda Ma'rouf <fernandafmr12@gnuweeb.org>
> Signed-off-by: Willy Tarreau <w@1wt.eu>
> ---
> 
> Paul,
> 
> Fernanda sent me this which I think is a desirable cleanup to the
> series I sent you. If you're fine with adding it on top of what you
> already have, that's great. Otherwise I can queue it here for next
> time, but this should improve the user's experience.

I queued it on top of the others.  ;-)

							Thanx, Paul

> Thanks,
> Willy
> 
> --
>  tools/testing/selftests/nolibc/.gitignore | 4 ++++
>  1 file changed, 4 insertions(+)
>  create mode 100644 tools/testing/selftests/nolibc/.gitignore
> 
> diff --git a/tools/testing/selftests/nolibc/.gitignore b/tools/testing/selftests/nolibc/.gitignore
> new file mode 100644
> index 000000000000..4696df589d68
> --- /dev/null
> +++ b/tools/testing/selftests/nolibc/.gitignore
> @@ -0,0 +1,4 @@
> +/initramfs/
> +/nolibc-test
> +/run.out
> +/sysroot/
> 
> base-commit: 1e93ece89dd1c6217b92ef6fc100df9ba202c30c
Re: [PATCH nolibc v1] selftests/nolibc: Avoid generated files being committed
Posted by Willy Tarreau 3 years, 9 months ago
On Tue, Jul 19, 2022 at 08:59:40PM -0700, Paul E. McKenney wrote:
> On Wed, Jul 20, 2022 at 05:37:45AM +0200, Willy Tarreau wrote:
> > From: "Fernanda Ma'rouf" <fernandafmr12@gnuweeb.org>
> > 
> > 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 <ammarfaizi2@gnuweeb.org>
> > Cc: Fernanda Ma'rouf <fernandafmr2@gmail.com>
> > Signed-off-by: Fernanda Ma'rouf <fernandafmr12@gnuweeb.org>
> > Signed-off-by: Willy Tarreau <w@1wt.eu>
> > ---
> > 
> > Paul,
> > 
> > Fernanda sent me this which I think is a desirable cleanup to the
> > series I sent you. If you're fine with adding it on top of what you
> > already have, that's great. Otherwise I can queue it here for next
> > time, but this should improve the user's experience.
> 
> I queued it on top of the others.  ;-)

Thank you!
Willy