mirror of
https://git.proxmox.com/git/libgit2
synced 2025-05-09 05:28:34 +00:00
![]() The new Win32 global path search was not working with the environment variable tests. But when I fixed the test, the new codes use of getenv() was causing more failures (presumably because of caching on Windows ???). This fixes the global file lookup to always go directly to the Win32 API in a predictable way. |
||
---|---|---|
.. | ||
attr | ||
buf | ||
checkout | ||
clone | ||
commit | ||
config | ||
core | ||
date | ||
diff | ||
index | ||
network | ||
notes | ||
object | ||
odb | ||
pack | ||
refs | ||
repo | ||
reset | ||
resources | ||
revwalk | ||
status | ||
submodule | ||
threads | ||
clar | ||
clar_helpers.c | ||
clar_libgit2.h | ||
README.md | ||
valgrind-supp-mac.txt |
Writing Clar tests for libgit2
For information on the Clar testing framework and a detailed introduction please visit:
https://github.com/tanoku/clar
-
Write your modules and tests. Use good, meaningful names.
-
Make sure you actually build the tests by setting:
cmake -DBUILD_CLAR=ON build/
-
Test:
./build/libgit2_clar
-
Make sure everything is fine.
-
Send your pull request. That's it.