Commit Graph

4 Commits

Author SHA1 Message Date
Johnny Chen b7e62d0857 Comment change.
llvm-svn: 137749
2011-08-16 20:57:05 +00:00
Johnny Chen 4d9d9689a0 Add comment on known restrictions of the current implementation.
llvm-svn: 137748
2011-08-16 20:56:10 +00:00
Johnny Chen 9fd6bbb77c The redo script did not take into account the compiler and architecture configuration of the failed tests.
llvm-svn: 137741
2011-08-16 20:02:59 +00:00
Johnny Chen 4a57d122fe Add a redo.py script which takes a session directory name as arg and digs into the directory
to find out the tests which failed/errored and need re-running.  The dotest.py test driver
script is modified to allow specifying multiple -f testclass.testmethod in the command line
to accommodate the redo functionality.

An example,

 $ ./redo.py -n 2011-07-29-11_50_14
adding filterspec: TargetAPITestCase.test_find_global_variables_with_dwarf
adding filterspec: DisasmAPITestCase.test_with_dsym
Running ./dotest.py -v  -f TargetAPITestCase.test_find_global_variables_with_dwarf -f DisasmAPITestCase.test_with_dsym

...

----------------------------------------------------------------------
Collected 2 tests

1: test_with_dsym (TestDisasmAPI.DisasmAPITestCase)
   Exercise getting SBAddress objects, disassembly, and SBAddress APIs. ... ok
2: test_find_global_variables_with_dwarf (TestTargetAPI.TargetAPITestCase)
   Exercise SBTarget.FindGlobalVariables() API. ... ok

----------------------------------------------------------------------
Ran 2 tests in 15.328s

OK

llvm-svn: 136533
2011-07-29 22:54:56 +00:00