public inbox for [email protected]
 help / color / mirror / Atom feed
* [PATCH nolibc v1] selftests/nolibc: Avoid generated files being committed
@ 2022-07-19 10:50 Fernanda Ma'rouf
  0 siblings, 0 replies; 3+ messages in thread
From: Fernanda Ma'rouf @ 2022-07-19 10:50 UTC (permalink / raw)
  To: Ammar Faizi
  Cc: GNU/Weeb Mailing List, Fernanda Ma'rouf, Fernanda Ma'rouf

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

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
-- 
Fernanda Ma'rouf


^ permalink raw reply related	[flat|nested] 3+ messages in thread

* [PATCH nolibc v1] selftests/nolibc: Avoid generated files being committed
@ 2022-07-19 10:56 Fernanda Ma'rouf
  2022-07-20  3:30 ` Willy Tarreau
  0 siblings, 1 reply; 3+ messages in thread
From: Fernanda Ma'rouf @ 2022-07-19 10:56 UTC (permalink / raw)
  To: Ammar Faizi, Willy Tarreau
  Cc: Fernanda Ma'rouf, Linux Kernel Mailing List,
	GNU/Weeb Mailing List, Fernanda Ma'rouf

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

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
-- 
Fernanda Ma'rouf


^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH nolibc v1] selftests/nolibc: Avoid generated files being committed
  2022-07-19 10:56 Fernanda Ma'rouf
@ 2022-07-20  3:30 ` Willy Tarreau
  0 siblings, 0 replies; 3+ messages in thread
From: Willy Tarreau @ 2022-07-20  3:30 UTC (permalink / raw)
  To: Fernanda Ma'rouf
  Cc: Ammar Faizi, Linux Kernel Mailing List, GNU/Weeb Mailing List,
	Fernanda Ma'rouf

Hi Fernanda,

On Tue, Jul 19, 2022 at 05:56:25PM +0700, Fernanda Ma'rouf wrote:
> 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.

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2022-07-20  3:30 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-07-19 10:50 [PATCH nolibc v1] selftests/nolibc: Avoid generated files being committed Fernanda Ma'rouf
  -- strict thread matches above, loose matches on Subject: below --
2022-07-19 10:56 Fernanda Ma'rouf
2022-07-20  3:30 ` Willy Tarreau

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox