Skip to content

Instantly share code, notes, and snippets.

@r1walz
Last active May 31, 2019 12:59
Show Gist options
  • Save r1walz/2401ea486017cea71b83ead57311d48c to your computer and use it in GitHub Desktop.
Save r1walz/2401ea486017cea71b83ead57311d48c to your computer and use it in GitHub Desktop.
config.mak file for Building and Testing Git
O = 0
CFLAGS = -O$(O) -g $(EXTRA_CFLAGS) -Wall
DEVELOPER = 1
DEVOPTS = pedantic
THREADED_DELTA_SEARCH = 1
NO_SVN_TESTS = 1
TMP := /tmp/git-tests-$(shell git rev-parse --show-toplevel | sha1sum | head -c10)
GIT_TEST_OPTS = --root=$(TMP) -q --tee
GIT_PROVE_OPTS = --timer -j8 --state=failed,slow,save
DEFAULT_TEST_TARGET = prove
GIT_PERF_LARGE_REPO = /home/r1walz/opt/projects/c/linux/.git
GIT_PERF_REPEAT_COUNT = 3
GIT_PERF_MAKE_OPTS = -j8
cf. https://github.com/git-for-windows/git/blob/master/CONTRIBUTING.md
for perf tests: $ git clone https://github.com/torvalds/linux
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment