Skip to content

Commit 948e22e

Browse files
chriscoolgitster
authored andcommitted
perf/run: add calls to get_var_from_env_or_config()
These calls make it possible to have the make command or the make options in a config file, instead of in environment variables. Signed-off-by: Christian Couder <chriscool@tuxfamily.org> Signed-off-by: Junio C Hamano <gitster@pobox.com>
1 parent 91c4339 commit 948e22e

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

t/perf/run

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -116,6 +116,9 @@ export GIT_PERF_REPEAT_COUNT
116116
get_var_from_env_or_config "GIT_PERF_DIRS_OR_REVS" "perf.dirsOrRevs"
117117
set -- $GIT_PERF_DIRS_OR_REVS "$@"
118118

119+
get_var_from_env_or_config "GIT_PERF_MAKE_COMMAND" "perf.makeCommand"
120+
get_var_from_env_or_config "GIT_PERF_MAKE_OPTS" "perf.makeOpts"
121+
119122
GIT_PERF_AGGREGATING_LATER=t
120123
export GIT_PERF_AGGREGATING_LATER
121124

0 commit comments

Comments
 (0)