When - after substitution - the dotest_args_str is empty, then we were still inserting the blank string into the args. Later on, a blank arg is taken to be a directory path and gets added to the CWD (which is generally in the build directory) and then none of the actual test directories match that, so we find no tests.
This patch fixes that by not adding blank arguments in lldb-dotest.
It could also be fixed by having the dotest implementation discard empty arguments, but I wasn't sure that was always correct, maybe you are somewhere in the test suite already and want to pass "" to dial up the current directory? So I went with fixing it where we were getting it wrong instead.