title: How to exclude test paths from cppcheck analysis?
body: <p>I try to run a cppcheck analysis over my code, which has the following file structure:</p>
  
  <pre><code>/code/module_1/src/a.cpp
  /code/module_1/src/b.cpp
  /code/module_1/test/c.cpp
  /code/module_2/src/d.cpp
  /code/module_2/src/e.cpp
  /code/module_3/test/f.cpp
  </code></pre>
  
  <p>I'd like to run an analysis excluding all test code. Is this possible with a command like "cppcheck -itest"? It doesn't work for me, although I think it should, according to <a href="http://manpages.ubuntu.com/manpages/natty/man1/cppcheck.1.html" rel="nofollow">the docs</a>:</p>
  
  <blockquote>
    <p>...Directory name is matched to all parts of the path.</p>
  </blockquote>
  
  <p>I'm using version 1.69. I know I could mention all test directories separately (which does work, I checked), but the number of modules is too high to do this for many analyses reasonably.</p>
  
  <p>Is this possible?</p>