t/Makefile: don't define TEST_RESULTS_DIRECTORY recursively
authorJohn Keeping <john@keeping.me.uk>
Mon, 6 May 2013 12:35:46 +0000 (13:35 +0100)
committerJunio C Hamano <gitster@pobox.com>
Mon, 6 May 2013 15:20:28 +0000 (08:20 -0700)
Commit 54bb901 (t/Makefile: fix result handling with
TEST_OUTPUT_DIRECTORY - 2013-04-26) incorrectly defined
TEST_RESULTS_DIRECTORY relative to itself, when it should be relative to
TEST_OUTPUT_DIRECTORY. Fix this.

Signed-off-by: John Keeping <john@keeping.me.uk>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
t/Makefile
index 11de5da765ef4c273a1385f2cc9c88e1bc636326..ebb73719cb791d96d29eed239c15d32dbdb2bd77 100644 (file)
@@ -16,7 +16,7 @@ DEFAULT_TEST_TARGET ?= test
 TEST_LINT ?= test-lint-duplicates test-lint-executable
 
 ifdef TEST_OUTPUT_DIRECTORY
-TEST_RESULTS_DIRECTORY = $(TEST_RESULTS_DIRECTORY)/test-results
+TEST_RESULTS_DIRECTORY = $(TEST_OUTPUT_DIRECTORY)/test-results
 else
 TEST_RESULTS_DIRECTORY = test-results
 endif