Skip to contentSkip to conversation

Documentation: running test with --debug keeps "trash" directory

PATCH In review Piotr Krukowiecki 2 participants 3 messages Jun 15, 2016

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Documentation: running test with --debug keeps "trash" directory

---
 t/README |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

It wasn't documented and I didn't notice it at first and found it out only after I've started implementing --keep-trash option.

t/README +3 -0
index 78c9e65..5db567e 100644
@@ -79,6 +79,9 @@ appropriately before running "make".
 --debug::
 	This may help the person who is developing a new test.
 	It causes the command defined with test_debug to run.
+	The "trash" directory (used to store all temporary data
+	during testing) is not deleted even if there are no
+	failed tests.
 
 --immediate::
 	This causes the test to immediately exit upon the first
Signature · 4 lines
1.7.4.1.228.g9e388

-- 
Piotr Krukowiecki
#1 lore raw
Quoted 13 lines · Piotr Krukowiecki
---
 t/README |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

It wasn't documented and I didn't notice it at first and found it out only after I've started implementing --keep-trash option.

t/README +0 -0
index 78c9e65..5db567e 100644

t/README appropriately before running "make". · line 84

Quoted 6 lines
t/README +3 -0
@@ -79,6 +79,9 @@ appropriately before running "make".
 --debug::
 	This may help the person who is developing a new test.
 	It causes the command defined with test_debug to run.
+	The "trash" directory (used to store all temporary data
+	during testing) is not deleted even if there are no
+	failed tests.

missing is "...so that you can inspect its contents after the test finished." at the end.

Quoted 4 lines
t/README +0 -0
 --immediate::
 	This causes the test to immediately exit upon the first
Signature · 1 line
1.7.4.1.228.g9e388
#2 lore raw

W dniu 14.03.2011 22:32, Junio C Hamano pisze:

Quoted 10 lines
Quoted 8 lines · Piotr Krukowiecki
---
 t/README |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

It wasn't documented and I didn't notice it at first and found it out only after I've started implementing --keep-trash option.

Quoted 14 lines

t/README appropriately before running "make". · line 84

Quoted 11 lines
t/README +3 -0
index 78c9e65..5db567e 100644
@@ -79,6 +79,9 @@ appropriately before running "make".
 --debug::
 	This may help the person who is developing a new test.
 	It causes the command defined with test_debug to run.
+	The "trash" directory (used to store all temporary data
+	during testing) is not deleted even if there are no
+	failed tests.

missing is "...so that you can inspect its contents after the test finished." at the end.

If you think it's needed here's a patch.
I'm not sure - maybe it should be "after the test finishe_s_"? I'm not native English speaker though...

---8<---
From: Piotr Krukowiecki <[email protected]>
Date: Mon, 14 Mar 2011 18:50:47 +0100
Subject: [PATCH] Documentation: running test with --debug keeps "trash" directory

---
 t/README |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)
t/README +4 -0
index 78c9e65..165e7cf 100644
@@ -79,6 +79,10 @@ appropriately before running "make".
 --debug::
 	This may help the person who is developing a new test.
 	It causes the command defined with test_debug to run.
+	The "trash" directory (used to store all temporary data
+	during testing) is not deleted even if there are no
+	failed tests so that you can inspect its contents after
+	the test finished.
 
 --immediate::
 	This causes the test to immediately exit upon the first
Signature · 5 lines
1.7.4.1.228.g9e388


-- 
Piotr Krukowiecki