Skip to content
Snippets Groups Projects
  1. Sep 04, 2012
    • Iustin Pop's avatar
      Move generated htools test stubs to htest/ · 189b51fa
      Iustin Pop authored
      
      This moves the last (I think) htools-related bits out of test/ under
      htest/.
      
      Signed-off-by: default avatarIustin Pop <iustin@google.com>
      Reviewed-by: default avatarRené Nussbaumer <rn@google.com>
      189b51fa
    • Iustin Pop's avatar
      Move haskell test code to htest/ · f0f3a6df
      Iustin Pop authored
      
      This is the first commit of a series that will attempt to cleanup the
      test code organisation, which evolved somewhat organically from the
      initial pure htools functionality.
      
      The proposed organisation of the tree will be as follows:
      
      - htools (or maybe renamed to haskell or hs): only production code
      - htest: top-level test directory, containing test.hs, static helper
        scripts, etc.
      - htest/Ganeti/*.hs: modules implementing the actual test properties
        and test cases for the correspondingly-named production code modules
      - htest/data: containing test data files for the test cases
      
      This particular patch moves all the test code (test.hs, hpc-htools.hs
      symlink) and helper scripts (offline-test.sh, etc.) from htools/ to
      htest/, while updating the files themselves (if they had paths
      mentioning htools/), .gitignore and the Makefile.
      
      The only special mention is that in Makefile, we used to have a BINARY
      shell variable in binary build rule; that was computed via stripping
      `htools/' prefix; I've cleaned that and replaced with $(notdir $@);
      even though it's duplicated a few times, it leads to more readable
      make output (and easier to copy-paste).
      
      Signed-off-by: default avatarIustin Pop <iustin@google.com>
      Reviewed-by: default avatarAgata Murawska <agatamurawska@google.com>
      f0f3a6df
  2. May 04, 2012
  3. Apr 26, 2012
  4. Mar 19, 2012
  5. Mar 13, 2012
  6. Aug 30, 2011
  7. Mar 22, 2011
  8. Jan 18, 2011
  9. Nov 24, 2010
    • Iustin Pop's avatar
      Fix coverage reports · 577b170b
      Iustin Pop authored
      
      Currently, the coverage reports include the unittests themselves, and
      this skewes unfairly the reports, as the coverage for the tests is very
      high (since they all run).
      
      To fix this, we export the ganeti temp dir from run-in-temp-dir, and we
      use that to exclude the tests directory. The patch also fixes a but
      related to multiple directories to be omitted (--omit a --omit b is
      wrong, it needs to be --omit a,b).
      
      Signed-off-by: default avatarIustin Pop <iustin@google.com>
      Reviewed-by: default avatarMichael Hanselmann <hansmi@google.com>
      577b170b
  10. Mar 12, 2010
  11. Aug 25, 2009
Loading