summaryrefslogtreecommitdiff
path: root/src/git/commit.h
diff options
context:
space:
mode:
authorShawn O. Pearce <spearce@spearce.org>2008-11-03 18:38:12 -0800
committerShawn O. Pearce <spearce@spearce.org>2008-11-03 18:42:54 -0800
commitb81dd80e8cb77046b6196a1dec3f8f356307fcfb (patch)
tree894a57d31fdc8326a97814ad2403a45e7c8b6371 /src/git/commit.h
parentb923f2f97dc26e981c18da93b98bd5e7b44c3b79 (diff)
downloadlibgit2-b81dd80e8cb77046b6196a1dec3f8f356307fcfb.tar.gz
Change test_main to run a single test case out of the suite
By passing the name of the test function on the command line we execute exactly that one test, and then exit successfully if the test did not fail. This permits multiple functions in the same .c file, so they could be called from a shell script or debugged independently externally. Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
Diffstat (limited to 'src/git/commit.h')
0 files changed, 0 insertions, 0 deletions