diff options
author | Etienne Samson <samson.etienne@gmail.com> | 2019-01-11 11:53:54 +0100 |
---|---|---|
committer | Etienne Samson <samson.etienne@gmail.com> | 2019-01-11 11:53:54 +0100 |
commit | 1b4ba8443fe3029b7fbebce67d231cc4dd62be88 (patch) | |
tree | 6b73e98b3df9daa14296968ef3c3dec530f6834a /ci | |
parent | 3c6d1979546945ce3826a6c4e6a516e4a24e15ad (diff) | |
download | libgit2-1b4ba8443fe3029b7fbebce67d231cc4dd62be88.tar.gz |
ci: enable some of the invasive testcases
Diffstat (limited to 'ci')
-rw-r--r-- | ci/test.ps1 | 10 | ||||
-rwxr-xr-x | ci/test.sh | 14 |
2 files changed, 24 insertions, 0 deletions
diff --git a/ci/test.ps1 b/ci/test.ps1 index ed09633d9..107de6f5a 100644 --- a/ci/test.ps1 +++ b/ci/test.ps1 @@ -51,6 +51,16 @@ Write-Host "#################################################################### run_test offline +if (-not $Env:SKIP_INVASIVE_TESTS) { + Write-Host "" + Write-Host "##############################################################################" + Write-Host "## Running (invasive) tests" + Write-Host "##############################################################################" + + $Env:GITTEST_INVASIVE_FS_SIZE=1 + run_test invasive +} + if (-not $Env:SKIP_ONLINE_TESTS) { Write-Host "" Write-Host "##############################################################################" diff --git a/ci/test.sh b/ci/test.sh index f3bf19012..bc6c83ec4 100755 --- a/ci/test.sh +++ b/ci/test.sh @@ -136,6 +136,20 @@ if [ -z "$SKIP_OFFLINE_TESTS" ]; then run_test offline fi +if [ -z "$SKIP_INVASIVE_TESTS" ]; then + echo "" + echo "Running invasive tests" + echo "" + + export GITTEST_INVASIVE_FS_SIZE=1 + export GITTEST_INVASIVE_MEMORY=1 + export GITTEST_INVASIVE_SPEED=1 + run_test invasive + unset GITTEST_INVASIVE_FS_SIZE + unset GITTEST_INVASIVE_MEMORY + unset GITTEST_INVASIVE_SPEED +fi + if [ -z "$SKIP_ONLINE_TESTS" ]; then # Run the various online tests. The "online" test suite only includes the # default online tests that do not require additional configuration. The |