force= with_dash= test_long= M= install= doc= notest= bootstrap= branches= jobs=
scratch= noprove= memtrash=--memtrash with_cocci= with_leaks= with_sha256= san=
-clean= with_meson= breaking=
+clean= with_meson= breaking= test_vars=
while case "$1" in
--pedantic | --locale=* | --loose) M="$M $1" ;;
--sha256) with_sha256=t ;;
--no-sha256) with_sha256= ;;
--meson) with_meson=t ;;
+ --test-vars) test_vars=test_vars ;;
-j*) jobs=$1 ;;
--) shift; break ;;
-*) echo >&2 "Unknown option: $1"; exit 1 ;;
did_test=did_test
GIT_TEST_DEFAULT_HASH=sha256 Meta/Make $jobs $T test
fi &&
+ if test -n "$test_vars"
+ then
+ section "test vars"
+ did_test=did_test
+ (
+ export OPENSSL_SHA1_UNSAFE=YesPlease
+ export GIT_TEST_SPLIT_INDEX=yes
+ export GIT_TEST_FULL_IN_PACK_ARRAY=true
+ export GIT_TEST_OE_SIZE=10
+ export GIT_TEST_OE_DELTA_SIZE=5
+ export GIT_TEST_COMMIT_GRAPH=1
+ export GIT_TEST_COMMIT_GRAPH_CHANGED_PATHS=1
+ export GIT_TEST_MULTI_PACK_INDEX=1
+ export GIT_TEST_MULTI_PACK_INDEX_WRITE_INCREMENTAL=1
+ export GIT_TEST_DEFAULT_INITIAL_BRANCH_NAME=master
+ export GIT_TEST_NO_WRITE_REV_INDEX=1
+ export GIT_TEST_CHECKOUT_WORKERS=2
+ export GIT_TEST_PACK_USE_BITMAP_BOUNDARY_TRAVERSAL=1
+ Meta/Make >/dev/null distclean &&
+ Meta/Make $jobs $T test &&
+ Meta/Make >/dev/null distclean
+ )
+ fi &&
if test -n "$breaking"
then
section breaking