1. 07 Aug, 2013 2 commits
    • Thomas Thrainer's avatar
      Enable pylint and PEP8 for test support code · bd39b6bb
      Thomas Thrainer authored
      The test support code is mainly written from scratch, so in order to
      ensure to keep the code quality high, enable pylint and PEP8 checks
      for it.
      Due to some specialities of the test code, a dedicate pylintrc-test file
      is created which configures pylint for test code.
      Those differences include:
       - lowercase functions are allowed if the first word is test, assert or
       - lowercase methods are allowed if the first word(s) is test, assert,
         runTests, setUp or tearDown
       - R0201 (method could be a function) is disabled
      Signed-off-by: default avatarThomas Thrainer <thomasth@google.com>
      Reviewed-by: default avatarMichele Tartara <mtartara@google.com>
    • Thomas Thrainer's avatar
      Initial version of cmdlib test framework · 3efa7659
      Thomas Thrainer authored
      The initial version of the cmdlib test framework is able to execute LU's
      with the following components mocked:
       * Configuration
       * IAllocator interface
       * Lock manager
       * MCPU processor
       * RPC runner
      A base test class is provided which makes it easy to execute opcodes and
      to perform asserts on the output.
      Tests for the LUTestDelay logical unit demonstrate the functionality of
      the test framework.
      The framework is not yet fully complete, further work will be done as
      the tests are written.
      Signed-off-by: default avatarThomas Thrainer <thomasth@google.com>
      Reviewed-by: default avatarMichele Tartara <mtartara@google.com>
  2. 19 Aug, 2011 1 commit
  3. 24 Mar, 2011 1 commit
  4. 01 Nov, 2010 1 commit
  5. 27 Oct, 2010 1 commit
  6. 21 Apr, 2010 1 commit
  7. 28 Dec, 2009 1 commit
  8. 10 Oct, 2007 1 commit
    • Iustin Pop's avatar
      Remove the shebang from modules · 2f31098c
      Iustin Pop authored
      Since modules are not directly executables, remove the shebang from
      them. This helps with lintian warnings.
      Also make the autogenerated _autoconf.py contain two comment lines at
      the beginning, like the other modules.
      Reviewed-by: ultrotter
  9. 16 Jul, 2007 1 commit