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
83e1efbf
Commit
83e1efbf
authored
Nov 14, 2013
by
Ben Straub
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update files that reference tests-clar
parent
17820381
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
12 additions
and
12 deletions
+12
-12
.gitignore
+3
-3
CMakeLists.txt
+4
-4
examples/general.c
+1
-1
examples/test/test-rev-list.sh
+1
-1
include/git2/pack.h
+1
-1
tests/odb/foreach.c
+1
-1
tests/pack/packbuilder.c
+1
-1
No files found.
.gitignore
View file @
83e1efbf
/tests
-clar
/clar.suite
/tests
-clar
/clar.suite.rule
/tests
-clar
/.clarcache
/tests/clar.suite
/tests/clar.suite.rule
/tests/.clarcache
/apidocs
/trash-*.exe
/libgit2.pc
...
...
CMakeLists.txt
View file @
83e1efbf
...
...
@@ -97,7 +97,7 @@ ENDFUNCTION()
# explorer does. This is esp. useful with the libgit2_clar project, were
# usually 2 or more files share the same name. Sadly, this file grouping
# is a per-directory option in cmake and not per-target, resulting in
# empty virtual folders "tests
-clar
" for the git2.dll
# empty virtual folders "tests" for the git2.dll
FUNCTION
(
MSVC_SPLIT_SOURCES target
)
IF
(
MSVC_IDE
)
GET_TARGET_PROPERTY
(
sources
${
target
}
SOURCES
)
...
...
@@ -393,9 +393,9 @@ INSTALL(FILES include/git2.h DESTINATION ${INCLUDE_INSTALL_DIR} )
IF (BUILD_CLAR)
FIND_PACKAGE(PythonInterp REQUIRED)
SET(CLAR_FIXTURES "
${
CMAKE_CURRENT_SOURCE_DIR
}
/tests
-clar
/resources/
")
SET(CLAR_PATH "
${
CMAKE_CURRENT_SOURCE_DIR
}
/tests
-clar
")
SET(CLAR_RESOURCES "
${
CMAKE_CURRENT_SOURCE_DIR
}
/tests
-clar
/resources
" CACHE PATH "
Path to test resources.
")
SET(CLAR_FIXTURES "
${
CMAKE_CURRENT_SOURCE_DIR
}
/tests/resources/
")
SET(CLAR_PATH "
${
CMAKE_CURRENT_SOURCE_DIR
}
/tests
")
SET(CLAR_RESOURCES "
${
CMAKE_CURRENT_SOURCE_DIR
}
/tests/resources
" CACHE PATH "
Path to test resources.
")
ADD_DEFINITIONS(-DCLAR_FIXTURE_PATH=
\"
${
CLAR_FIXTURES
}
\"
)
ADD_DEFINITIONS(-DCLAR_RESOURCES=
\"
${
TEST_RESOURCES
}
\"
)
...
...
examples/general.c
View file @
83e1efbf
...
...
@@ -66,7 +66,7 @@ int main (int argc, char** argv)
// simplest. There are also [methods][me] for specifying the index file
// and work tree locations, here we assume they are in the normal places.
//
// (Try running this program against tests
-clar
/resources/testrepo.git.)
// (Try running this program against tests/resources/testrepo.git.)
//
// [me]: http://libgit2.github.com/libgit2/#HEAD/group/repository
int
error
;
...
...
examples/test/test-rev-list.sh
View file @
83e1efbf
...
...
@@ -4,7 +4,7 @@ THIS_FILE="$(readlink -f "$0")"
ROOT
=
"
$(
dirname
"
$(
dirname
"
$(
dirname
"
$THIS_FILE
"
)
"
)
"
)
"
PROGRAM
=
"
$ROOT
"
/examples/rev-list
LIBDIR
=
"
$ROOT
"
/build
REPO
=
"
$ROOT
"
/tests
-clar
/resources/testrepo.git
REPO
=
"
$ROOT
"
/tests/resources/testrepo.git
cd
"
$REPO
"
...
...
include/git2/pack.h
View file @
83e1efbf
...
...
@@ -38,7 +38,7 @@
* `git_packbuilder_set_threads` can be used to adjust the number of
* threads used for the process.
*
* See tests
-clar
/pack/packbuilder.c for an example.
* See tests/pack/packbuilder.c for an example.
*
* @ingroup Git
* @{
...
...
tests/odb/foreach.c
View file @
83e1efbf
...
...
@@ -27,7 +27,7 @@ static int foreach_cb(const git_oid *oid, void *data)
}
/*
* $ git --git-dir tests
-clar
/resources/testrepo.git count-objects --verbose
* $ git --git-dir tests/resources/testrepo.git count-objects --verbose
* count: 47
* size: 4
* in-pack: 1640
...
...
tests/pack/packbuilder.c
View file @
83e1efbf
...
...
@@ -106,7 +106,7 @@ void test_pack_packbuilder__create_pack(void)
* we create exactly the same pack as git.git does when *not*
* reusing existing deltas (as libgit2).
*
* $ cd tests
-clar
/resources/testrepo.git
* $ cd tests/resources/testrepo.git
* $ git rev-list --objects HEAD | \
* git pack-objects -q --no-reuse-delta --threads=1 pack
* $ sha1sum git-80e61eb315239ef3c53033e37fee43b744d57122.pack
...
...
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