• Rusty Russell's avatar
    From: Joseph Adams <joeyadams3.14159@gmail.com> · f952b88b
    Rusty Russell authored
    The ccanlint patch is rather intrusive.  First, it adds a new field to
    all the ccanlint tests, "key".  key is a shorter, still unique
    description of the test (e.g. "valgrind").  The names I chose as keys
    for all the tests are somewhat arbitrary and often don't reflect the
    name of the .c source file (because some of those names are just too
    darn long).  Second, it adds two new options to ccanlint:
    
       -l: list tests ccanlint performs
       -x: exclude tests (e.g. -x trailing_whitespace,valgrind)
    
    It also adds a consistency check making sure all tests have unique
    keys and names.
    
    The primary goal of the ccanlint patch was so I could exclude the
    valgrind test, which takes a really long time for some modules (I
    think btree takes the longest, at around 2 minutes).  I'm not sure I
    did it 100% correctly, so you'll want to review it first.
    f952b88b
ccanlint.h 5.04 KB