t/Makefile: fix result handling with TEST_OUTPUT_DIRECTORY
commit54bb9015c817728371b48e908257fdf6a078eb60
authorJohn Keeping <john@keeping.me.uk>
Fri, 26 Apr 2013 18:55:52 +0000 (26 19:55 +0100)
committerJunio C Hamano <gitster@pobox.com>
Sat, 27 Apr 2013 20:41:31 +0000 (27 13:41 -0700)
treeb589daa16042d016230f16895dca99854a4ec140
parent4a9a4f0ec1daaccb88cdf507375ca64696dfe167
t/Makefile: fix result handling with TEST_OUTPUT_DIRECTORY

When TEST_OUTPUT_DIRECTORY is set, the test results will be generated in
"$TEST_OUTPUT_DIRECTORY/test-results", which may not be the same as
"test-results" in t/Makefile.  This causes the aggregate-results target
to fail as it finds no count files.

Fix this by introducing TEST_RESULTS_DIRECTORY and using it wherever
test-results is referenced.

Signed-off-by: John Keeping <john@keeping.me.uk>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
t/Makefile