1. 30 Aug, 2011 1 commit
  2. 01 Jul, 2011 1 commit
  3. 28 Jun, 2011 1 commit
  4. 18 May, 2011 1 commit
  5. 03 Mar, 2011 1 commit
    • Cleanup the testing toolkit · 3dccfed1
      Tests are now declared with detailed descriptions and a short test name:
      
      	BEGIN_TEST(the_test0, "this is an example test that does something")
      		...
      	END_TEST
      
      Modules are declared through a simple macro interface:
      
      	BEGIN_MODULE(mod_name)
      		ADD_TEST(the_test0);
      		...
      	END_MODULE
      
      Error messages when tests fail have been greatly improved.
      
      Signed-off-by: Vicent Marti <tanoku@gmail.com>
      Vicent Marti committed
  6. 02 Feb, 2011 2 commits
  7. 06 Dec, 2010 1 commit
  8. 28 Feb, 2010 1 commit
  9. 20 Jan, 2010 1 commit
  10. 16 Jun, 2009 1 commit
    • Add noreturn declaration compatible with the MSVC compiler. · 73c4dd92
      MSVC provides a compiler declaration to declare that a function
      never returns. This declaration is required in front of the
      function definition rather than at the end, but fortunately gcc
      is compatible with this location as well.
      
      Explicit returns are no longer required after calls to test_die.
      
      Signed-off-by: Julio Espinoza-Sokal <julioes@gmail.com>
      Signed-off-by: Andreas Ericsson <ae@op5.se>
      Julio Espinoza-Sokal committed
  11. 04 Nov, 2008 2 commits
    • Add git_oid_cpy, git_oid_cmp as inline functions · b7c891c6
      These are easily built off the standard C library functions memcpy
      and memcmp.  By marking these inline we stand a good chance of
      the C compiler replacing the entire thing with tight machine code,
      because many compilers will actually inline a memcmp or memcpy when
      the 3rd argument (the size) is a constant value.
      
      Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
      Shawn O. Pearce committed
    • Move GIT_NORETURN into test_lib.h only · fbbfdf9f
      We should never have a noreturn style function in the library
      itself, as such a function would prevent the calling application
      from handling error conditions the way it wants.
      
      Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
      Shawn O. Pearce committed
  12. 02 Nov, 2008 1 commit