Skip to content
  1. Aug 18, 2010
  2. Aug 17, 2010
  3. Aug 14, 2010
  4. Aug 10, 2010
  5. Aug 09, 2010
  6. Aug 07, 2010
  7. Aug 06, 2010
  8. Jul 03, 2010
  9. Jul 02, 2010
  10. Jun 30, 2010
  11. Jun 29, 2010
  12. Jun 26, 2010
  13. Jun 25, 2010
    • Johnny Chen's avatar
      A simple testing framework for lldb using python's unit testing framework. · a765c28d
      Johnny Chen authored
      Tests for lldb are written as python scripts which take advantage of the script
      bridging provided by LLDB.framework to interact with lldb core.
      
      A specific naming pattern is followed by the .py script to be recognized as
      a module which implements a test scenario, namely, Test*.py.
      
      To specify the directories where "Test*.py" python test scripts are located,
      you need to pass in a list of directory names.  By default, the current
      working directory is searched if nothing is specified on the command line.
      
      An example:
      
      [14:10:20] johnny:/Volumes/data/lldb/svn/trunk/test $ ./dotest.py -v example
      test_choice (TestSequenceFunctions.TestSequenceFunctions) ... ok
      test_sample (TestSequenceFunctions.TestSequenceFunctions) ... ok
      test_shuffle (TestSequenceFunctions.TestSequenceFunctions) ... ok
      
      ----------------------------------------------------------------------
      Ran 3 tests in 0.000s
      
      OK
      
      llvm-svn: 106890
      a765c28d
Loading