Code

perf: export some important test-lib variables
authorThomas Rast <trast@student.ethz.ch>
Thu, 8 Mar 2012 08:54:55 +0000 (09:54 +0100)
committerJunio C Hamano <gitster@pobox.com>
Thu, 8 Mar 2012 20:07:50 +0000 (12:07 -0800)
commit561ae0673569f43a92ea6b0776ae0f4c01472dca
tree2cd08b4294644ccc4aba74f2b1d4156ef39eeca9
parent1cbc32403b20f064ec7c295c6603f6fd16662bce
perf: export some important test-lib variables

The only bug right now is that $GIT_TEST_CMP is needed for test_cmp to
work.

However, we also export the three most important paths for tests:

  TEST_DIRECTORY
  TRASH_DIRECTORY
  GIT_BUILD_DIR

Since they are available within test_expect_success, a future test
writer may expect them to also be defined in test_perf.

Signed-off-by: Thomas Rast <trast@student.ethz.ch>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
t/perf/p0000-perf-lib-sanity.sh
t/perf/perf-lib.sh