libgit2/tests-clar
Russell Belfer 0d422ec9c2 Fix env variable tests with new Win32 path rules
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.
2012-10-19 15:40:43 -07:00
..
attr Support for core.ignorecase 2012-09-17 15:42:41 -04:00
buf Update test suite 2012-05-02 16:14:30 -07:00
checkout Add complex checkout test and then fix checkout 2012-10-09 11:59:34 -07:00
clone test: fix some memory leaks 2012-10-16 00:49:05 +02:00
commit Merge pull request #805 from nulltoken/fix/revwalk-email-parsing 2012-07-12 09:37:09 -07:00
config Fix config parser boundary logic 2012-08-12 07:59:30 -07:00
core Fix env variable tests with new Win32 path rules 2012-10-19 15:40:43 -07:00
date Omit failing test on 32-bit machines. 2012-06-06 12:39:29 -07:00
diff diff: workdir diffing in a bare repo returns EBAREREPO 2012-10-18 23:38:27 +02:00
index filemode: deploy enum usage 2012-08-21 23:15:10 +02:00
network test: fix some memory leaks 2012-10-15 20:41:43 +02:00
notes Update iterators for consistency across library 2012-08-03 17:08:01 -07:00
object Merge pull request #968 from arrbee/diff-support-typechange 2012-10-17 14:14:51 -07:00
odb revwalk: fix off-by-one error 2012-09-27 19:12:01 +02:00
pack gsoc-pack-objects WIP 2012-10-09 21:28:31 +02:00
refs refs: cover more refname validity edge cases 2012-10-18 23:59:22 +02:00
repo Add complex checkout test and then fix checkout 2012-10-09 11:59:34 -07:00
reset reset: prevent hard reset in a bare repository 2012-10-15 20:41:42 +02:00
resources Merge pull request #968 from arrbee/diff-support-typechange 2012-10-17 14:14:51 -07:00
revwalk revwalk: fix off-by-one error 2012-09-27 19:12:01 +02:00
status status: querying a bare repo returns EBAREREPO 2012-10-18 23:38:35 +02:00
submodule Add complex checkout test and then fix checkout 2012-10-09 11:59:34 -07:00
threads t13-threads.c ported. 2012-03-30 13:05:54 -07:00
clar Update clar and add reliable rename for Win32 2012-10-18 14:50:17 -04:00
clar_helpers.c Update clar and add reliable rename for Win32 2012-10-18 14:50:17 -04:00
clar_libgit2.h Update clar and add reliable rename for Win32 2012-10-18 14:50:17 -04:00
README.md Rename the Clay test suite to Clar 2012-01-24 20:35:15 -08:00
valgrind-supp-mac.txt Fix valgrind issues and leaks 2012-08-24 11:00:27 -07:00

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.