Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
git2
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
lvzhengyang
git2
Commits
1b4ba844
Commit
1b4ba844
authored
Jan 11, 2019
by
Etienne Samson
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ci: enable some of the invasive testcases
parent
3c6d1979
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
25 additions
and
0 deletions
+25
-0
ci/test.ps1
+10
-0
ci/test.sh
+14
-0
tests/CMakeLists.txt
+1
-0
No files found.
ci/test.ps1
View file @
1b4ba844
...
@@ -51,6 +51,16 @@ Write-Host "####################################################################
...
@@ -51,6 +51,16 @@ Write-Host "####################################################################
run_test offline
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
)
{
if
(
-not
$Env
:SKIP_ONLINE_TESTS
)
{
Write-Host
""
Write-Host
""
Write-Host
"##############################################################################"
Write-Host
"##############################################################################"
...
...
ci/test.sh
View file @
1b4ba844
...
@@ -136,6 +136,20 @@ if [ -z "$SKIP_OFFLINE_TESTS" ]; then
...
@@ -136,6 +136,20 @@ if [ -z "$SKIP_OFFLINE_TESTS" ]; then
run_test offline
run_test offline
fi
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
if
[
-z
"
$SKIP_ONLINE_TESTS
"
]
;
then
# Run the various online tests. The "online" test suite only includes the
# Run the various online tests. The "online" test suite only includes the
# default online tests that do not require additional configuration. The
# default online tests that do not require additional configuration. The
...
...
tests/CMakeLists.txt
View file @
1b4ba844
...
@@ -55,6 +55,7 @@ IF (MSVC_IDE)
...
@@ -55,6 +55,7 @@ IF (MSVC_IDE)
ENDIF ()
ENDIF ()
ADD_TEST(offline "
${
libgit2_BINARY_DIR
}
/libgit2_clar
" -v -xonline)
ADD_TEST(offline "
${
libgit2_BINARY_DIR
}
/libgit2_clar
" -v -xonline)
ADD_TEST(invasive "
${
libgit2_BINARY_DIR
}
/libgit2_clar
" -v -score::ftruncate -sfilter::stream -sodb::largefiles -siterator::workdir -srepo::init)
ADD_TEST(online "
${
libgit2_BINARY_DIR
}
/libgit2_clar
" -v -sonline)
ADD_TEST(online "
${
libgit2_BINARY_DIR
}
/libgit2_clar
" -v -sonline)
ADD_TEST(gitdaemon "
${
libgit2_BINARY_DIR
}
/libgit2_clar
" -v -sonline::push)
ADD_TEST(gitdaemon "
${
libgit2_BINARY_DIR
}
/libgit2_clar
" -v -sonline::push)
ADD_TEST(ssh "
${
libgit2_BINARY_DIR
}
/libgit2_clar
" -v -sonline::push -sonline::clone::ssh_cert -sonline::clone::ssh_with_paths)
ADD_TEST(ssh "
${
libgit2_BINARY_DIR
}
/libgit2_clar
" -v -sonline::push -sonline::clone::ssh_cert -sonline::clone::ssh_with_paths)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment