t/Makefile: Create test-results dir for smoke target
authorÆvar Arnfjörð Bjarmason <avarab@gmail.com>
Sat, 14 Aug 2010 11:37:05 +0000 (11:37 +0000)
committerJunio C Hamano <gitster@pobox.com>
Wed, 18 Aug 2010 19:43:23 +0000 (12:43 -0700)
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>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
t/Makefile

index b81fb91b52af7cd127d243f6d96170cc757d7e5e..d9c67f5609bad30d8f5bde2bdf3e7d3fb217894d 100644 (file)
@@ -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)