• Show log

    Commit

  • Hash : 14a9a4f3
    Author : Patrick Steinhardt
    Date : 2018-11-21T11:18:46

    tests: move apply_helpers functions into own compilation unit
    
    Currently, the "apply_helper" functions used for testing the apply logic are all
    statically defined in the "apply_helpers.h" header file. This may lead to
    warnings from the compiler in case where this header file is included, but not
    all functions it brings along are used in the compilation unit where it has been
    included into.
    
    Fix these potential warnings by moving the implementation into its own
    compilation unit "apply_helpers.c".
    

  • 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.