Revision ae59a4e44f359f74d0fede109c29bb53f726209b authored by Thomas Gummerer on 07 January 2018, 22:30:15 UTC, committed by Junio C Hamano on 19 January 2018, 18:36:40 UTC
Split index mode only has a few dedicated tests, but as the index is
involved in nearly every git operation, this doesn't quite cover all the
ways repositories with split index can break.  To use split index mode
throughout the test suite a GIT_TEST_SPLIT_INDEX environment variable
can be set, which makes git split the index at random and thus
excercises the functionality much more thoroughly.

As this is not turned on by default, it is not executed nearly as often
as the test suite is run, so occationally breakages slip through.  Try
to counteract that by running the test suite with GIT_TEST_SPLIT_INDEX
mode turned on on travis.

To avoid using too many cycles on travis only run split index mode in
the linux-gcc target only.  The Linux build was chosen over the Mac OS
builds because it tends to be much faster to complete.

The linux gcc build was chosen over the linux clang build because the
linux clang build is the fastest build, so it can serve as an early
indicator if something is broken and we want to avoid spending the extra
cycles of running the test suite twice for that.

Helped-by: Lars Schneider <larsxschneider@gmail.com>
Helped-by: Junio C Hamano <gitster@pobox.com>
Signed-off-by: Thomas Gummerer <t.gummerer@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
1 parent 4bddd98
History
File Mode Size
.gitignore -rw-r--r-- 7 bytes
README -rw-r--r-- 10.6 KB
TEAMS -rw-r--r-- 2.2 KB
bg.po -rw-r--r-- 620.6 KB
ca.po -rw-r--r-- 479.8 KB
de.po -rw-r--r-- 493.6 KB
es.po -rw-r--r-- 469.8 KB
fr.po -rw-r--r-- 514.1 KB
git.pot -rw-r--r-- 308.5 KB
is.po -rw-r--r-- 3.3 KB
it.po -rw-r--r-- 128.2 KB
ko.po -rw-r--r-- 501.1 KB
pt_PT.po -rw-r--r-- 482.9 KB
ru.po -rw-r--r-- 596.9 KB
sv.po -rw-r--r-- 498.4 KB
vi.po -rw-r--r-- 550.6 KB
zh_CN.po -rw-r--r-- 453.2 KB

README

back to top