# [PATCH] t/Makefile: Create test-results dir for smoke target

1 messages from 2010-08-14 to 2010-08-14. Participants: Ævar Arnfjörð Bjarmason.
Thread: https://gitlist.dev/t/24739

## Ævar Arnfjörð Bjarmason, 2010-08-14 11:37

Subject: [PATCH] t/Makefile: Create test-results dir for smoke target
Message-ID: <1281785825-18255-1-git-send-email-avarab@gmail.com>
URL: https://gitlist.dev/e/1281785825-18255-1-git-send-email-avarab%40gmail.com

```
Change the smoke target to create a test-results directory. This was
done implicitly by the test-lib before my "test-lib: Don't write
test-results when HARNESS_ACTIVE" patch, but after that smoking from
the pu branch hasn't worked.

Signed-off-by: Ævar Arnfjörð Bjarmason <avarab@gmail.com>
---
 t/Makefile |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/t/Makefile b/t/Makefile
index b81fb91..d9c67f5 100644
--- a/t/Makefile
+++ b/t/Makefile
@@ -58,7 +58,7 @@ uname_M := $(shell sh -c 'uname -m 2>/dev/null || echo unknown')
 test-results:
 	mkdir -p test-results
 
-test-results/git-smoke.tar.gz:
+test-results/git-smoke.tar.gz: test-results
 	$(PERL_PATH) ./harness \
 		--archive="test-results/git-smoke.tar.gz" \
 		$(T)
-- 
1.7.2.1.338.ge1a5e

```
