Some test want to use the time command (not the shell builtin) and test
for its availability at /usr/bin/time.
Provide a lazy prereq TIME_COMMAND which tests for /usr/bin/time and
/bin/time. If any is found, set TEST_COMMAND_PATH to the first match.
Signed-off-by: Michael J Gruber
From: Michael J Gruber [mailto:g...@drmicha.warpmail.net]
Sent: Tuesday, October 16, 2012 1:40 PM
To: git@vger.kernel.org
Cc: Joachim Schmitz; Junio C Hamano
Subject: [RFC/PATCH 3/4] test-lib: provide lazy TIME_COMMAND prereq
Some test want to use the time command (not the shell builtin
From: Michael J Gruber [mailto:g...@drmicha.warpmail.net]
Sent: Tuesday, October 16, 2012 5:07 PM
To: Joachim Schmitz
Cc: git@vger.kernel.org; 'Junio C Hamano'
Subject: Re: [RFC/PATCH 3/4] test-lib: provide lazy TIME_COMMAND prereq
Joachim Schmitz venit, vidit, dixit 16.10.2012 16:13
Michael J Gruber g...@drmicha.warpmail.net writes:
Some test want to use the time command (not the shell builtin) and test
for its availability at /usr/bin/time.
As we have t/perf these days, I suspect that we should aim to remove
these uses of /usr/bin/time in the main testsuite instead.
The
4 matches
Mail list logo