1. 31 Aug, 2011 30 commits
  2. 30 Aug, 2011 6 commits
    • Rusty Russell's avatar
      Makefile: speed fastcheck · 8a6147a9
      Rusty Russell authored
      Rather than timeout, explicitly disable tests_pass_valgrind and
      tests_compile_coverage.  This is important now we run under valgrind
      the first time we run the tests, thus would always time out and not
      run most of the tests at all!
      
      "make check" takes 7m57s, old "make fastcheck" takes 3m28s, and this takes
      only 1m57s, but much more is run (as shown by the larger score total).
      8a6147a9
    • Rusty Russell's avatar
      ccanlint: clean up reduced feature handling. · 939fab34
      Rusty Russell authored
      Putting the reduced config.h in the current directory means that it's
      actually being picked up by other tests, such as the string checks.
      So move it to a sub-directory where we need an explicit -I.
      
      We also fix the dependencies, so that "--target
      tests_pass_without_features" works.
      939fab34
    • Rusty Russell's avatar
      ccanlint: show each test as we execute it with -vv · 728d98e8
      Rusty Russell authored
      Tests can be slow to run, and this way we can monitor progress.
      728d98e8
    • Rusty Russell's avatar
      ccanlint: handle duplicate dependencies in _info · 4c5ed661
      Rusty Russell authored
      We eliminate dependencies as we recurse, but if a single _info file
      lists a dependency twice, we add it to the list twice and this skip
      over the middle ones.
      4c5ed661
    • Rusty Russell's avatar
      ccanlint: add coverage variant of files. · 8af0812b
      Rusty Russell authored
      Rather than a separate cov_compiled member, we can add to the
      compiled[] array, and we reduce duplication significantly.
      8af0812b
    • Rusty Russell's avatar
      ccanlint: keep separate array of compiled versions. · b931f476
      Rusty Russell authored
      Rather than mug the old ->compiled version when we reduce features,
      keep both in the structure.  This makes it clear that we are using the
      right version (we weren't in all cases, in particular we weren't
      recompiling the test helpers correctly.
      b931f476
  3. 29 Aug, 2011 4 commits