git/ci/run-build-and-tests.sh
Nguyễn Thái Ngọc Duy f6a5576d52 ci: exercise the whole test suite with uncommon code in pack-objects
Some recent optimizations have been added to pack-objects to reduce
memory usage and some code paths are split into two: one for common
use cases and one for rare ones. Make sure the rare cases are tested
with Travis since it requires manual test configuration that is
unlikely to be done by developers.

Signed-off-by: Nguyễn Thái Ngọc Duy <pclouds@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
2018-04-16 12:38:59 +09:00

23 lines
342 B
Bash
Executable file

#!/bin/sh
#
# Build and test Git
#
. ${0%/*}/lib-travisci.sh
ln -s "$cache_dir/.prove" t/.prove
make --jobs=2
make --quiet test
if test "$jobname" = "linux-gcc"
then
export GIT_TEST_SPLIT_INDEX=yes
export GIT_TEST_FULL_IN_PACK_ARRAY=true
export GIT_TEST_OE_SIZE=10
make --quiet test
fi
check_unignored_build_artifacts
save_good_tree