[Bug 24708] New: parallel dotest.py does not work properly in parallel mode with non-argument test dirs specified on the end

Bug ID 24708
Summary parallel dotest.py does not work properly in parallel mode with non-argument test dirs specified on the end
Product lldb
Version unspecified
Hardware PC
OS All
Status NEW
Severity normal
Priority P
Component All Bugs
Assignee lldb-dev@lists.llvm.org
Reporter todd.fiala@gmail.com
CC llvm-bugs@lists.llvm.org
Classification Unclassified

dotest.py {some args} [dir [dir [...]]
used to work fine.

dotest.py --no-multiprocess {as above}
continues to work fine.

dotest.py --test-subdir [one-dir] works fine.

But, dotest.py {some args} [dir [dir [...]]

where it now runs multiprocessing and we're using the non-option directories at
the end does not work fine.  Converting to one of the --test-subdir or
--no-multiprocessing forms is a workaround.

Fix this so that we skip using the multiprocessing test runner when the unnamed
directory args are specified.  (Or, make the parallel test runner use them but
not add the whole directory tree underneath them to match the correct
behavior).

Todd Fiala changed bug 24708