[Lldb-commits] [PATCH] D66908: [dotest] Remove the -# option

Jim Ingham via Phabricator via lldb-commits lldb-commits at lists.llvm.org
Wed Aug 28 16:03:08 PDT 2019

jingham requested changes to this revision.
jingham added a comment.
This revision now requires changes to proceed.

I use -# for running single tests multiple times.  This is useful particularly if you have a test that only fails sometimes, you can do:

  $ lldb-dotest -p testname.py -d -#400

then attach lldb to the Python instance set some breakpoints, if that's appropriate and continue.  Then when you get the bad path, you're sitting there in the debugger with the failure in front of you.  Very convenient.  I don't see a way to do this with the lit infrastructure at present.

It seems to me that this is independent of the project of making dotest not be a driver, since this has nothing to do with finding tests, or farming many tests out to multiple processes, it just says "I passed you the test to run but run it 400 times in series rather than one time."  So I don't think this is at cross purposes to that project.

Until there's another way to do this task that's as convenient, it would be nice not to remove this option.




More information about the lldb-commits mailing list