• Show log

    Commit

  • Hash : e5278f70
    Author : Yoney
    Date : 2017-11-11T15:38:27

    clar: verify command line arguments before execute
    
    When executing `libgit2_clar -smerge -invalid_option`, it will first execute
    the merge test suite and afterwards output help because of the invalid option.
    
    With this changa, it verifies all options before execute. If there are any
    invalid options, it will output help and exit without actually executing
    the test suites.
    
    (cherry picked from commit 3275863134122892e2f8a8aa4ad0ce1c123a48ec)
    

  • README.md

  • Writing Clar tests for libgit2

    For information on the Clar testing framework and a detailed introduction please visit:

    https://github.com/vmg/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.