tools: find executables in current directory when running benchmark

This commit is contained in:
Simon Michael 2009-12-12 02:11:58 +00:00
parent 0c4462a460
commit d5f8c90dd4

View File

@ -176,7 +176,7 @@ fullcabaltest: setversion
# run performance benchmarks and save results in profs/.
# Requires some commands defined in bench.tests and some BENCHEXES defined above.
benchmark: sampleledgers bench.tests tools/bench
tools/bench -fbench.tests $(BENCHEXES) | tee profs/$(TIME).bench
PATH=.:$(PATH) tools/bench -fbench.tests $(BENCHEXES) | tee profs/$(TIME).bench
@rm -f benchresults.*
@(cd profs; rm -f latest.bench; ln -s $(TIME).bench latest.bench)